我试图安assembly置服务器防火墙但是当我按照教程和运行install.sh我得到以下错误。 谁能帮忙?
root@localhost:~/csf# sh install.sh Configuring for OS Running csf generic installer Installing generic csf and lfd Check we're running as root Checking Perl modules... Can't locate LWP/UserAgent.pm in @INC (@INC contains: /etc/csf /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at (eval 22) line 2. BEGIN failed--compilation aborted at (eval 22) line 2. Configuration modified for Debian/Ubuntu/Gentoo settings /etc/csf/csf.conf You need to install the missing perl modules and then install cxs root@localhost:~/csf#
我运行Linux本地主机3.2.0-1-amd64#1 SMP星期二1月24日05:01:45 UTC 2012 x86_64 GNU / Linux的Debian 6
你需要安装libwww-perl 。
sudo aptitude install libwww-perl
要么
sudo perl -MCPAN -e 'install Bundle::LWP'
要么
wget http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/libwww-perl-6.04.tar.gz tar xzf libwww-perl-6.04.tar.gz cd libwww-perl-6.04 perl Makefile.PL make sudo make install