LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices


Old

Auto start a service at boot up.

Posted 07-06-2011 at 10:32 PM by brave heart

List all service name started at boot time
Code:
chkconfig --list
Turn on linux service at boot time
Code:
chkconfig httpd on
Turn off linux service at boot time
Code:
chkconfig httpd off
or
Code:
chkconfig --add snmpd
Code:
chkconfig --level 345 snmpd on
Member
Posted in Uncategorized
Views 1069 Comments 0 brave heart is offline
Old

Modify iptables to access apache on virtual centos5.6.

Posted 07-05-2011 at 03:53 AM by brave heart
Updated 07-29-2011 at 01:42 AM by brave heart

On a virtual box(IP: 192.168.195.130), I can access http://192.168.195.130/, but from any other computer, I can't.

After add following to /etc/sysconfig/iptables as below:
Code:
-I RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 80 -j ACCEPT
And restart iptables, I can access the virtual apache successfully.

For fedora14, modify iptables as below:
Code:
-I INPUT -m state --state NEW -m tcp -p tcp --dport 80 -j ACCEPT
...
Member
Posted in Uncategorized
Views 1172 Comments 0 brave heart is offline
Old

The easy way to install bugzilla on Centos5.6.

Posted 07-04-2011 at 10:19 PM by brave heart
Updated 07-04-2011 at 10:21 PM by brave heart

1 Install Centos5.6 (which included apache & perl in default)
2 Update EPEL list
Install following file
http://download.fedoraproject.org/pu...5-4.noarch.rpm
Code:
rpm -Uvh epel-release-5-4.noarch.rpm
3 Install mysql and related
Code:
yum install mysql mysql-server mysql-devel
4 Setup mysql
Code:
mysql> GRANT SELECT, INSERT, UPDATE, DELETE, INDEX, ALTER, CREATE, LOCK TABLES, CREATE TEMPORARY TABLES, DROP, REFERENCES
...
Member
Posted in Uncategorized
Views 1067 Comments 0 brave heart is offline

  



All times are GMT -5. The time now is 01:41 AM.

Main Menu
Advertisement
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration