Thursday, March 26, 2009

Apache2 Tomcat5 Conf on Fedora

1. Install and start apache2
  • sudo yum install httpd
  • sun yum upgrade httpd
  • Find the service name that is installed for apache to start it
sudo /sbin/chkconfig --list | grep httpd
sudo service httpd start
2. Install and start tomcat5
  • sudo yum install tomcat5
  • sudo yum upgrade tomcat5
  • sudo /sbin/chkconfig --list | grep tomcat
  • sudo service tomcat5 start
3. Note : to automatically start httpd and tomcat5 on reboot, add following lines
sudo/sbin chkconfig httpd on
sudo/sbin chkconfig tomcat5 on
4.

No comments:

Post a Comment