Allmon2 Install: Difference between revisions
(6 intermediate revisions by the same user not shown) | |||
Line 14: | Line 14: | ||
sudo apt install apache2 -y | sudo apt install apache2 -y | ||
sudo apt install php libapache2-mod-php -y | sudo apt install php libapache2-mod-php -y | ||
sudo apt install git | sudo apt install git -y | ||
sudo git clone https://github.com/tsawyer/allmon2.git /var/www/html/allmon2 | sudo git clone https://github.com/tsawyer/allmon2.git /var/www/html/allmon2 | ||
cd /var/www/html/allmon2 | cd /var/www/html/allmon2 | ||
sudo mv allmon.ini.txt allmon.ini.php | sudo mv allmon.ini.txt allmon.ini.php | ||
sudo mv controlpanel.ini.txt controlpanel.ini.php | sudo mv controlpanel.ini.txt controlpanel.ini.php | ||
== Allmon2 Configuration. == | == Allmon2 Configuration. == | ||
Line 33: | Line 31: | ||
[12345] | [12345] | ||
Change the following lines for your node stanza. | |||
host=127.0.0.1:5038 | host=127.0.0.1:5038 | ||
user=admin | |||
passwd=yourpassword | passwd=yourpassword | ||
nomenu=no | nomenu=no | ||
hideNodeURL=no | hideNodeURL=no | ||
Line 49: | Line 43: | ||
After making your changes type '''<CTRL> + <X>''' and then type '''<Y>''' followed by '''<Enter>'''. You will be back to the previous menu and choose '''<Back>'''. | After making your changes type '''<CTRL> + <X>''' and then type '''<Y>''' followed by '''<Enter>'''. You will be back to the previous menu and choose '''<Back>'''. | ||
Next, type the following commands: | |||
mv -f /var/www/html/allmon2/allmon.ini.php $WEBROOT/allmon2/allmon.ini.php.$DATEEXT 2>/dev/null #backup default | mv -f /var/www/html/allmon2/allmon.ini.php $WEBROOT/allmon2/allmon.ini.php.$DATEEXT 2>/dev/null #backup default | ||
Line 67: | Line 63: | ||
Using your web browser go to: | Using your web browser go to: | ||
http:192.168.x.x/allmon2 | |||
Note: 192.168.x.x is your | Note: where 192.168.x.x is your node's IP. | ||
There you can login with the user 'admin' and your password 'yourpassword' or remember default password is 'llcgi'. | There you can login with the user 'admin' and your password 'yourpassword' or remember default password is 'llcgi'. |
Latest revision as of 01:36, 28 February 2021
Allmon2 Install.
Allmon2 Install.
The first thing to do is to log on your node as user 'repeater' command line, you can log in with a keyboard and monitor or using SSH as in the initial node setup.
repeater@repeater:~$
Once you are there you have to type the following commands:
sudo apt update sudo apt install apache2 -y sudo apt install php libapache2-mod-php -y sudo apt install git -y sudo git clone https://github.com/tsawyer/allmon2.git /var/www/html/allmon2 cd /var/www/html/allmon2 sudo mv allmon.ini.txt allmon.ini.php sudo mv controlpanel.ini.txt controlpanel.ini.php
Allmon2 Configuration.
Now you have to edit the allmon.ini.php file:
cd /var/www/html/allmon2 sudo nano allmon.ini.php
Search for the stanza [500] and change 500 to your node number i.e. [12345]
[12345]
Change the following lines for your node stanza.
host=127.0.0.1:5038 user=admin passwd=yourpassword nomenu=no hideNodeURL=no menu=yes
(note: 'llcgi' is the default password according to the initial node setup)
After making your changes type <CTRL> + <X> and then type <Y> followed by <Enter>. You will be back to the previous menu and choose <Back>.
Next, type the following commands:
mv -f /var/www/html/allmon2/allmon.ini.php $WEBROOT/allmon2/allmon.ini.php.$DATEEXT 2>/dev/null #backup default cp -f /usr/local/sbin/allmon.ini.php /var/www/html/allmon2/allmon.ini.php 2>/dev/null #copy what node-setup script created
sudo htpasswd -cB /var/www/html/allmon2/.htpasswd admin
Next you have to type twice your password (note: 'llcgi' is the default password according to the initial node setup).
yourpassword
yourpassword
sudo chmod 777 astdb.php
Allmon2 Test and Use.
Using your web browser go to:
http:192.168.x.x/allmon2
Note: where 192.168.x.x is your node's IP.
There you can login with the user 'admin' and your password 'yourpassword' or remember default password is 'llcgi'.