[CentOS] install latest gcc/g++ dev tools on centos

2015-02-22 Thread Adekoya Adekunle
Guys,

How can I install the latest version of gcc/g++ development tools on my
centos ?

I have version 4.1.* on the machine.

Can I do above from yum ?

I would be glad to read your responses to my questions

Br

Kunle
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Cents OS from Bash Shell

2013-04-25 Thread Adekoya Adekunle
I want to know the right command to type from a bash shell so that i can
   1) Check the version of my cent os
   2)  Check all the open ports (tcp and udp) on my machine
   3)  Open a specific port say port 3306 so that a  telnet request from a
remote machiene can be accepted
  4)  Disable the effect of 3 above in case I want to

Thanks in anticiaption of your kind responses to the questions above.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] crontab and gedit

2013-01-23 Thread Adekoya Adekunle
i tried this(gedit /etc/crontab). it loads a  file. the content of this
file is different from what i have in crontab -e.  why the difference ?



On Wed, Jan 23, 2013 at 12:31 PM, Reindl Harald h.rei...@thelounge.netwrote:



 Am 23.01.2013 12:23, schrieb Adekoya Adekunle:
  hi,
 
  How can I open crontab with gedit any any other editor ?
  i want to edit my cron jobs with other editors beside vi

 su -
 gedit /etc/crontab


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] crontab and gedit

2013-01-23 Thread Adekoya Adekunle
i noticed something now.  i setup a cron job with  crontab -e  on a local
machine and things work fine.  i logged into a remote machine with SSH and
also setup the same job with crontab -e and things dont work

what could be the cause ?  could the reason be related to the difference
between crontab -e and /etc/crontab ?

i would love to read on this

On Wed, Jan 23, 2013 at 12:48 PM, Johnny Hughes joh...@centos.org wrote:

 On 01/23/2013 05:41 AM, Adekoya Adekunle wrote:
  i tried this(gedit /etc/crontab). it loads a  file. the content of this
  file is different from what i have in crontab -e.  why the difference ?
 
 
 
  On Wed, Jan 23, 2013 at 12:31 PM, Reindl Harald h.rei...@thelounge.net
 wrote:
 
 
  Am 23.01.2013 12:23, schrieb Adekoya Adekunle:
  hi,
 
  How can I open crontab with gedit any any other editor ?
  i want to edit my cron jobs with other editors beside vi
  su -
  gedit /etc/crontab

 crontab -e is the crontab for the specific user in question (who you are
 logged as) ... while /etc/crontab is the system crontab.




 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] cronjob not running

2013-01-22 Thread Adekoya Adekunle
i did this  from the console
   crontab -e

then i inserted this in my vi editor
   10 * * * *  curl http://mysite.com/test.php

then i exited vi


then i did crontab -l
  and the cron job was listed

then i did

 /sbin/service crond start

and i waited for 10 mins to get a message echo to my console. the  message
is displayed in my browser when the php script(http://mysite.com/test.php)
is loaded via my browser.  The message is also shown on my console when d
curl command is run direct from the console.

the problem is getting the message from the cronjob.

what could be wrong ?  could it be that the job is not well setup ?


note , i logged in as root user.


please help


regards

kunle
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] A printable PDF that documents centos 6.3

2012-10-08 Thread adekoya adekunle
Hi,

Any link where I can download a printable pdf that documents centos 6.3 ?

Thanks

Kunle
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] PHPMYADMIN on Centos 6.3

2012-10-05 Thread adekoya adekunle
Hi guys,

Pls I need good and working instructions on how to install phpmyadmin on
centos 6.3 ?

I would appreciate your kind and timely response on this.


regards

kunle
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Apache : Listen on ports other than 80

2012-10-01 Thread adekoya adekunle
Thanks guys, This now work fine. I found your help extremely useful.
 This URL - (

http://docs.fedoraproject.org/en-US/Fedora/13/html/Managing_Confined_Services/sect-Managing_Confined_Services-Configuration_examples-Changing_port_numbers.html)

 further shed more light on SELinUX .

Thanks





On Sun, Sep 30, 2012 at 11:01 PM, Kahlil Hodgson 
kahlil.hodg...@dealmax.com.au wrote:

 On 29/09/12 06:47, adekunleadek...@gmail.com wrote:

 I v run d netstat and no result(i.e no process is listening on port
 1010). Also I telnet 127.0.0.1 1010 just 2 confirm that no process is
 using the port. I can't figure out why the port(and any other except
 80) would not work!


 Sounds like an selinux issue.  Try the following:

   semanage port -a -t http_port_t -p tcp 1010

 K
 --
 Kahlil (Kal) Hodgson   GPG: C9A02289
 Head of Technology (m) +61 (0) 4 2573 0382
 DealMax Pty Ltd(w) +61 (0) 3 9008 5281

 Suite 1415
 401 Docklands Drive
 Docklands VIC 3008 Australia

 All parts should go together without forcing.  You must remember that
 the parts you are reassembling were disassembled by you.  Therefore,
 if you can't get them together again, there must be a reason.  By all
 means, do not use a hammer.  -- IBM maintenance manual, 1925


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos