mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Add unzip to all install docs dependencies (#15354)
* Update Install-LibreNMS.md Composer complains that neither unzip nor 7z is installed so it would unzip using PHP which may or may not corrupt the results file. This has always worked fine for me but I guess it might be a better idea to use the "real" unzipper. ``` librenms@librenms1:~$ ./scripts/composer_wrapper.php install --no-dev Could not scan for classes inside "vendor/dapphp/radius" which does not appear to be a file nor a folder > LibreNMS\ComposerHelper::preInstall Installing dependencies from lock file Verifying lock file contents can be installed on current platform. Package operations: 118 installs, 0 updates, 0 removals As there is no 'unzip' nor '7z' command installed zip files are being unpacked using the PHP zip extension. This may cause invalid reports of corrupted archives. Besides, any UNIX permissions (e.g. executable) defined in the archives will be lost. Installing 'unzip' or '7z' (21.01+) may remediate them. ``` * Update Install-LibreNMS.md Sorted 'unzip' package alphabetically in Debian, Ubuntu and CentOS installation steps.
This commit is contained in:
@@ -21,7 +21,7 @@ Connect to the server command line and follow the instructions below.
|
||||
=== "Ubuntu 22.04"
|
||||
=== "NGINX"
|
||||
```
|
||||
apt install acl curl fping git graphviz imagemagick mariadb-client mariadb-server mtr-tiny nginx-full nmap php-cli php-curl php-fpm php-gd php-gmp php-json php-mbstring php-mysql php-snmp php-xml php-zip rrdtool snmp snmpd whois unzip python3-pymysql python3-dotenv python3-redis python3-setuptools python3-systemd python3-pip
|
||||
apt install acl curl fping git graphviz imagemagick mariadb-client mariadb-server mtr-tiny nginx-full nmap php-cli php-curl php-fpm php-gd php-gmp php-json php-mbstring php-mysql php-snmp php-xml php-zip rrdtool snmp snmpd unzip python3-pymysql python3-dotenv python3-redis python3-setuptools python3-systemd python3-pip whois
|
||||
```
|
||||
|
||||
=== "Ubuntu 20.04"
|
||||
@@ -31,7 +31,7 @@ Connect to the server command line and follow the instructions below.
|
||||
add-apt-repository universe
|
||||
add-apt-repository ppa:ondrej/php
|
||||
apt update
|
||||
apt install acl curl fping git graphviz imagemagick mariadb-client mariadb-server mtr-tiny nginx-full nmap php-cli php-curl php-fpm php-gd php-gmp php-json php-mbstring php-mysql php-snmp php-xml php-zip rrdtool snmp snmpd whois unzip python3-pymysql python3-dotenv python3-redis python3-setuptools python3-systemd python3-pip
|
||||
apt install acl curl fping git graphviz imagemagick mariadb-client mariadb-server mtr-tiny nginx-full nmap php-cli php-curl php-fpm php-gd php-gmp php-json php-mbstring php-mysql php-snmp php-xml php-zip rrdtool snmp snmpd unzip python3-pymysql python3-dotenv python3-redis python3-setuptools python3-systemd python3-pip whois
|
||||
```
|
||||
|
||||
=== "Apache"
|
||||
@@ -40,7 +40,7 @@ Connect to the server command line and follow the instructions below.
|
||||
add-apt-repository universe
|
||||
add-apt-repository ppa:ondrej/php
|
||||
apt update
|
||||
apt install acl curl apache2 fping git graphviz imagemagick libapache2-mod-fcgid mariadb-client mariadb-server mtr-tiny nmap php-cli php-curl php-fpm php-gd php-gmp php-json php-mbstring php-mysql php-snmp php-xml php-zip rrdtool snmp snmpd whois python3-pymysql python3-dotenv python3-redis python3-setuptools python3-systemd python3-pip
|
||||
apt install acl curl apache2 fping git graphviz imagemagick libapache2-mod-fcgid mariadb-client mariadb-server mtr-tiny nmap php-cli php-curl php-fpm php-gd php-gmp php-json php-mbstring php-mysql php-snmp php-xml php-zip rrdtool snmp snmpd whois python3-pymysql python3-dotenv python3-redis python3-setuptools python3-systemd python3-pip unzip
|
||||
```
|
||||
|
||||
=== "CentOS 8"
|
||||
@@ -59,7 +59,7 @@ Connect to the server command line and follow the instructions below.
|
||||
dnf -y install dnf-utils http://rpms.remirepo.net/enterprise/remi-release-8.rpm
|
||||
dnf module reset php
|
||||
dnf module enable php:remi-8.1
|
||||
dnf install bash-completion cronie fping git httpd ImageMagick mariadb-server mtr net-snmp net-snmp-utils nmap php-fpm php-cli php-common php-curl php-gd php-gmp php-json php-mbstring php-process php-snmp php-xml php-zip php-mysqlnd python3 python3-PyMySQL python3-redis python3-memcached python3-pip python3-systemd rrdtool unzip gcc python3-devel
|
||||
dnf install bash-completion cronie fping gcc git httpd ImageMagick mariadb-server mtr net-snmp net-snmp-utils nmap php-fpm php-cli php-common php-curl php-gd php-gmp php-json php-mbstring php-process php-snmp php-xml php-zip php-mysqlnd python3 python3-devel python3-PyMySQL python3-redis python3-memcached python3-pip python3-systemd rrdtool unzip
|
||||
```
|
||||
|
||||
=== "Debian 11"
|
||||
@@ -69,7 +69,7 @@ Connect to the server command line and follow the instructions below.
|
||||
wget -O /etc/apt/trusted.gpg.d/php.gpg https://packages.sury.org/php/apt.gpg
|
||||
echo "deb https://packages.sury.org/php/ $(lsb_release -sc) main" > /etc/apt/sources.list.d/sury-php.list
|
||||
apt update
|
||||
apt install acl curl fping git graphviz imagemagick mariadb-client mariadb-server mtr-tiny nginx-full nmap php-cli php-curl php-fpm php-gd php-gmp php-json php-mbstring php-mysql php-snmp php-xml php-zip python3-dotenv python3-pymysql python3-redis python3-setuptools python3-systemd python3-pip rrdtool snmp snmpd whois
|
||||
apt install acl curl fping git graphviz imagemagick mariadb-client mariadb-server mtr-tiny nginx-full nmap php-cli php-curl php-fpm php-gd php-gmp php-json php-mbstring php-mysql php-snmp php-xml php-zip python3-dotenv python3-pymysql python3-redis python3-setuptools python3-systemd python3-pip rrdtool snmp snmpd unzip whois
|
||||
```
|
||||
|
||||
## Add librenms user
|
||||
|
Reference in New Issue
Block a user