mirror of
https://github.com/dbarzin/pandora-box.git
synced 2025-07-24 15:59:42 +02:00
update install procedure
This commit is contained in:
parent
62d9b2b3bd
commit
895b62c020
1 changed files with 51 additions and 9 deletions
42
INSTALL.md
42
INSTALL.md
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue