Pages

Welcome to My Blog

This is to share my IT experience with friends all around the world.
I have been working in Linux Fedora Systems for more than 8 years. Its fun to share knowledge and learn..
As everyone knows when a problem arises in your systems "googling" is the way that many depend on..

All the posts here are my working experiences during my working life.. So you can count on it..

I have added the references where I got help in solving IT issues


Wednesday, January 2, 2013

Moving Drupal Site to another server

We are using dupal 7 and required to move the site from the development server to the real working server. The steps we followed were as follows;

  • Backup the folder containing the website
  • Get the mysql dump file from the development server

  • Copy the backedup folder to the website document root at working server and changed the ownership of the folder to the apache user
  • Configure apache to accept requests of the website 
    • Edit the httpd.conf and add another name based virtual host to the file with the document root and server name of the website 
  • Created the database and database user to access the database
  • Restore the  mysql dump with following command
mysql -u database_user database_name < dump_file
Restart apache

You need to update DNS of the website to the new server