Results 1 to 4 of 4

Thread: How do I start Apache please?

  1. #1
    Junior Member
    Join Date
    Feb 2007
    Posts
    1

    How do I start Apache please?

    I'm running Knoppix 5.1 as a LiveCD.

    I tried service hhtpd start to start Apache, without success.

    Can someone help me please in starting Apache?

  2. #2
    Senior Member registered user
    Join Date
    Dec 2003
    Location
    Sunnyvale,CA,USA
    Posts
    118
    do su in a console
    and then
    /etc/init.d/apache start

  3. #3
    Junior Member registered user
    Join Date
    Apr 2006
    Location
    victoria
    Posts
    14

    starting apache in Knoppix 5.1

    Go to a Console and type the following command:

    /etc/init.d/apache2 start

    Don't omit the 2 after apache, it is easy to do !

    to stop, change the start to stop
    to get the status of apache, change start to status
    to reread the config files, change start to reload
    to stop and then restart the server, change start to restart

    I believe just giving the command apache2 -V at the console will provide info on
    config files and the version of apache

  4. #4
    Member registered user
    Join Date
    Mar 2005
    Posts
    77
    If the above does not work then try this:
    sudo vi /etc/apache2/apache2.conf
    and add ServerName localhost at the end of the file.
    Press 'i' and a big insert shows up at the bottom command line
    now add
    ServerName localhost
    to the end using the arrows.
    press the following keys
    Esc > colon > x > Enter
    this will write and save and exit vi.
    now type in su root
    apache2 -k start

    hth
    (check out apache2 -h for info)

Similar Threads

  1. How to start Apache and my sql?
    By morbidpalooza in forum Networking
    Replies: 0
    Last Post: 01-11-2006, 06:54 PM
  2. Start Apache and Mysqld at Bootup
    By delamatrix in forum Hdd Install / Debian / Apt
    Replies: 3
    Last Post: 01-04-2005, 08:27 AM
  3. How to make apache 1.3 automatically start at boot?
    By Zero_1984 in forum Hdd Install / Debian / Apt
    Replies: 6
    Last Post: 09-28-2004, 04:57 AM
  4. Replies: 2
    Last Post: 08-10-2004, 10:02 PM
  5. Where to start: Apache, MySql, & PHP
    By mabhatter in forum General Support
    Replies: 2
    Last Post: 03-14-2003, 12:27 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Intel Core i7-3770K 3.5 GHz Processor picture

Intel Core i7-3770K 3.5 GHz Processor

$39.00



Intel Core i7-8700 3.2 GHz 8 GT/s LGA 1151 Desktop CPU Processor SR3QS picture

Intel Core i7-8700 3.2 GHz 8 GT/s LGA 1151 Desktop CPU Processor SR3QS

$67.99



INTEL CORE I9-10940X X-SERIES PROCESSOR | 3.30GHZ | SRGSH picture

INTEL CORE I9-10940X X-SERIES PROCESSOR | 3.30GHZ | SRGSH

$179.99



Intel Core i5-4590T 2 GHz 5 GT/s LGA 1150 Desktop CPU Processor SR1S6 picture

Intel Core i5-4590T 2 GHz 5 GT/s LGA 1150 Desktop CPU Processor SR1S6

$10.99



Intel Core i5-12500T SRL5W 2GHz 18MB 6 Core Socket LGA1700 Desktop CPU Processor picture

Intel Core i5-12500T SRL5W 2GHz 18MB 6 Core Socket LGA1700 Desktop CPU Processor

$114.99



Intel Xeon E3-1230 v3 SR153 3.3GHz Quad Core LGA 1150 CPU Processor picture

Intel Xeon E3-1230 v3 SR153 3.3GHz Quad Core LGA 1150 CPU Processor

$14.49



Intel Core i7-7700K SR33A 4.20GHz 4-Core LGA1151 CPU Processor picture

Intel Core i7-7700K SR33A 4.20GHz 4-Core LGA1151 CPU Processor

$62.95



Intel SR3XE Core i5-8500 3.0GHz 9M Socket 1151 6-Core CPU Processor *Tested* picture

Intel SR3XE Core i5-8500 3.0GHz 9M Socket 1151 6-Core CPU Processor *Tested*

$32.99



Intel 6th Gen Core i7-6700K 4.0GHz (Turbo 4.2GHz) 4-Core LGA1151 CPU SR2L0 picture

Intel 6th Gen Core i7-6700K 4.0GHz (Turbo 4.2GHz) 4-Core LGA1151 CPU SR2L0

$38.00



Lenovo ThinkCentre M920s SFF Barebones PC Motherboard PSU DVD No CPU RAM SSD picture

Lenovo ThinkCentre M920s SFF Barebones PC Motherboard PSU DVD No CPU RAM SSD

$27.99