官术网_书友最值得收藏!

Setting up the necessary modules on Linux systems

Besides having a functional AMP stack, our web server needs a few additional modules. These are Perl modules, some of which deal with compression, while others provide extension means (SOAP). Getting these installed requires just a minute's work.

Here's how we can do this using the following commands in yum:

# yum install perl-XML-Simple # yum install perl-Compress-Zlib # yum install perl-DBI # yum install perl-DBD-MySQL # yum install perl-Apache-DBI # yum install perl-Net-IP # yum install perl-SOAP-Lite 

We can do the same with APT as well by using the following commands:

# apt-get install libxml-simple-perl # apt-get install libcompress-zlib-perl # apt-get install libdbi-perl # apt-get install libdbd-mysql-perl # apt-get install libapache-dbi-perl # apt-get install libnet-ip-perl # apt-get install libsoap-lite-perl # cpan -i XML::Entities 

And in the case of Portage, we run the following emerge commands:

# emerge dev-perl/XML-Simple # emerge perl-core/IO-Compress # emerge dev-perl/Apache-DBI # emerge dev-perl/Net-IP # emerge dev-perl/SOAP-Lite # emerge app-portage/g-cpan # g-cpan -i XML::Entities 

As a final note, it does not matter if some of the modules are already installed. Running the commands just mentioned on either package management system won't do any harm. They will be checked, and if they are found to be present, a warning will be printed on the screen.

The SOAP-related modules are optional. They can be installed when needed later on, too.

主站蜘蛛池模板: 略阳县| 贵港市| 昌吉市| 西乌| 宜城市| 潮州市| 启东市| 冀州市| 平果县| 元江| 临安市| 普洱| 大英县| 上栗县| 镇坪县| 汨罗市| 阳原县| 长沙县| 枣阳市| 东乡族自治县| 庆城县| 静宁县| 敦化市| 大英县| 青州市| 咸宁市| 民丰县| 石城县| 澄城县| 抚州市| 渝中区| 潼关县| 尉犁县| 万年县| 水城县| 满洲里市| 湖北省| 富民县| 合作市| 梁平县| 衡东县|