首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网站开发 > PHP >

配备phpmyadmin munin htpasswd

2012-08-10 
配置phpmyadmin muninhtpasswdconfigVirtualHost *:80ServerName 110.111.22.45ServerAdmin webmaster@l

配置phpmyadmin munin htpasswd

config

<VirtualHost *:80>        ServerName 110.111.22.45        ServerAdmin webmaster@localhostAlias /munin /var/cache/munin/www<Directory /var/cache/munin/www>Options FollowSymLinks MultiViewsAllowOverride NoneOrder allow,denyallow from all AuthUserFile /etc/munin/munin-htpasswd AuthName "Munin" AuthType Basic require valid-user    <IfModule mod_expires.c>ExpiresActive OnExpiresDefault M310    </IfModule></Directory>        alias /phpmyadmin /usr/share/phpmyadmin        <Directory /usr/share/phpmyadmin>                Options FollowSymLinks MultiViews                AllowOverride None                Order allow,deny                allow from all        </Directory>        ErrorLog /var/log/apache2/error.log        # Possible values include: debug, info, notice, warn, error, crit,        # alert, emerg.        LogLevel error        CustomLog /var/log/apache2/access.log combined</VirtualHost>

?apt-get install munin,munin-node

apt-get installphpmyadmin

?

?

sudo htpasswd -c .my_passwd username

热点排行