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 [2013/06/02 19:05]
raf
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.
  
-<WRAP round important>​ +<WRAP 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.+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>​ </​WRAP>​
  
-[[es:​migration:​ispcp:​masterbranch|Migrate from ispCP to iMSCP (master branch)]] 
  
-[[es:​migration:​ispcp:​releasedversion|Migrate from ispCP to iMSCP (released version)]]+=====Download and untar i-MSCP archive=====
  
-=====Migrate from ispCP to iMSCP (master branch)=====+    # cd /​usr/​local/​src 
 +    # wget https://​github.com/​i-MSCP/​imscp/​archive/<<​version>>​.tar.gz 
 +    # tar xzf <<​version>>​.tar.gz 
 +    # cd imscp-<<​version>>​
  
-Clone the iMSCP master branch from our git repository:+=====Start ​the installation of the system in buildonly mode===== ​
  
-<​code>​ +    ​perl imscp-autoinstall ​-db
- 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 +=====Copy ​i-MSCP files on your file system=====
-  * 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.+Once the build step is done, copy the files on your file system
  
-  * Run the migration script as follow: 
  
-<​code>​ +    ​cp -Rv /tmp/imscp//
- cd /var/www/imscp/engine/​setup +
- # perl imscp-migrate-from-ispcp +
-</code>+
  
-  * Finish iMSCP setup: +====Run the migration script=====
-<​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) +    # cd  ​/var/www/imscp/engine/setup/ 
-  * Untar the downloaded file +    # ​perl imscp-migrate-from-ispcp
-<​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 i-MSCP setup script=====
- the console+
  
-  * Copy the generated files into their destination,​ after this point there'​s NO POSSIBLE ROLLBACK +    # perl imscp-setup -d
-<​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 +
-<​code>​DEBUG = 1</​code>​ +
- +
-  * Now you have to use the migration script which will be already in place. +
-<​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