add system log solution for ubuntu 14.04

This commit is contained in:
邱博亞 2021-11-28 11:33:31 +08:00
parent 1d6e97f473
commit cefb83fd2a
1 changed files with 14 additions and 0 deletions

View File

@ -61,3 +61,17 @@ done
chmod +x update_site.sh
./update_site.sh
```
## ubuntu 14.04 cannot see system log without root solution
```bash
sudo groupadd -g 10000 systemd-journal
sudo usermod -a -G systemd-journal $USER
sudo vi /etc/systemd/journald.conf
########### add or modify lines############
Storage=persistent
###########################################
sudo systemctl restart systemd-journald
```