Clone Drupal

Now you can tell SmartGit to clone an existing repository, and give it the url for the Drupal project
Uncheck the "Fetch all Heads and Tags" box, and select the heads/8.0.x branch.


Now you can install SmartGit. I prefer it over other git options for it's visualization of a selected git repo and it's easing of workflow tasks. There is a link on the right side of this page to a debian package: Download the deb file and open it in the Ubuntu Software Center.


Next follow the instructions here: to install the latest jdk. While I respect the folks at Open JDK, this is one of those rare cases where I'll take the freedom hit in exchange for performance and conformity to the defacto standard.

The Drupal Stack

This stage will involve setting up Java, git and a git client. The particular git client I recommend runs on Java, as does the IDE that we will install later.

Configure Apache

You now need to enable the mpm-itk apache module, the rewrite module, and prepare a virtual server entry for apache:

sudo a2enmod mpm_itk
sudo a2enmod rewrite
sudo gedit /etc/apache2/sites-available/development.conf

Now copy the following and paste it into your development.conf file. Then do a text search for "USER", and replace the four instances with your linux username.

Install Main Packages

Go ahead and open up a terminal window and install some more packages:
sudo apt-get install synaptic apache2 apache2-mpm-itk php5 php5-curl php5-dev php5-intl php5-mcrypt php5-mysql php5-sqlite php5-xdebug mysql-server phpmyadmin git ssh
You'll be prompted to enter a mysql root password, and phpmyadmin administrator password. Do Not Leave Them Blank! When you are finished, you will be running a full lamp stack on your machine, and it will be accessible from any machine on your local network, including the open wifi at your coffee shop.


Subscribe with RSS Subscribe to RSS - Beginner