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

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.

主站蜘蛛池模板: 林甸县| 绩溪县| 剑河县| 万盛区| 南丹县| 平顺县| 垫江县| 确山县| 安达市| 高碑店市| 黔西县| 葫芦岛市| 汉中市| 仙游县| 江华| 怀宁县| 津市市| 东兴市| 贡嘎县| 教育| 临安市| 樟树市| 伊通| 青龙| 宿迁市| 连云港市| 龙泉市| 常熟市| 阜南县| 营口市| 故城县| 万全县| 三台县| 雅江县| 丹棱县| 荣成市| 泰兴市| 定南县| 三门县| 博客| 日土县|