merge-requests/1/head
Esteban Mackay Q. 2 years ago
parent c2efdfd8e1
commit 6773829d20

@ -263,13 +263,11 @@ cd FDMR-Monitor
sudo git checkout Self_Service
#
sudo chmod +x install.sh
chmod 755 /opt/FDMR-Monitor/data
chmod -R 777 /opt/FDMR-Monitor/*
chmod -R +x /opt/FDMR-Monitor/*
#
sudo chmod 644 /opt/FDMR-Monitor/fdmr-mon_SAMPLE.cfg
####
sed -i "s/www\/html/www\/fdmr/g" /opt/FDMR-Monitor/html/*.*
sed -i "s/www\/html/www\/fdmr/g" /opt/FDMR-Monitor/sysinfo/*.*
####
sudo chmod +x /opt/FDMR-Monitor/sysinfo/cpu.sh
sudo chmod +x /opt/FDMR-Monitor/sysinfo/graph.sh
sudo chmod +x /opt/FDMR-Monitor/sysinfo/rrd-db.sh

@ -581,13 +581,13 @@ sudo git clone https://gitlab.com/hp3icc/FDMR-Monitor.git
cd FDMR-Monitor
sudo git checkout Self_Service
sudo chmod +x install.sh
chmod 777 /opt/FDMR-Monitor/data
sudo chmod 644 /opt/FDMR-Monitor/fdmr-mon_SAMPLE.cfg
####
chmod -R 777 /opt/FDMR-Monitor/*
chmod -R +x /opt/FDMR-Monitor/*
########
sudo apt-get install rrdtool -y
sudo sed -i "s/www\/html/www\/fdmr/g" /opt/FDMR-Monitor/html/*.*
sudo sed -i "s/www\/html/www\/fdmr/g" /opt/FDMR-Monitor/sysinfo/*.*
####
sudo chmod +x /opt/FDMR-Monitor/sysinfo/cpu.sh
sudo chmod +x /opt/FDMR-Monitor/sysinfo/graph.sh
sudo chmod +x /opt/FDMR-Monitor/sysinfo/rrd-db.sh
@ -595,11 +595,7 @@ sudo chmod +x /opt/FDMR-Monitor/sysinfo/rrd-db.sh
cd /opt/FDMR-Monitor/
#sudo rm /opt/FDMR-Monitor/install.sh
################
sudo apt-get install rrdtool -y
sudo sed -i "s/www\/html/www\/fdmr/g" /opt/FDMR-Monitor/html/*.*
sudo sed -i "s/www\/html/www\/fdmr/g" /opt/FDMR-Monitor/sysinfo/*.*
# Install the required support programs
#sudo pip install -U -r requirements.txt
cd /opt/FDMR-Monitor/
cp /opt/FDMR-Monitor/fdmr-mon_SAMPLE.cfg /opt/FDMR-Monitor/fdmr-mon.cfg

Loading…
Cancel
Save

Powered by TurnKey Linux.