User Tools

Site Tools


tutorials:server:moving_installation

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
tutorials:server:moving_installation [2010/04/28 18:22]
jonyo created (moved from start)
tutorials:server:moving_installation [2014/09/25 16:55] (current)
Line 1: Line 1:
-====== Moving Installation to New Server ======+====== Moving Installation to New Server (MOVED) ======
  
-When moving the software from one server to another there are five things to consider. The actual files (php, images, etc...), the database, admin settings, html and license. +Instructions have moved **See [[tutorials:server:migration:start]]**
- +
-1) Files:  +
-This is the easiest step. With respect to the software, you will simply need to transfer all of the files of the software including subdirectories and the files in the subdirectories from your old server to your new server. +
- +
-2) The database:  +
-Most hosts provide a program called phpMyAdmin for administering your MySQL databases of your hosting account. You will first want to use phpMyAdmin to create a backup of the database of the old installation in sql format.  +
-<tip c n> Be sure to use the Drop Table option as it makes recreating the database a bit easier. </tip> +
-Once you have this done, you can use this backup sql document just created to create the "geodesic" installation database tables in the MySQL database created for your installation on your new serverMoving the database over from the old installation to the new installation "moves" all the changes, configurations and settings you made through the old installations admin tool into the new installation. Consult your host's support documentation as they should provide help documents regarding using phpmyadmin. +
- +
- 3) The adminOnce the files have been transferred and the database has been created, there are a few settings that need to be addressed in the config.php file and admin to correspond with the new server. Below is the list of them: +
- +
- 4) The config.php file: +
-Will need to be edited to match your new database connection settings. This includes the new database server location (usually localhost), database name, database username and password to connect to that new database. Once this is done you can then log into the admin. Check all of the "location" settings within the two admin tool pages below in case the actual url has changed. +
- +
-  SITE SETUP > GENERAL +
- +
-  REGISTRATION SETUP > GENERAL +
- +
-Check the setting below to make sure the server path to the "user images" directory matches the directory structure of your new server. +
- +
-  ADMIN > LISTING SETUP > PHOTO UPLOAD SETTINGS > "server path to root of photos directory" (pre version 4.1) +
- +
-  ADMIN > LISTING SETUP > FILE UPLOAD & DISPLAY SETTINGS > Server Path to Root of Photos Directory (post version 4.1) +
- +
-Also double check that the above mentioned directory has the correct rights on it so the script can "write" uploaded files to that directory like your previous installation had. +
- +
-5) The html: +
-Within your templates and/or html logged in/out modules, you may have to adjust links and image references. This typically will need to be done if you changed the domain name or if you changed the subdirectory that the software is installed relative to the domain. +
- +
-6) SEO:   +
-If you use the SEO addon to rewrite your urls to more Search Engine friendly ones you may need to recreate the "rewrite rules" within your .htaccess file to reflect the new location...possibly the new domain if that changed.  Go to the SEO addon wizard to recreate that file. +
- +
-7) The license for you installation has almost undoubtedly changed somewhat. You will need to contact [email protected] with the new installation locations ip address, url and server path to the installation so that the license can be updated to the new location. +
- +
-All in all it is a pretty simple and straight forward process but if you feel that you do not want to do this, we do offer this as a service. Please contact [email protected] if you would like us to perform this for you. +
- +
-<tip c n>This tutorial will also work when creating a duplicate installation for staging or testing purposes</tip>+
tutorials/server/moving_installation.1272478943.txt.gz · Last modified: 2014/09/25 16:55 (external edit)