#
# |||||||||||||||||||| START CONFIGURATION SECTION ||||||||||||||||||||
# -------------------- --------------------
#
# main configuration directory
if [ ! -d /var/log/apache2/revpi ];
then
# echo "revpi logdirectory not found...!"
mkdir /var/log/apache2/revpi
fi
✘ ~ ssh pi@revpi4233 -4
Linux RevPi4233 5.10.74-rt54-v7+ #1 SMP PREEMPT_RT Thu, 16 Dec 2021 11:50:47 +0000 armv7l
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Thu Jan 13 17:31:17 2022 from 172.30.30.133
pi@RevPi4233:~ $ mount | grep log
tmpfs on /var/log type tmpfs (rw,size=51200k)
pi@RevPi4233:~ $ ls /var/log/
apache2 apt auth.log btmp daemon.log fsck kern.log lastlog lightdm messages ntpstats private samba user.log wtmp
pi@RevPi4233:~ $ sudo systemctl status apache2
● apache2.service - The Apache HTTP Server
Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled)
Active: active (running) since Thu 2022-01-13 17:31:04 CET; 32s ago
Docs: https://httpd.apache.org/docs/2.4/
Process: 1144 ExecStart=/usr/sbin/apachectl start (code=exited, status=0/SUCCESS)
Main PID: 1219 (apache2)
Tasks: 6 (limit: 2059)
CPU: 345ms
CGroup: /system.slice/apache2.service
├─1219 /usr/sbin/apache2 -k start
├─1220 /usr/sbin/apache2 -k start
├─1221 /usr/sbin/apache2 -k start
├─1222 /usr/sbin/apache2 -k start
├─1223 /usr/sbin/apache2 -k start
└─1224 /usr/sbin/apache2 -k start
Jan 13 17:31:04 RevPi4233 systemd[1]: Starting The Apache HTTP Server...
Jan 13 17:31:04 RevPi4233 apachectl[1169]: AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message
Jan 13 17:31:04 RevPi4233 systemd[1]: Started The Apache HTTP Server.
pi@RevPi4233:~ $ sudo reboot
Connection to revpi4233 closed by remote host.
Connection to revpi4233 closed.
✘ ~ ssh pi@revpi4233 -4
Linux RevPi4233 5.10.74-rt54-v7+ #1 SMP PREEMPT_RT Thu, 16 Dec 2021 11:50:47 +0000 armv7l
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
pi@RevPi4233:~ $ mount | grep log
tmpfs on /var/log type tmpfs (rw,size=51200k)
pi@RevPi4233:~ $ ls /var/log
apache2 apt auth.log btmp daemon.log fsck kern.log lastlog lightdm messages ntpstats private samba user.log wtmp
pi@RevPi4233:~ $ sudo systemctl status apache2
● apache2.service - The Apache HTTP Server
Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled)
Active: active (running) since Thu 2022-01-13 17:32:35 CET; 1min 19s ago
Docs: https://httpd.apache.org/docs/2.4/
Process: 1133 ExecStart=/usr/sbin/apachectl start (code=exited, status=0/SUCCESS)
Main PID: 1203 (apache2)
Tasks: 6 (limit: 2059)
CPU: 384ms
CGroup: /system.slice/apache2.service
├─1203 /usr/sbin/apache2 -k start
├─1220 /usr/sbin/apache2 -k start
├─1221 /usr/sbin/apache2 -k start
├─1222 /usr/sbin/apache2 -k start
├─1223 /usr/sbin/apache2 -k start
└─1224 /usr/sbin/apache2 -k start
Jan 13 17:32:35 RevPi4233 systemd[1]: Starting The Apache HTTP Server...
Jan 13 17:32:35 RevPi4233 apachectl[1164]: AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message
Jan 13 17:32:35 RevPi4233 systemd[1]: Started The Apache HTTP Server.