Apache Web Administration

How to find out the Linux release that Apache is installed on?

ron@srv1ubuntu:~$ cat /etc/*release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=14.04
DISTRIB_CODENAME=trusty
DISTRIB_DESCRIPTION="Ubuntu 14.04.1 LTS"
NAME="Ubuntu"
VERSION="14.04.1 LTS, Trusty Tahr"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 14.04.1 LTS"
VERSION_ID="14.04"
HOME_URL="http://www.ubuntu.com/"
SUPPORT_URL="http://help.ubuntu.com/"
BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"
ron@srv1ubuntu:~$

Apache status command:

apachectl status

ron@srv1ubuntu:~$ apachectl status
Can't create config directory (/.w3m)!Apache Server Status for localhost (via ::1)

Server Version: Apache/2.4.7 (Ubuntu) PHP/5.5.9-1ubuntu4.5
Server MPM: prefork
Server Built: Jul 22 2014 14:36:38

-------------------------------------------------------------------------------

Current Time: Tuesday, 06-Jan-2015 21:23:23 AEDT
Restart Time: Tuesday, 06-Jan-2015 20:53:42 AEDT
Parent Server Config. Generation: 1
Parent Server MPM Generation: 0
Server uptime: 29 minutes 41 seconds
Server load: 0.01 0.02 0.05
Total accesses: 57 - Total Traffic: 505 kB
CPU Usage: u1.45 s.09 cu0 cs0 - .0865% CPU load
.032 requests/sec - 290 B/second - 8.9 kB/request
1 requests currently being processed, 9 idle workers

_..____W_..__._.................................................
................................................................
......................

Scoreboard Key:
"_" Waiting for Connection, "S" Starting up, "R" Reading Request,
"W" Sending Reply, "K" Keepalive (read), "D" DNS Lookup,
"C" Closing connection, "L" Logging, "G" Gracefully finishing,
"I" Idle cleanup of worker, "." Open slot with no current process

How to find the Apache configuration file within Ubuntu?

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.