 |
 |
 |
 |
| Servers & Networking Discuss any Fedora server problems and Networking issues such as dhcp, IP numbers, wlan, modems, etc. |

23rd May 2006, 03:24 AM
|
|
Registered User
|
|
Join Date: May 2006
Posts: 3

|
|
|
how to start service
Hi! I am a complete linux noob, I installed fedora 5 on a computer because I wanted to run my own weblog, the problem is the apache webserver and mysql and php is not running atm, I want to have them start as a service, can anyone please tell me how to fix that?
|

23rd May 2006, 04:00 AM
|
|
Registered User
|
|
Join Date: May 2006
Posts: 3

|
|
|
hum, this is to much work! and beyond my knowledge to mess with these codes,,, I have allready installed apache php and mysql during the fedora install, I was told fedora had them all configure up right out of the box, so why dont they start?
|

23rd May 2006, 04:05 AM
|
 |
Registered User
|
|
Join Date: Sep 2005
Location: Fairfax, VA
Posts: 1,280

|
|
|
Well every server is going to at least require SOME degree of configuration. You can check your sevices at: System/Administration/Server Settings/Services
|

23rd May 2006, 07:02 PM
|
|
Registered User
|
|
Join Date: May 2006
Posts: 3

|
|
isn't there any gui I can pop up to configure this? otherwice I must look after another distro
|

23rd May 2006, 07:04 PM
|
|
Registered User
|
|
Join Date: Apr 2004
Location: Euregio
Posts: 3,613

|
|
Quote:
|
Originally Posted by linoob
isn't there any gui I can pop up to configure this? otherwice I must look after another distro 
|
This distribution has a very nice GUI
|

23rd May 2006, 07:08 PM
|
|
Registered User
|
|
Join Date: Jul 2005
Posts: 591

|
|
chkconfig mysqld --level 35 on
chkconfig httpd --level 35 on
The gui is under "System->Administration->Server Settings->Services"
Good luck running your own web blog without "messing with codes"
Last edited by sentry; 23rd May 2006 at 07:11 PM.
|

23rd May 2006, 07:15 PM
|
 |
Registered User
|
|
Join Date: Mar 2004
Location: Westland, Michigan
Age: 38
Posts: 2,317

|
|
Code:
chkconfig mysqld --level 35 on
chkconfig httpd --level 35 on
Those commands will set the system so that when you reboot, by default mysql and apache will be running.
To start them immediately you can issue:
Code:
service mysqld on
service httpd on
Also, to be able to hit a website you are going to have to modify /etc/sysconfig/iptables and add the following line;
-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 80 -j ACCEPT
Then you have to reissue a restart of iptables with
Code:
service iptables restart
__________________
RHCE and MCSE systems administrator
Registered Linux User #375155 For More Info or to register yourself
My Linux box is:
Ubuntu 8.04, Antec Sonata II case with 450-watt PS, AMD 64 X2 4600+ (65 watt), 4GB DDR2 800 RAM, 18X Lite-On DVD burner, Asus M2NPV-VM, Nvidia GeForce 7600GT (256MB), 320GB Western Digital SATA 3.0Gbps, Logitech MX-310, Dell 18" ultrasharp LCD, Microsoft Natural Ergonomic Keyboard 4000 and 2.1 Boston Acoustics sound system..
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Current GMT-time: 20:01 (Saturday, 25-05-2013)
|
|
 |
 |
 |
 |
|
|