From cefb83fd2a5b1cc0bff68ed7b25786ad2d9393a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B1=E5=8D=9A=E4=BA=9E?= Date: Sun, 28 Nov 2021 11:33:31 +0800 Subject: [PATCH] add system log solution for ubuntu 14.04 --- README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/README.md b/README.md index 6db7442..f999e31 100644 --- a/README.md +++ b/README.md @@ -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 +``` +