Find the answer to your Linux question:
Results 1 to 2 of 2
Ok dylunio kindly showed me how to run httpd from CLI. 1) After i just type "httpd" at $, it just returns me back to $ Does this mean httpd ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Mar 2005
    Posts
    26

    I managed to run lynx with httpd.. Is this right?


    Ok dylunio kindly showed me how to run httpd from CLI.

    1) After i just type "httpd" at $, it just returns me back to $
    Does this mean httpd is now running a process in the background?

    2) Is there a way for me to check this using just httpd at the CLI? Some option on httpd command line.... My httpd -? list of options doesnt seem to provide a way to list processes.... (im googling also)

    3) ok.. then i run "lynx http://localhost" from $ and I get the Apache server page. Does this mean the server is running on the linux machine?

    Thanks.. it just helps me be certain before I move to the next step (ie: killing the process, determing where to loadmy html files to the linux, and tryign to see if i can access the webpage from outside)......

    thanks all u guys uve been really friendly

  2. #2
    Linux Guru dylunio's Avatar
    Join Date
    Aug 2004
    Location
    Cymru
    Posts
    4,157
    To check if apache is running type
    Code:
    ps aux|grep httpd
    if it spits out a few things containing httpd then it ir running.

    the fact that you can access the apache screen via localhost says that it is up and running, and is accessable to at least the local network.

    dylunio
    Registered Linux User #371543!
    Get force-get May The Source Be With You
    /dev/null
    /dev/null2

Posting Permissions

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