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
migration:ispcp [2013/06/02 19:06]
raf
migration:ispcp [2016/03/09 20:38]
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>​
  
-[[migration:​ispcp:​masterbranch|Migrate from ispCP to iMSCP (master branch)]] +<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. 
-[[migration:​ispcp:​releasedversion|Migrate from ispCP to iMSCP (released version)]] +</​WRAP>​
- +
-=====Migrate from ispCP to iMSCP (master branch)=====+
  
-Clone the iMSCP master branch from our git repository: 
  
-<​code>​ +=====Download and untar i-MSCP ​archive=====
- # aptitude update && aptitude install git-core +
- # cd /​usr/​local/​src +
- # git clone git://​github.com/​i-MSCP/​imscp.git +
- # cd imscp +
-</​code>​+
  
-  * Run the i-MSCP ​autoinstall script as follow +    # cd /​usr/​local/​src 
-  * Copy iMSCP files on the file system +    # wget https://​github.com/​i-MSCP/​imscp/​archive/​<<​version>​>.tar.gz 
-<code+    tar xzf <<​version>>​.tar.gz 
- # ​perl imscp-autoinstall -bd +    cd imscp-<<​version>​>
- # ​cp -R /tmp/imscp/* / +
-</code>+
  
-**Note:** Type //perl imscp-autoinstall -?// for more information about command line options.+=====Start the installation of the system in buildonly mode===== ​
  
-  * Run the migration script as follow:+    # perl imscp-autoinstall -db
  
-<​code>​ +=====Copy i-MSCP files on your file system=====
- # cd /​var/​www/​imscp/​engine/​setup +
- # perl imscp-migrate-from-ispcp +
-</​code>​+
  
-  * Finish iMSCP setup: +Once the build step is done, copy the files on your file system
-<​code>​ +
- # perl imscp-setup -d +
-</​code>​+
  
-=====Migrate from ispCP to iMSCP (released version)===== 
  
-  * Download the current version of i-mscp from [[http://i-mscp.net/​download|here]] (i-mscp.net) +    # cp -Rv /tmp/imscp/* /
-  * 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 +====Run ​the migration script=====
- the console+
  
-  * Copy the generated files into their destination,​ after this point there'​s NO POSSIBLE ROLLBACK 
-<​code>​cp -Rv /​tmp/​imscp/​* /</​code>​ 
  
-  * It's interesting to have the debug enabled to inspect possible problems, you have to change it in /etc/imscp/imscp.conf +    # cd  ​/var/www/imscp/engine/​setup/​ 
-<​code>​DEBUG = 1</code>+    # perl imscp-migrate-from-ispcp
  
-  * Now you have to use the migration ​script ​which will be already in place. +=== Run the i-MSCP setup script=====
-<​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 +    # perl imscp-setup ​-d
-<​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