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

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.

主站蜘蛛池模板: 英山县| 萨迦县| 会宁县| 阜平县| 金昌市| 海淀区| 福海县| 嘉定区| 潞西市| 太湖县| 香格里拉县| 乐业县| 青海省| 涿州市| 江西省| 修武县| 镇沅| 乌鲁木齐县| 汉川市| 方城县| 宜都市| 梧州市| 郑州市| 沛县| 抚顺县| 长乐市| 都安| 怀安县| 包头市| 车致| 宁晋县| 普陀区| 云阳县| 定南县| 吉林省| 和政县| 龙岩市| 庄河市| 兴文县| 东台市| 沂南县|