- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: Linux Apache server
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-24-2001 11:21 PM
тАО05-24-2001 11:21 PM
Linux Apache server
How do I know if I have the Linux Apache server installed on my box? I've seen a few apache files lying around the server but I don't know if the web server is active. If it is not, how do I install it?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-25-2001 05:10 AM
тАО05-25-2001 05:10 AM
Re: Linux Apache server
To determine if apache is running on the box, issue the following command:
ps aux | grep httpd
It should list a few httpd processes running that are waiting for connections. Depending on what distribution of linux you're running apache will be located in different directories. You can start and stop the apache server using the shell script 'apachectl'. To find this script issue the follwoing command:
find / -name apachectl -print
Once you find the script run it with the start command and apache will start. Use the following link for a reference to help you out:
http://httpd.apache.org/docs/invoking.html
You can also just open a web browser and point it to the address of the server and see if any pages come up or if the server responds at all.
By the way, Apache 1.3.20 is now out and can be downloaded from the follwoing address:
http://httpd.apache.org/dist/httpd/
If you are running Redhat or another major distrubution you can download a pre compiled version (.rpm). Hope that helps.
- Mike
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-25-2001 06:12 PM
тАО05-25-2001 06:12 PM
Re: Linux Apache server
(this may work for other RPM-based distros (like Mandrake), too)
if rpm responds with "package apache not installed", then you need to install the apache rpm.
If it is installed, then you can start it (as root) with "/etc/rc.d/init.d/httpd start".
If you want it to start automatically when you start the computer, then type "chkconfig --add httpd". That creates links to apache's startup script.
FWIW, "apachectl" isn't part of the Red Hat distro (I suspect it's not in other RPM-based distros, eikther).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-28-2001 12:39 AM
тАО05-28-2001 12:39 AM
Re: Linux Apache server
httpd: cannot determine local host name.
Use the ServerName directive to set it manually.
How do I resolve the above?
Thanks for your help!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-28-2001 04:59 AM
тАО05-28-2001 04:59 AM
Re: Linux Apache server
You can either set up DNS locally on your network (create a phony local domain and add entries for your Linux box), or use the ServerName directive.
To do the latter, edit /etc/httpd/conf/httpd.conf and search for "ServerName". Uncomment it (remove the "#" character in front of it) and put the name after it (you'll want a fully-qualified name, like "www.mynetwork.local")
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-03-2001 09:21 AM
тАО08-03-2001 09:21 AM
Re: Linux Apache server
urpmi apache
to install apache, followed by:
service httpd start
to be sure apache is running. you should be able to see a default page by contacting to http://localhost.localdomain imediately...
In case you don't like command line, the same can be done with GUI tools in mandrake Control center
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-12-2001 08:41 AM
тАО09-12-2001 08:41 AM
Re: Linux Apache server
#
# ServerName: allows you to set a host name which is sent back to clients for
# your server if it's different than the one the program would get (i.e., use
# "www" instead of the host's real name).
#
# Note: You cannot just invent host names and hope they work. The name you
# define here must be a valid DNS name for your host. If you don't understand
# this, ask your network administrator.
# If your host doesn't have a registered DNS name, enter its IP address here.
# You will have to access it by its address (e.g., http://123.45.67.89/)
# anyway, and this will make redirections work in a sensible way.
#
ServerName intweb.interex.org
This should fix your problem