
Kultra – Ubuntu Install
Created by: Shawn Peters
Install basic Ubuntu server install. I used Ubuntu Server v10.10 x64.
Fisrt update repositories:
sudo apt-get update
Install nano (terminal based text editor) and wget (file downloader):
sudo apt-get install nano wget
Install Apache2 web server:
sudo apt-get install apache2
Enable Apache mods and then restart Apache2: (rewrite, headers, expires, filter, deflate,
file_cache, env, proxy)
sudo a2enmod rewrite headers expires filter deflate file_cache env proxy
sudo /etc/init.d/apache2 restart
Install PHP5:
sudo apt-get install libapache2-mod-php5
Install additional PHP packages (case Sensitive):
sudo apt-get install php5-cli php5-mysql php5-gd php5-xsl php5-curl php5-Gd
php5-Memcache php5-Exif php5-ftp php5-iconv php5-json php5-Session php5-apc
php5-spl php5-DOM php5-SimpleXML php5-xml php5-imap php5-ctype
** Verify that the following settings within the php.ini file on each server (for both php and php-
cli):
- For PHP 5.3: Verify that request_order parameter includes C, G and P (Default Value: "CGP")
- For PHP 5.2: Verify that variables_order parameter in php.ini includes C, G and P
sudo nano /etc/php5/apache2/php.ini
sudo nano /etc/php5/cli/php.ini
评论0