Line 1: |
Line 1: |
− | Allmon2 Install.
| + | [[Category:How to]] |
− | | + | [[Category:Node Configuration]] |
− | == Allmon2 Install. ==
| + | [[Category:Allmon2]] |
− | | |
| 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. | | 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:~$ |
− | repeater@repeater:~$ | |
− | | |
| | | |
| Once you are there you have to type the following commands: | | Once you are there you have to type the following commands: |
| | | |
− | | + | <syntaxhighlight lang="bash"> |
| repeater@repeater:~$ sudo apt install git | | repeater@repeater:~$ sudo apt install git |
− |
| |
| repeater@repeater:~$ sudo git clone https://github.com/tsawyer/allmon2.git /var/www/html/allmon2 | | repeater@repeater:~$ sudo git clone https://github.com/tsawyer/allmon2.git /var/www/html/allmon2 |
− |
| |
| repeater@repeater:~$ cd /var/www/html/allmon2 | | repeater@repeater:~$ cd /var/www/html/allmon2 |
− |
| |
| repeater@repeater:~$ sudo mv allmon.ini.txt allmon.ini.php | | repeater@repeater:~$ sudo mv allmon.ini.txt allmon.ini.php |
− |
| |
| repeater@repeater:~$ sudo mv controlpanel.ini.txt controlpanel.ini.php | | repeater@repeater:~$ sudo mv controlpanel.ini.txt controlpanel.ini.php |
| + | </syntaxhighlight> |
| | | |
− | | + | == Configuration == |
− | | |
− | == Allmon2 Configuration. == | |
| | | |
| Now you have to edit the allmon.ini.php file: | | Now you have to edit the allmon.ini.php file: |
| | | |
− | | + | <syntaxhighlight lang="bash">repeater@repeater:~$ sudo nano allmon.ini.php</syntaxhighlight> |
− | repeater@repeater:~$ sudo nano allmon.ini.php | |
| | | |
| # Change: the '500' number [500] to your node number. | | # Change: the '500' number [500] to your node number. |
Line 36: |
Line 27: |
| # (note: 'llcgi' is the default password acording to the initial node setup) | | # (note: 'llcgi' is the default password acording to the initial node setup) |
| # Change: menu=yes | | # Change: menu=yes |
− |
| |
| | | |
| 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>'''. |
| | | |
− | | + | <syntaxhighlight lang="bash"> |
| repeater@repeater:~$ htpasswd -cB .htpasswd admin | | repeater@repeater:~$ htpasswd -cB .htpasswd admin |
− |
| |
| repeater@repeater:~$ chmod 777 astdb.php | | repeater@repeater:~$ chmod 777 astdb.php |
| + | </syntaxhighlight> |
| | | |
| + | == Test and Use == |
| | | |
− | == Allmon2 Test and Use. ==
| + | Using your web browser go to: |
| | | |
− | Using your web browser go to:
| + | Note: 192.168.x.x is your nodes IP. |
| | | |
| + | <syntaxhighlight lang="http">http://192.168.x.x/allmon2</syntaxhighlight> |
| | | |
− | Note: 192.168.x.x is your nodes IP.
| + | There you can login with the user 'admin' and your password 'yourpassword' or remember default password is 'llcgi'. |
| | | |
− | http:192.168.x.x/allmon2
| + | == Lighttpd Notes == |
| + | '''If you are using Lighttpd, you must modify your configuration to work with Allmon2.''' |
| | | |
− | There you can login with the user 'admin' and your password 'yourpassword'.
| + | Add the following line: |
| + | <syntaxhighlight lang="ini">server.stream-response-body = 2</syntaxhighlight> |
| + | to /etc/lighttpd/lighttpd.conf and restart lighttpd. |