VMware Images:
|
The Perfect Server - Fedora 13 x86_64 [ISPConfig 3] - Page 5
15 Installing mod_php, mod_fcgi/PHP5, And suPHPISPConfig 3 allows you to use mod_php, mod_fcgi/PHP5, cgi/PHP5, and suPHP on a per website basis. We can install Apache2 with mod_php5, mod_fcgid, and PHP5 as follows: yum install php php-devel php-gd php-imap php-ldap php-mysql php-odbc php-pear php-xml php-xmlrpc php-mbstring php-mcrypt php-mhash php-mssql php-snmp php-soap php-tidy curl curl-devel perl-libwww-perl ImageMagick libxml2 libxml2-devel mod_fcgid php-cli httpd-devel Next we open /etc/php.ini... vi /etc/php.ini ... and change the error reporting (so that notices aren't shown any longer) and add cgi.fix_pathinfo = 1 at the end of the file:
Next we install suPHP: cd /tmp Then we add the suPHP module to our Apache configuration... vi /etc/httpd/conf.d/suphp.conf
... and create the file /etc/suphp.conf as follows: vi /etc/suphp.conf
Finally we restart Apache: /etc/init.d/httpd restart
16 Install PureFTPdPureFTPd can be installed with the following command: yum install pure-ftpd Then create the system startup links and start PureFTPd: chkconfig --levels 235 pure-ftpd on
17 Install BINDWe can install BIND as follows: yum install bind bind-utils Then we create the startup links: chkconfig --levels 235 named on We don't start BIND now because it must be configured first - this will be done automatically by the ISPConfig 3 installer later on.
18 Install Vlogger And WebalizerVlogger and webalizer can be installed as follows: yum install webalizer perl-DateTime-Format-HTTP perl-DateTime-Format-Builder cd /tmp
19 Install JailkitJailkit is needed only if you want to chroot SSH users. It can be installed as follows (important: Jailkit must be installed before ISPConfig - it cannot be installed afterwards!): cd /tmp
20 Install fail2banThis is optional but recommended, because the ISPConfig monitor tries to show the log: yum install fail2ban chkconfig --levels 235 fail2ban on
21 Install rkhunterrkhunter can be installed as follows: yum install rkhunter
|



Recent comments
8 hours 44 min ago
13 hours 43 min ago
15 hours 9 min ago
16 hours 2 min ago
17 hours 45 min ago
22 hours 9 min ago
23 hours 1 min ago
1 day 1 hour ago
1 day 14 hours ago
1 day 15 hours ago