The Azure Apache Migration Migration Tool is a tool that allows customers to move their existing sites hosted on Linux servers running Apache into the cloud on Azure websites. For more information check out movemetothecloud.net.
Make sure that all prerequisites are installed, and then run:
wget http://www.movemetothecloud.net/Azure-Apache-Migration-Tool.tar.gz
tar -xvzf Azure-Apache-Migration-Tool.tar.gz
cd Azure-Apache-Migration-Tool
To run the tool, execute:
perl migrate_tool_main.pl
And follow the prompts.
This requires some perl libraries. Most should be included with your distro, the most notable missing piece is perl LWP HTTPS support. By default we don't include this library because it takes OS specific dependencies.
perl LWP HTTPS can be installed with apt-get:
sudo apt-get install liblwp-protocol-https-perl
perl LWP HTTPS can be installed with yum:
sudo yum install perl-LWP-Protocol-https
You may also need to install some additional libraries:
sudo yum install perl-Digest-MD5
sudo yum install perl-Compress-Raw-Zlib
perl LWP HTTPS can be installed with zypper:
sudo zypper install perl-LWP-Protocol-https
The tool parses the main Apache configuration file, detects all sites and their root directories. We then allow you to create the sites and databases using our website. Once the sites and databases are created, we read in the publishing settings, and move the site and databases into the cloud.
Currently we support the following PHP frameworks:
- Wordpress
- Drupal
- Joomla
We plan to add more support for other frameworks in the future.