Downloading Drupal



Drupal is available for download from http://drupal.org/project/drupal. At the time of this writing, Drupal 7.12 is the current release. We will download it and move the contents to the web server\'s document root (/var/www in the configuration). Following is how it is done in a UNIX shell:


$ cd /tmp


$ wget http://ftp.drupal.org/files/projects/drupal-7.12.tar.gz


$ tar -zxf drupal-7.12.tar.gz


$ mv /drupal-7.12 /var/www


The command fetches a recent copy of Drupal using the wget command-line HTTP client. Next, we uncompress and unpack the archive in one step. Then we move the contents of the archive to the document root we configured. When we configured Apache we declared that the server\'s document root (DocumentRoot) was /var/www. That is where our Drupal files must go.


The Vagrant profile\'s document root


In the Vagrant profile, the document root is in /vagrant/ public/drupal/www, which is available on both the host computer and the virtual machine. Drupal is installed there.


Once you are done, double check to make sure that /var/www/.htaccess and /var/www/index.php exist. While those are not the only two files in the directory, they are both very important. If they are missing, something in those four steps has gone awry.


We have three databases ready and Drupal is now located in the correct place, but it is not technically installed. To install Drupal, we will need to perform a pair of minor tasks on the command line and then run Drupal\'s web-based installer.

Editor: ankita Added on: 2013-03-13 15:59:19 Total View:304







Disclimer: PCDS.CO.IN not responsible for any content, information, data or any feature of website. If you are using this website then its your own responsibility to understand the content of the website

--------- Tutorials ---