View Full Version : Installed FC5 with Server bit ticked, how do I use Apache and is MySQL installed?
JMitchell
5th September 2006, 12:13 PM
I've found where to start Apache from but when I type:
/etc/init.d/httpd
followed by start or stop it fails. status reports httpd is stopped.
How do I change the configuration?
Also, is MySQL installed, if so, where and how do I use that?
Sorry for the noob questions! Thanks in advance.
ccrvic
5th September 2006, 12:18 PM
I've found where to start Apache from
chkconfig?
but when I type:
/etc/init.d/httpd
followed by start or stop it fails.
It fails *with an error message*. That'll tell you how to fix the problem.
How do I change the configuration?
By default, the config file is at /etc/httpd/conf/httpd.conf . There are extra config files in /etc/httpd/conf.d/ .
Also, is MySQL installed
No idea. Did you install it?
if so, where and how do I use that?
Start it with service mysqld start
You can use the mysql command-line client, you can use the Webmin mysql module, you can use phpMyAdmin, ...
Vic.
jhetrick62
5th September 2006, 12:48 PM
I would start here and follow to insure that you have these set up properly. It includes phpmyadmin which is good to administer your mysql.
http://stanton-finley.net/fedora_core_5_installation_notes.html#Web
Jeff
JMitchell
5th September 2006, 01:33 PM
Thanks, problem solved now.
/etc/init.d/httpd start / stop just failed - the only message I got was [FAILED]
This was whether I was root or not. configtest just returned Syntax OK
I'm following the stanton-finley thing now (thanks jhetrick62) - it appears MySQL wasn't installed as standard. Also, it appears to be the firewall incorrectly setup that was the problem.
vBulletin® v3.8.7, Copyright ©2000-2013, vBulletin Solutions, Inc.