Skip to main content

Installing Drupal

1. Download drupal(latest stable version ) from drupal.org
2. unzip and transfer to website root , say
    /var/www/drupal6.13/  - ubuntu
               OR
   /httpdocs/                       -centOS
                     Or you can make a subdir inside these folders if you have more than more sites running on the server.

3. Then go to http://localhost/test/drupal-6.17/  OR
 
    http://yourwebsiteURL.com/drupal-6.13 and simply follow the steps given and refer to INSTALL.txt file inside the drupal folder !

     Some useful command and things you may require while configuring Drupal :

       1. command to  check the Privilages any user has on databases
           

SHOW GRANTS;
SHOW GRANTS FOR CURRENT_USER;
SHOW GRANTS FOR CURRENT_USER(); ...
2.  You may get this Error at some point of time when you install diff modules, so its suggested to increase the memory size as mentioned below.
         Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 168767 bytes) in /var/www/test/drupal-6.17/includes/menu.inc on line 966

 Solution : increase the memory limit tp 128 in php.ini file *( you can chk the location of php.ini file in status report of admin section of drupal- pho version )

   3.  Command to restart the apache (you may need this at times after installing of some modules) 

       > sudo /etc/init.d/apache2

  4.  Command to chk the GDB installation and version

       > apt-cache showpkg php5-gd

   you may need to check this when you get the following error :

   
   Problem in status report file :
   The GD library for PHP is missing or outdated. Please check the PHP image   documentation for information on how to correct this.

Video For How to Download /Install Drupal :
    Video: Download /Install
For further reading :
    11-most-important-things-to-do-after-installing-drupal

Comments

Popular posts from this blog

Backslash on mac

I had been struggling to type back slash ( \) character on mac japanese keyboard as they don't have it printed on the keyboard, and I was doing copy paste all the time from google when i needed to type it until recently a tip came to my rescue , shortcut to backslash on mac japanese keyboard. Alt + ¥  Hope it helps others. 
Should we allow our staff to use social networking sites? Some people say they are dangerous but I can't see how. Can you explain the dangers? > EXPERT RESPONSE There's nothing wrong with using Facebook, other than the potential impact on working time, but that's not a security matter! The issue is in how your staff configures Facebook, and what information they place on it. A few tips to pass on to your staff: Don't allow anyone that isn't part of your network of 'friends' to see your profile. Don't allow non-friends to see your friends. Why? I could easily impersonate one of your friends, fake a new profile, and send you an invite. You accept, thinking a genuine friend has created a new profile, then I'm in your network of friends and can see your profile. Think about what information is in your profile. What would be useful in stealing your identity? Date of birth, address, email address, employer, interests. why does this type of information n...