|
||||
|
|
Installing Required Packages
From your workstation, SSH into your new server and install some required packages. Please note that the "urpmi" command must all go on one line. We'll also execute some commands to start the
su - root
urpmi OpenSP OpenSP-devel perl-devel perl-HTML-Tidy apache-mpm-prefork curl libcurl4-devel \
perl-libwww-perl ImageMagick glibc-devel libstdc++-devel gcc gcc-c++ make patch \
libxml-devel libpq5 nano screen
chkconfig httpd on
/etc/rc.d/init.d/httpd start
Next, we'll be installing a lot of CPAN (Comprehensive Perl Archive Network) modules using the interactive CPAN shell. Since will be the first time we've run the interactive shell, you'll be asked if you would like most of the settings automatically configured. I usually answer "no" to this, and accept most of the defaults. I specify "follow" when asked if I would like to automatically install prerequisite modules, and "UNINST=1" to automatically remove conflicting packages. If you don't specify "follow" when asked, you will have to manually confirm each needed package, which can get tedious after a while. The "o conf commit" command saves your configuration choices for the shell. perl -MCPAN -e shell (the interactive shell starts) o conf commit install YAML install IO::Compress::Bzip2 install CPAN::DistnameInfo install XML::XPath install HTML::Tidy force install Bundle::W3C::Validator quit We have to force the W3C bundle to install due to some outstanding issues with the "XML::LibXML" module. Don't worry, everything will work properly once we're finished. Next, we'll run a couple of commands to permanently set the system hostname and reboot the server. Be sure to substitute your local domain for "yourdomain.com" in the command below. echo validator.yourdomain.com > /etc/hostname echo 'hostname -F /etc/hostname' >> /etc/rc.d/rc.local reboot Continue: Installing the W3C Validator Table of Contents
|
|||
| All contents Copyright © 2007-2009 ClassHelper.org®. Please see our Privacy Policy. | ||||