sudo apt-get install phpmyadmin
sudo ln -s /usr/share/phpmyadmin /var/www/phpmyadmin
sudo apt-get install php5-xcachesudo ln -s /usr/share/xcache /var/www/xcache
sudo apt-get install memcached
sudo apt-get install php5-memcache
sudo apt-get install php5-xdebug Enable apache url rewriter
sudo a2enmod rewrite
apache2ctl -M
modify /etc/apahce2/sites-available/default
<Directory /var/www>
AllowOverride All
</Directory>
If encount error: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
sudo vi /etc/apache2/httpd.conf
add line: ServerName localhost
Add VirtualHost for apache
sudo vi /etc/hosts
append line: 127.0.0.1 hostname.local
sudo vi /etc/apache2/sites-available/hostname
append lines:
<VirtualHost *:80>
ServerName hostname.local
DocumentRoot /var/www/hostname
</VirtualHost>
sudo ln -s /etc/apache2/sites-available/hostname /etc/apache2/sites-enabled/hostname
install Oracle Instant Client, reference to https://help.ubuntu.com/community/Oracle Instant Client
download from www.oracle.com/technetwork/topics/linuxsoft-082809.htmlsudo pecl install oci8
if promot phpize not founde then run
sudo apt-get install php5-dev
Download drupal source file and install:
cd /usr/share
tar xzvf /home/username/Downloads/drupal-7.17.tar.gz
sudo ln -s /usr/share/drupal-7.17 /var/www/drupal
Install Pear and Drush:
sudo apt-get install php-pear
sudo pear channel-discovery pear.drush.org
sudo pear install drush/drush
Install Drupal Module by Drush:
cd /usr/share/drupal/sites/all/modules
sudo drush dl module_filter
sduo drush en module_filter