APACHE ~ Update ( systemd )

wglenz(54)
Published in
#linux
Words
11
Reading
1 min
Listen
Play
7y

APACHE

Published with SteemPeak

ScreenshotScreenshot by Willi Glenz

SUMMARY

01 APACHE2 ............................................................ v2 19-07

03 installation ....................................................... v1 19-07
04 configuration ...................................................... v2 19-07 update
05 status ............................................................. v1 19-08 new
07 enable & start...................................................... v1 19-08 new
06 disable & stop ..................................................... v1 19-08 new

02 sources ............................................................ v3 19-07 update

#07

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
# systemctl status apache2.service
# ps aux | grep -i apache2
# netstat -tulpn | grep -i apache2
$ man systemctl
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/

Previous Version

APACHE ~ Update ( systemd ) | Ecency