From a985cb60ba1c58a09725bccb2ce25f7d90b16bc9 Mon Sep 17 00:00:00 2001 From: LaZyDK Date: Sun, 3 May 2020 13:19:53 +0200 Subject: [PATCH] Update Installation-Ubuntu-1804-Nginx.md (#11466) Fixing unzip error along with timezone settings. --- doc/Installation/Installation-Ubuntu-1804-Nginx.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/doc/Installation/Installation-Ubuntu-1804-Nginx.md b/doc/Installation/Installation-Ubuntu-1804-Nginx.md index 23aaafd572..5e441bb64e 100644 --- a/doc/Installation/Installation-Ubuntu-1804-Nginx.md +++ b/doc/Installation/Installation-Ubuntu-1804-Nginx.md @@ -14,7 +14,7 @@ path: blob/master/doc/ apt install software-properties-common add-apt-repository universe apt update -apt install curl composer fping git graphviz imagemagick mariadb-client mariadb-server mtr-tiny nginx-full nmap php7.2-cli php7.2-curl php7.2-fpm php7.2-gd php7.2-json php7.2-mbstring php7.2-mysql php7.2-snmp php7.2-xml php7.2-zip python-memcache python-mysqldb rrdtool snmp snmpd whois +apt install curl composer fping git graphviz imagemagick mariadb-client mariadb-server mtr-tiny nginx-full nmap php7.2-cli php7.2-curl php7.2-fpm php7.2-gd php7.2-json php7.2-mbstring php7.2-mysql php7.2-snmp php7.2-xml php7.2-zip python-memcache python-mysqldb rrdtool snmp snmpd whois unzip ``` # Add librenms user @@ -44,6 +44,7 @@ setfacl -R -m g::rwx /opt/librenms/rrd /opt/librenms/logs /opt/librenms/bootstra ```bash su - librenms +cd /opt/librenms ./scripts/composer_wrapper.php install --no-dev exit ``` @@ -90,6 +91,7 @@ Ensure date.timezone is set in php.ini to your preferred time zone. See for a list of supported timezones. Valid examples are: "America/New_York", "Australia/Brisbane", "Etc/UTC". +Please remember to set the system timezone as well. ```bash vi /etc/php/7.2/fpm/php.ini @@ -98,7 +100,11 @@ vi /etc/php/7.2/cli/php.ini ```bash systemctl restart php7.2-fpm +´´´ + ``` +timedatectl set-timezone Etc/UTC +´´´ ## Configure NGINX