Starting Apache from boot?

Discussion in 'Mac Apps and Mac App Store' started by howesey, Dec 4, 2005.

  1. howesey macrumors 6502a

    Joined:
    Dec 3, 2005
    #1
    How can you get Apache to load at boot (even without login would be useful)?

    I have to manually start it through 'System Prefs -> Sharing' after login.

    I have also installed MySQL, where does it live on the computer? I cannot find it anywhere.
     
  2. belvdr macrumors 601

    Joined:
    Aug 15, 2005
    #2
    If you checked Personal Web Sharing in Sys Prefs, Apache should start automatically, even without login.

    You can setup MySQL to autostart by editing /etc/hostconfig and placing this inside, if it doesn't exist:

    Code:
    MYSQLCOM=-YES-
    If it does exist and says NO, then change it to YES. You'll need to use sudo to edit /etc/hostconfig.

    Also, MySQL lives under /usr/local/mysql.
     
  3. howesey thread starter macrumors 6502a

    Joined:
    Dec 3, 2005
    #3
    How do I view '/etc ' directories?

    Finder has hidden them.


    Personal Web Sharing on every login disables.
     
  4. mkrishnan Moderator emeritus

    mkrishnan

    Joined:
    Jan 9, 2004
    Location:
    Grand Rapids, MI, USA
    #4
    Strange... I don't think it should. :( Mine seems to be persistent. Do you have anything in any of the sites folders?

    And you can view the folder /etc with terminal. :)

    ls -la /private/etc
     
  5. howesey thread starter macrumors 6502a

    Joined:
    Dec 3, 2005
    #5
    File Buddy shows /etc, /usr etc. It has un-hidden them in Finder also.

    http://howesey.serveftp.net/

    What I have in /Library/WebServer/Documents/
     
  6. hopejr macrumors 6502

    Joined:
    Nov 10, 2005
    Location:
    New South Wales, Australia
    #6
    you can get to /etc in Finder by going to Go -> Go to folder... and typing in /etc
     

Share This Page