1
0
Fork 0
mirror of https://github.com/dbarzin/pandora-box.git synced 2025-07-24 07:49:42 +02:00

update install procedure

This commit is contained in:
Didier 2024-01-19 07:07:59 +01:00
parent 62d9b2b3bd
commit 895b62c020

View file

@ -92,6 +92,48 @@ Save your changes and restart the rsyslog service with the command:
Ref: https://www.rsyslog.com/doc/v5-stable/configuration/modules/imfile.html
## Timezone
Set the correct Timezone
sudo timedatectl set-timezone Europe/Paris
## NTP
To configure NTP, edit this file :
sudo vi /etc/systemd/timesyncd.conf
Add this line
NTP=<<NTP_SERVER_IP>>
## Send log to rsyslog
Copy the rsyslogd configuration file
sudo cp ./pandora-box/rsyslog.d/pandora-box.conf /etc/rsyslog.d/
Edit the rsyslogd file
sudo vi /etc/rsyslog.d/pandora-box.conf
Change the IP Address :
local7.info @@<<SYSLOG_SERVER_IP>>:514
## Automatic terminal shutdown
Edit crontab file
sudo crontab -e
Add an automatic shutdown command at 8:00 p.m.
0 20 * * * shutdown -h
# Update
Update the operating system