Submitted by admin on Mon, 10/05/2015 - 06:04
This is how I normally set up my local Drupal development machines after a fresh Ubuntu 14.04 LTS (desktop/MATE edition) install.
1. Install required packages
From Terminal, execute the following command to update the repository information and to get the system up-to-date:
sudo apt-get update
sudo apt-get upgrade
Next, install some basic necessities:
Submitted by anto on Thu, 07/18/2013 - 06:30
Setting up a LAMP (Apache, MySQL, PHP) development environment on Ubuntu 11.04 (Natty) / 11.10 (Oneiric) for Drupal/Wordpress development
Package Installation
From Terminal, execute the following command to install the required packages:
sudo apt-get install apache2 mysql-server mysql-client php5 libapache2-mod-php5 php5-gd php5-mysql php5-cli php5-curl kcachegrind php5-ffmpeg php5-mcrypt php5-imagick php5-xdebug phpmyadmin
Additional Configuration
1. To fix the Fully Qualified Domain Name issue for Apache
Submitted by anto on Wed, 08/29/2012 - 14:52
One of the Drupal sites that we got to work with had this issue. The original server that the site was hosted on did not have any issue. But the issue showed up when it was transferred over to a new server.
This usually happens when you are missing the php5-curl library.
On Ubuntu, just run the following commands in your terminal to fix this:
sudo apt-get install php5-curl
sudo /etc/init.d/apache2 restart
If not on Ubuntu, check for the correct alternative to 'apt-get' for your distribution.
Submitted by anto on Sun, 11/06/2011 - 15:31
Setting up a LAMP (Apache, MySQL, PHP) development environment on Ubuntu 11.04 (Natty) / 11.10 (Oneiric) for Drupal/Wordpress development
Package Installation
From Terminal, execute the following command to install the required packages:
sudo apt-get install apache2 mysql-server mysql-admin mysql-query-browser mysql-client mysql-navigator php5 libapache2-mod-php5 php5-gd php5-mysql php5-cli php5-curl kcachegrind php5-ffmpeg php5-mcrypt php5-imagick php5-xdebug phpmyadmin
Additional Configuration
1. To fix the Fully Qualified Domain Name issue for Apache