add system log solution for ubuntu 14.04
This commit is contained in:
parent
1d6e97f473
commit
cefb83fd2a
14
README.md
14
README.md
|
@ -61,3 +61,17 @@ done
|
||||||
chmod +x update_site.sh
|
chmod +x update_site.sh
|
||||||
./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
|
||||||
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue