LINUXOPOLIS ( 2019-08-16 ) ~ Apache steemCreated with Sketch.

in #linux5 years ago (edited)

APACHE

Published with SteemPeak

ScreenshotScreenshot by Willi Glenz

SUMMARY

01 APACHE ............................................................. v2 19-07
05 status ............................................................. v2 19-08 update

03 installation ....................................................... v1 19-07
04 configuration ...................................................... v2 19-07
07 enable & start...................................................... v1 19-08
06 disable & stop ..................................................... v1 19-08
09 ufw ................................................................ v1 19-08 new

08 documentation ...................................................... v1 19-08
02 sources ............................................................ v3 19-07

#09

09 UFW
00 # ufw status
00 # ufw status verbose

10 # ufw reset
10 # ufw status 
20 # ufw enable
20 # ufw status
30 # ufw app list |less -N  
30 # ufw app info WWW
30 # ufw allow WWW

90 # ufw status
90 # ufw status verbose


08 DOCUMENTATION
Apache              : httpd.apache.org/docs/
Ubuntu              : help.ubuntu.com/lts/serverguide/httpd.html
UbuntuUsers (de)    : wiki.ubuntuusers.de/Apache_2.4/


07 ENABLE & START
# systemctl status apache2.service
# systemctl enable apache2.service
# systemctl start apache2.service
# systemctl status apache2.service
$ man systemctl


06 DISABLE & STOP
# systemctl status apache2.service
# systemctl disable apache2.service
# systemctl stop apache2.service
# systemctl status apache2.service


05 STATUS
10 # ufw status
10 # ufw status verbose

20 # systemctl status apache2.service

30 # ps aux | grep -i apache2
30 # netstat -tulpn | grep -i apache2
$ man systemctl ufw ps netstat


04 CONFIGURATION
# vim /etc/apache2/apache2.conf
# vim /etc/apache2/ports.conf
# systemctl restart apache2.service
# systemctl status apache2.service


03 INSTALLATION
# apt search ^apache2 | less
# apt show apache2
# apt install apache2 apache2-doc

$ view /usr/share/doc/apache2/README.Debian.gz.

$ ip a
$ telnet localhost 80
> get
$ w3m localhost
$ w3m 192.168.0.102

$ /var/www/html/index.html

# tail -f /var/log/apache2/access.log
# tail -f /var/log/apache2/error.log

$ dpkg -L apache2-doc | less
> file:///usr/share/doc/apache2-doc/manual/en/mod/index.html


02 SOURCES
Apache          : apache.org
Wikipedia       : en.wikipedia.org/wiki/Apache_HTTP_Server
Manpages        $ man apache2


01 APACHE2
Homepage        : httpd.apache.org
Documentation   : httpd.apache.org/docs/2.4/

home ~ previous

Coin Marketplace

STEEM 0.17
TRX 0.16
JST 0.029
BTC 60637.64
ETH 2405.36
USDT 1.00
SBD 2.60