LINUXOPOLIS # 2019-12-16 ~ APACHE
linux·@wglenz·
0.000 HBDLINUXOPOLIS # 2019-12-16 ~ APACHE
<center><h3>APACHE</h3><a href="https://steempeak.com/@wglenz">Published with SteemPeak</a><br> [home](https://steempeak.com/@wglenz) ~ [previous](https://steempeak.com/linux/@wglenz/cqxf2-linuxopolis-2019-08-16-apache)</center> <center>Screenshot by Willi Glenz</center> <center><h4>SUMMARY</h4></center> ``` 01 APACHE ................................................................ 19-07 03 installation .......................................................... 19-12 update 04 configuration ......................................................... 19-12 update 08 documentation ......................................................... 19-08 10 tutorials ............................................................. 19-12 new 05 status ................................................................ 19-08 07 enable & start......................................................... 19-08 06 disable & stop ........................................................ 19-08 09 ufw ................................................................... 19-08 02 sources ............................................................... 19-07 ``` <center><h4>#10</h4></center> ``` 10 TUTORIALS ``` ``` theurbanpinguin youtube.com/playlist?list=PLtGnc4I6s8dsNLpl0G30Azcc-Q4eoM4TX amid nepal youtu.be/SSEcqCYQwwk ``` <br> ``` 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 ``` ``` $ man ufw ``` <br> ``` 08 DOCUMENTATION ``` ``` Apache : httpd.apache.org/docs/ Ubuntu : help.ubuntu.com/lts/serverguide/httpd.html UbuntuUsers (de) : wiki.ubuntuusers.de/Apache_2.4/ ``` <br> ``` 07 ENABLE & START ``` ``` # systemctl status apache2.service # systemctl enable apache2.service # systemctl start apache2.service # systemctl status apache2.service ``` ``` $ man systemctl ``` <br> ``` 06 DISABLE & STOP ``` ``` # systemctl status apache2.service # systemctl disable apache2.service # systemctl stop apache2.service # systemctl status apache2.service ``` <br> ``` 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 ``` <br> ``` 04 CONFIGURATION ``` ``` # vim /etc/apache2/apache2.conf # vim /etc/apache2/ports.conf $ systemctl start|stop|enable|disable|restart apache2 $ systemctl status apache2 $ apache2ctl -M ``` <br> ``` 03 INSTALLATION ``` ``` 01 $ apt-cache search ^apache2 | less 02 # apt install apache2 apache2-doc apache-utils 03 $ apt-cache show apache2 04 $ systemctl status apache2 05 $ systemctl enable|disable apache2 06 $ systemctl start|stop apache2 $ 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 ``` <br> ``` 02 SOURCES ``` ``` Apache : apache.org Wikipedia : en.wikipedia.org/wiki/Apache_HTTP_Server Manpages $ man apache2 ``` <br> ``` 01 APACHE2 ``` ``` homepage : httpd.apache.org documentation : httpd.apache.org/docs/2.4/ ```