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
Last revision Both sides next revision
migration:ispcp [2014/02/07 00:00]
nuxwin
migration:ispcp [2016/03/09 20:37]
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.
  
-<WRAP round important>​ +<​WRAP ​center ​round important ​60%
-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.+Be aware that migration ​from ispCP is no supported by i-MSCP >= 1.2.16
 </​WRAP>​ </​WRAP>​
  
 +<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>​
  
-  * Download and untar i-MSCP archive 
  
-<konsole root> +=====Download and untar i-MSCP archive=====
-# cd /​usr/​local/​src +
-# wget https://​github.com/​i-MSCP/imscp/archive/<<​version>>​.tar.gz +
-# tar xzf <<​version>>​.tar.gz +
-# cd imscp-<<​version>>​ +
-</​konsole>​+
  
-  * Start the installation of the system (as you would for a new install), but **IMPORTANT**,​ when you see the i-mscp setup screenSAY NO, because you've to continue using the console instead of this installer.+    # cd /​usr/​local/​src 
 +    # wget https://​github.com/​i-MSCP/​imscp/​archive/<<​version>>​.tar.gz 
 +    # tar xzf <<​version>>​.tar.gz 
 +    # cd imscp-<<​version>>​
  
-<konsole root> +=====Start the installation of the system in buildonly mode===== ​
- # perl imscp-autoinstall +
-</​konsole>​+
  
-Until you see the i-mscp setup screen. **SAY NO**, because you've to continue using +    # perl imscp-autoinstall -db
- the console+
  
-  * Copy the generated ​files into their destination,​ after this point there'​s NO POSSIBLE ROLLBACK+=====Copy i-MSCP ​files on your file system=====
  
-<konsole root> +Once the build step is done, copy the files on your file system
- # cp -Rv /​tmp/​imscp/​* / +
-</​konsole>​+
  
-  * It's interesting to have the debug enabled to inspect possible problems, you have to change it in /​etc/​imscp/​imscp.conf 
  
-<konsole root> +    ​cp -Rv /tmp/imscp//
- apt-get install nano +
- # nano /etc/imscp/imscp.conf +
-</konsole>​ +
-  +
-Find the DEBUG option in that file with Ctrl w and change 0 to 1 (DEBUG = 0 is Debug Disabled), DEBUG = 1 is Debug Enabled):+
  
-<konsole root> +====Run the migration script=====
- ​DEBUG ​+
-</​konsole>​+
  
-  * Now you have to use the migration script which will be already in place. 
-<konsole root> 
- # cd  /​var/​www/​imscp/​engine/​setup/​ 
- # perl imscp-migrate-from-ispcp 
-</​konsole>​ 
  
-  * After the run of this script you'll have to run the regular ​setup +    # cd  /​var/​www/​imscp/​engine/​setup/​ 
-<konsole root> +    # perl imscp-migrate-from-ispcp 
- # ​./imscp-setup + 
-</​konsole>​+=== Run the i-MSCP ​setup script===== 
 + 
 +    perl imscp-setup ​-d
  
 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
Line 61: Line 45:
  
   * 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
 +  * 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.
  
-<konsole root> ​ 
- # nano /​var/​log/​imscp/​imscp-setup.log 
-</​konsole>​ 
- 
-  * 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: 
- 
-<konsole root> 
- # mysql -u root -p 
- # GRANT ALL PRIVILEGES ON *.* TO '​your_database_user'​@'​localhost'​ 
-</​konsole>​ 
/var/www/virtual/i-mscp.net/wiki/htdocs/data/pages/migration/ispcp.txt · Last modified: 2016/03/09 20:38 by nuxwin