how to install drupal on debian etch

1. create a directory  /var/www/drupal/
cd  /var/www/drupal/
 
 
tar -xzvf drupal-6.0-beta1.tar.gz
2. set the permissions for  /var/www/drupal/sites/default and  /var/www/drupal/sites/default/setting.php
chmod o+w  /var/www/drupal/sites/default
chmod o+w  /var/www/drupal/sites/default/setting.php
 
3. create a database drupal  and assign/creat a user for it
 
mysqladmin -u root -pagnello create drupal 
 
log into mysql and use drupal db
 
GRANT ALL ON drupal.* to 'agnello'@'localhost' IDENTIFIED BY 'agnello';
quit;
 
4. edit the following vi /etc/apache2/sites-available/default ( using name based virtual hosting )
 

<VirtualHost *>
        # Basic setup
        ServerAdmin webmaster@test-server.com
        ServerName drupal.test-server.com
        ServerAlias drupal.test-server.com
        DocumentRoot /var/www/drupal/


# HTML documents, with indexing.
        <Directory />
        Options +Includes
        </Directory>

# CGI Handling
#  ScriptAlias /cgi-bin/ /home/www/www.foo.com/cgi-bin/
# <Location /cgi-bin>
#  Options +ExecCGI
# </Location>

#Logfiles
         ErrorLog  /var/log/test-server.com/drupla/error.log
         CustomLog /var/log/test-server.com/drupal/access.log combined
 </VirtualHost>

restart apache 2
 
5. run the following link on ur browser http://drupal.test-server.com
 
 
now configure the setting use the  the same user name and password for db wen asked  !!!!!!!


--

No comments:

Other Articles

Enter your email address: