Fedora Linux Support Community & Resources Center
  #1  
Old 23rd May 2006, 03:24 AM
linoob Offline
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?
Reply With Quote
  #2  
Old 23rd May 2006, 03:29 AM
scotta3234's Avatar
scotta3234 Offline
Registered User
 
Join Date: Sep 2005
Location: Fairfax, VA
Posts: 1,280
Read some of the information here to setting up your server: http://forums.fedoraforum.org/showthread.php?p=448977
Reply With Quote
  #3  
Old 23rd May 2006, 04:00 AM
linoob Offline
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?
Reply With Quote
  #4  
Old 23rd May 2006, 04:05 AM
scotta3234's Avatar
scotta3234 Offline
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
Reply With Quote
  #5  
Old 23rd May 2006, 07:02 PM
linoob Offline
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
Reply With Quote
  #6  
Old 23rd May 2006, 07:04 PM
ilja Offline
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
Reply With Quote
  #7  
Old 23rd May 2006, 07:08 PM
sentry Offline
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.
Reply With Quote
  #8  
Old 23rd May 2006, 07:15 PM
pparks1's Avatar
pparks1 Offline
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..
Reply With Quote
Reply

Tags
service, start

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
dansguardian - no service to start Andrew James Using Fedora 4 31st December 2008 06:45 AM
Can't start nmb service in F9 OralDeckard Servers & Networking 2 27th May 2008 05:19 PM
chkconfig wokrs but service start says unknow service gkk Servers & Networking 4 10th December 2007 02:45 AM
Start service as user irri Using Fedora 15 19th June 2007 02:16 PM
Please cant start httpd service warrior Servers & Networking 5 10th October 2006 02:45 AM


Current GMT-time: 20:01 (Saturday, 25-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat