go to  ForumEasy.com   
JavaPro
Home » Archive » Message


[Email To Friend][View in Live Context][prev topic « prev post | next post » next topic]
  Step 2: Check your Apache Web Server
 
Subject: Step 2: Check your Apache Web Server
Author: Linux
In response to: How To Install the Apache Web Server on Ubuntu 16.04 LTS
Posted on: 11/01/2017 08:48:13 PM


At the end of the installation process, the system should have started Apache web server and it should already be up and running on port 80

You can check it form server side by:

$ sudo systemctl status apache2

● apache2.service - LSB: Apache2 web server
   Loaded: loaded (/etc/init.d/apache2; bad; vendor preset: enabled)
  Drop-In: /lib/systemd/system/apache2.service.d
           └─apache2-systemd.conf
   Active: active (running) since Tue 2017-10-31 17:38:33 PDT; 19h ago
     Docs: man:systemd-sysv-generator(8)
   CGroup: /system.slice/apache2.service
           ├─3329 /usr/sbin/apache2 -k start
           ├─3332 /usr/sbin/apache2 -k start
           └─3333 /usr/sbin/apache2 -k start



or

$ netstat -tuln | grep 80

tcp6       0      0 127.0.0.1:8005          :::*                    LISTEN
tcp6       0      0 :::8009                 :::*                    LISTEN
tcp6       0      0 :::8080                 :::*                    LISTEN
tcp6       0      0 :::80                   :::*                    LISTEN



You can also check it from client side by:
http://<your-machine-ip>/



 

> On 11/01/2017 08:45:31 PM Linux wrote:



Step 1: Install Apache

$ sudo apt-get update
$ sudo apt-get install apache2


Where are Apache Web Server files stored?

html
/var/www/html  <-- default


conf
/etc/apache2/
|-- apache2.conf      
|       `--  ports.conf
|-- mods-enabled
|       |-- *.load
|       `-- *.conf
|-- conf-enabled
|       `-- *.conf
|-- sites-enabled
|       `-- *.conf


log
/var/log/apache2/access.log
/var/log/apache2/error.log





References:

 


 
Powered by ForumEasy © 2002-2022, All Rights Reserved. | Privacy Policy | Terms of Use
 
Get your own forum today. It's easy and free.