You are on page 1of 11

Drupal Module Development

Outline
LAMP Installation Drush Installation Drupal Installation Workshop 1 Setting up Drupal CMS

LAMP

LAMP working environment platform for opensource CMS/Web Applications


Linux Operating System Apache Web Server Mysql Database Server PHP servser-side scripting language

ScreenShot

Installation Guide
Download XAMPP Install XAMPP in your PC
/opt sudo tar xzvf xampp.x.x.x.tar.gz C /opt sudo /opt/lampp/lampp start sudo /opt/lampp/lampp stop

edit httpd-xampp.conf
sudo vi /opt/lampp/etc/extra/httpd-xampp.conf Insert Require all granted in <Directory /opt/lampp/phpmyadmin> after Allow from all entry

Drush
Drupal Shell Drush Command Line Interface for
Drupal Site Management Why use Drush?
Save time Scriptable Reduce overhead

Drush Installation
Download Drush Install drush in to your PC
drush-7.x.5.9.tar.gz sudo tar xzvf drush-7.x.5.9.tar.gz C /home/ict-clientx/projects chmod u+x /home/ict-clientx/drush/drush

Include drush in the PATH through .bashrc


cd sudo vi .bashrc export PATH=$PATH:/home/ictclientx/drush:/opt/lampp/bin:/usr/local/bin

Drush Basic Commands


To install drupal
sudo drush dl drupal-6.28

To download module
sudo drush dl devel

To enable module
sudo drush en devel

To disable module
sudo drush dis devel

Setting DB for Drupal


Using phpmyadmin
create moduledev database username: moduledev password: moduledev

Workshop
Installation of XAMMP and Drupal

Drupal Module Development

ICT Center
We are making IT happen

Integrity

Commitment

Teamwork

You might also like