User Tools

Site Tools


migration:ispcp

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
migration:ispcp [2012/12/14 02:47]
nuxwin
migration:ispcp [2016/01/13 16:20]
nuxwin
Line 1: Line 1:
 ====== Migration from ispCP to i-MSCP ====== ====== Migration from ispCP to i-MSCP ======
  
-This howto explain how to migrate from ispCP to iMSCP by using the miration script provided by the iMSCP team. Currently, only migration from ispCP version 1.0.7 or newer to iMSCP 1.0.3.0 or newer is supported.+This howto explain how to migrate from ispCP to i-MSCP ​by using the miration script provided by the i-MSCP ​team. Currently, only migration from ispCP version 1.0.7 is supported.
  
-**IMPORTANT:​** ​Before doing the migration, it's greatly recommended to make a backup of your server ​data and even, test the migration with a clone of your system to detect any problem and the way to solve them.+<WRAP round important 60%> 
 +Before doing the migration, it's greatly recommended to make a **backup** of your data and even, test the migration with a clone of your system to detect any problem and the way to solve them. 
 +</​WRAP>​
  
-=====Migrate from ispCP to iMSCP (master branch)===== 
  
-Clone the iMSCP master branch from our git repository:+=====Download and untar i-MSCP archive=====
  
-<​code>​ +    ​# cd /​usr/​local/​src 
- # aptitude update && aptitude install git-core +    wget https://​github.com/​i-MSCP/​imscp/​archive/<<​version>>​.tar.gz 
- # cd /​usr/​local/​src +    # tar xzf <<​version>>​.tar.gz 
- # ​git clone git://​github.com/​i-MSCP/​imscp.git +    # cd imscp-<<​version>​>
- # cd imscp +
-</code>+
  
-  * Run the i-MSCP autoinstall script as follow +=====Start ​the installation of the system ​in buildonly mode===== ​
-  * Copy iMSCP files on the file system +
-<​code>​ +
- # perl imscp-autoinstall -bd +
- # cp -R /​tmp/​imscp/​* / +
-</​code>​+
  
-**Note:** Type //perl imscp-autoinstall -?// for more information about command line options.+    # perl imscp-autoinstall -db
  
-  * Run the migration script as follow:+=====Copy i-MSCP files on your file system=====
  
-<​code>​ +Once the build step is done, copy the files on your file system
- # cd /​var/​www/​imscp/​engine/​setup +
- # perl imscp-migrate-from-ispcp +
-</​code>​+
  
-  * Finish iMSCP setup: 
-<​code>​ 
- # perl imscp-setup -d 
-</​code>​ 
  
-=====Migrate from ispCP to iMSCP (released version)=====+    # cp -Rv /​tmp/​imscp/​* /
  
-  * Download ​the current version of i-mscp from [[http://​i-mscp.net/​download|here]] (i-mscp.net) +====Run ​the migration script=====
-  * Untar the downloaded file +
-<​code>​ +
-  tar -xzf i-mscp-1.0.3.0.tar.gz +
-  cd imscp +
-</​code>​ +
-  * Start the installation of the system (as you would for a new install), but **IMPORTANT**,​ when you see the i-mscp setup screen. SAY NO, because you've to continue using the console instead of this installer. +
-<​code>​perl imscp-autoinstall</​code>​+
  
-Until you see the i-mscp setup screen. **SAY NO**, because you've to continue using 
- the console 
  
-  * Copy the generated files into their destination,​ after this point there'​s NO POSSIBLE ROLLBACK +    # cd  ​/var/www/imscp/engine/setup/ 
-<​code>​cp -Rv /tmp/imscp//</code>+    # perl imscp-migrate-from-ispcp
  
-  * It's interesting to have the debug enabled to inspect possible problems, you have to change it in /​etc/​imscp/​imscp.conf +=== Run the i-MSCP setup script=====
-<​code>​DEBUG ​1</​code>​+
  
-  * Now you have to use the migration script which will be already in place. +    # perl imscp-setup -d
-<​code>​cd ​ /​var/​www/​imscp/​engine/​setup/​ +
-perl imscp-migrate-from-ispcp</​code>​ +
- +
-  * After the run of this script you'll have to run the regular ​setup +
-<​code>​./​imscp-setup </​code>​+
  
 If all the steps are fine, you should be able to enter in the new control panel If all the steps are fine, you should be able to enter in the new control panel
  
-== Some considerations ==+==== Some considerations ​====
  
   * The logs for either a failed or successful setup will be at /​var/​log/​imscp/​imscp-setup.log   * The logs for either a failed or successful setup will be at /​var/​log/​imscp/​imscp-setup.log
-<​code>​less /​var/​log/​imscp/​imscp-setup.log</​code>​+  * The SQL user which is used by i-MSCP **MUST** have full privileges (or else it won't be able to create and populate the imscp table). You have two options, either using the SQL root user or having a specific SQL user which have full access to your SQL server.
  
-  * The database user MUST have full privileges (or else it won't be able to create and populate the imscp table). You have two options, either using the root database user or having a database user with full rights: 
-<​code>​mysql -u root -p  
-GRANT ALL PRIVILEGES ON *.* TO '​your_database_user'​@'​localhost'</​code>​ 
/var/www/virtual/i-mscp.net/wiki/htdocs/data/pages/migration/ispcp.txt · Last modified: 2016/03/09 20:38 by nuxwin