Webmin与CSF的安装与配置

 
Webmin与CSF的安装与配置(CentOS 5.5+)
 
 
curl http://iso.***.com/scripts/webmin.sh|bash
记得最后一步骤要手动进去添加csf 的webmin模块。
 
Webmin > Webmin Configuration > Webmin Modules >
  From local file > /etc/csf/csfwebmin.tgz > Install Module
 
Webmin
 
首先到Webmin的网站:http://www.webmin.com/左侧下载合适的安装包,比如RPM(CentOS、RedHat、Fedora)
 
wget http://downloads.sourceforge.net/project/webadmin/webmin/1.580/webmin-1.580-1.noarch.rpm?r=http%3A%2F%2Fwww.webmin.com%2F&ts=1334827545&use_mirror=jaist
然后运行:
 
rpm -Uvh webmin-1.580-1.noarch.rpm
或者直接:
 
rpm -Uvh http://downloads.sourceforge.net/project/webadmin/webmin/1.580/webmin-1.580-1.noarch.rpm?r=http%3A%2F%2Fwww.webmin.com%2F&ts=1334827545&use_mirror=jaist
安装好之后可以通过http://your_ip:10000/访问,初始用户名和密码为root的用户名和密码。 如果防火墙没有开放10000端口,用如下方式打开:
 
iptables -A INPUT -p tcp -m tcp --dport 10000 -j ACCEPT
 
CSF
 
先到http://www.configserver.com/cp/csf.html下载csf.tgz
 
下载好之后用如下命令进行安装:
 
rm -fv csf.tgz
wget http://www.configserver.com/free/csf.tgz
tar -xzf csf.tgz
cd csf
sh install.sh
如果说
 
You need to install the LWP perl module (libwww-perl) and then install csf
只需要运行进行
 
yum install perl-libwww-perl
安装即可。
 
 
为Webmin安装CSF模块
 
Webmin > Webmin Configuration > Webmin Modules >
  From local file > /etc/csf/csfwebmin.tgz > Install Module
 
 

本文出自 “梦女孩” 博客,转载请与作者联系!

你可能感兴趣的:(webmin,csf)