new scripts and updates
This commit is contained in:
@ -16,7 +16,13 @@ do
|
||||
;;
|
||||
esac
|
||||
done
|
||||
sudo 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 -y
|
||||
if [ ! -x /usr/bin/curl ] ; then
|
||||
CURL_NOT_EXIST=1
|
||||
apt install -y curl
|
||||
else
|
||||
CURL_NOT_EXIST=0
|
||||
fi
|
||||
sudo apt install acl 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 -y
|
||||
sudo useradd librenms -d /opt/librenms -M -r -s "$(which bash)"
|
||||
cd /opt
|
||||
sudo git clone https://github.com/librenms/librenms.git
|
||||
@ -26,6 +32,6 @@ sudo setfacl -d -m g::rwx /opt/librenms/rrd /opt/librenms/logs /opt/librenms/boo
|
||||
sudo setfacl -R -m g::rwx /opt/librenms/rrd /opt/librenms/logs /opt/librenms/bootstrap/cache/ /opt/librenms/storage/
|
||||
sudo -u librenms bash -c './scripts/composer_wrapper.php install --no-dev'
|
||||
exit
|
||||
sudo wget https://getcomposer.org/composer-stable.phar
|
||||
sudo curl -fsSL -o "composer-stable.phar" https://getcomposer.org/composer-stable.phar
|
||||
sudo mv composer-stable.phar /usr/bin/composer
|
||||
sudo chmod +x /usr/bin/composer
|
||||
|
Reference in New Issue
Block a user