2_2 linux 安装 Perl

通过浏览器 http://www.perl.org/get.html。

下载适用于 Unix/Linux 的源码包。

1 安装 gcc

yum install -y gcc

2  安装Perl

wget http://www.cpan.org/src/5.0/perl-5.16.1.tar.gz
tar -xzf perl-5.16.1.tar.gz
cd perl-5.16.1
./Configure -des -Dprefix=/usr/local/perl
make && make test && make install

测试:perl -v

扩展:配置端口  (/etc/host)

192.168.31.187 eshop-cache01
192.168.31.xxx eshop-cache02

发布了4 篇原创文章 · 获赞 0 · 访问量 26

猜你喜欢

转载自blog.csdn.net/world6968/article/details/94791670