Compaq Presario CQ61 Protect folders. htaccess
In the previous post install munin, which shows statistics http://localhost/munin system.
Now we can protect access to this folder so that only authorized users can access them.
create the directory / var / www / munin file. htaccess with the following contents:
AuthName "Login"
AuthType Basic AuthUserFile / var / www / munin / .htpasswd
require valid-user
Now create the file. Htpasswd and add a user:
htpasswd-c. htpasswd USER
We have it protected. More information here .
Note: default ubuntu directives are ignored. Htpasswd to activate must edit the file:
/ etc/apache2/sites-available/default
And replace directives:
AllowOverride None
By:
AllowOverride All
Now the run.
Friday, January 1, 2010
Fake Community Service For High School
Monitors the system by size munin
Munin is a tool that creates and updates a lot of graphics on various indicators of system performance. You can customize and can also monitor remote machines.
At its most basic installation, monitor the local computer, simply install it with:
apt-get install munin munin-node
and see the results in:
http://localhost/munin/
More information here operation.
Munin is a tool that creates and updates a lot of graphics on various indicators of system performance. You can customize and can also monitor remote machines.
At its most basic installation, monitor the local computer, simply install it with:
apt-get install munin munin-node
and see the results in:
http://localhost/munin/
More information here operation.
Subscribe to:
Posts (Atom)