Line 8: |
Line 8: |
| Once you are there you have to type the following commands: | | Once you are there you have to type the following commands: |
| | | |
− | <pre> | + | <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 |
Line 14: |
Line 14: |
| 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 |
− | </pre> | + | </syntaxhighlight> |
| | | |
| == Configuration == | | == Configuration == |
Line 20: |
Line 20: |
| Now you have to edit the allmon.ini.php file: | | Now you have to edit the allmon.ini.php file: |
| | | |
− | repeater@repeater:~$ sudo nano allmon.ini.php | + | <syntaxhighlight lang="bash">repeater@repeater:~$ sudo nano allmon.ini.php</syntaxhighlight> |
| | | |
| # Change: the '500' number [500] to your node number. | | # Change: the '500' number [500] to your node number. |
Line 30: |
Line 30: |
| 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>'''. |
| | | |
− | <pre> | + | <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 |
− | </pre> | + | </syntaxhighlight> |
| | | |
| == Test and Use == | | == Test and Use == |
Line 41: |
Line 41: |
| Note: 192.168.x.x is your nodes IP. | | Note: 192.168.x.x is your nodes IP. |
| | | |
− | http://192.168.x.x/allmon2
| + | <syntaxhighlight lang="http">http://192.168.x.x/allmon2</syntaxhighlight> |
| | | |
| 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'. |
Line 48: |
Line 48: |
| '''If you are using Lighttpd, you must modify your configuration to work with Allmon2.''' | | '''If you are using Lighttpd, you must modify your configuration to work with Allmon2.''' |
| | | |
− | Add | + | Add the following line: |
− | server.stream-response-body = 2
| + | <syntaxhighlight lang="ini">server.stream-response-body = 2</syntaxhighlight> |
| to /etc/lighttpd/lighttpd.conf and restart lighttpd. | | to /etc/lighttpd/lighttpd.conf and restart lighttpd. |