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

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.

主站蜘蛛池模板: 星子县| 长丰县| 神木县| 沾化县| 将乐县| 泽库县| 洛扎县| 乌鲁木齐市| 长沙市| 阿克| 诏安县| 高州市| 阳江市| 维西| 尉犁县| 扎赉特旗| 鄱阳县| 随州市| 弋阳县| 馆陶县| 大城县| 红原县| 沁阳市| 肥西县| 辽中县| 萍乡市| 札达县| 上饶县| 奉节县| 武城县| 民丰县| 平湖市| 黄梅县| 马关县| 五常市| 慈溪市| 鹤岗市| 曲阳县| 米泉市| 疏勒县| 高尔夫|