Re: Intro to services

From: Scot L. Harris (webid_at_cfl.rr.com)
Date: 10/27/04

  • Next message: akonstam_at_trinity.edu: "Re: CD"
    To: Fedora List <fedora-list@redhat.com>
    Date: Wed, 27 Oct 2004 10:43:11 -0400
    
    

    On Wed, 2004-10-27 at 10:23, Bill Matthews wrote:
    > Hello. New linux user here. Downloaded/installed Fedora FC2. No
    > problems, I was amazed!
    >
    > I have a lot of Windows experience, and some Solaris.
    >
    > I installed the server version of Fedora. I setup and have working
    > sendmail, vsftpd, httpd, etc.
    >
    > But I noticed they dont start at boot. I start them manually. From
    > my solaris days I know I can start them with /etc/rc3.d/Swhatever
    > start. I've also learned from this mailing list that I can start them
    > with the command 'service whatever start'.
    >
    > But how do I get them to load at boot? In Solaris, the existance of
    > the S script in /etc/rc3.d was enough. But that doesnt seem to do it
    > here?
    >
    > thx,
    > BM

    Actually the S scripts are used the same way. You can use chkconfig to
    easily setup the startup scripts.

    chkconfig sendmail on
    chkconfig httpd on

    Assuming here you are using the RPM versions of both which include the
    /etc/init.d startup files. These startup files include information at
    the beginning that specifies which run levels the packages should run in
    as well as the sequence number used in the S script.

    Check the man page for chkconfig for additional options.

    You can also use the system-config-services GUI to control which
    services are started automatically including those that are controlled
    with xinetd.

    -- 
    Scot L. Harris
    webid@cfl.rr.com
    Life is a sexually transmitted disease with 100% mortality. 
    -- 
    fedora-list mailing list
    fedora-list@redhat.com
    To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
    

  • Next message: akonstam_at_trinity.edu: "Re: CD"

    Relevant Pages

    • Re: Gem post-install script or files outside the gem hierarchy
      ... write config files to /etc and startup files to /etc/init.d and then run ... chkconfig to create the proper symlinks. ... Core-generic/initsrcinstrm.html for the right way to install init scripts. ... the software that requires config files and startup scripts ...
      (comp.lang.ruby)
    • Re: Upgrading to F16 Beta
      ... Linux needs more BUILT-IN scripts in distros to solve common problems, ... yes I missed the part about Fedora ... From the trivial "how to identify your sound card" to "how to install ... I found a user asking on how to reset gnome panels. ...
      (Fedora)
    • Re: Upgrading to F16 Beta
      ... Considering that Rahul is a tireless ambassador for Fedora and puts up ... "I strongly think that people in charge of a FOSS project saying that ... there is not a need for ready-made scripts that solve common problems ... Comments like Rahul ...
      (Fedora)
    • Re: gdm does not execute PreSession PostSession scripts
      ... PostSession/Default scripts that I've been using for years in Fedora ... There have been many changes in Fedora's gdm this time, ... executes commands from the file /etc/profile, ...
      (Fedora)
    • Re: Distributing a Fedora appliance
      ... Virtualbox provides a menu option titled "Export VM Appliance". ... There are no scripts. ... Downloaded the Fedora 14, iso. ... To unsubscribe or change subscription options: ...
      (Fedora)