Setting up Web server so it is easy to migrate

Posted by Nyxynyx on Server Fault See other posts from Server Fault or by Nyxynyx
Published on 2012-10-07T03:12:19Z Indexed on 2012/10/07 3:40 UTC
Read the original article Hit count: 228

Filed under:
|
|
|

Hi I am about to move my site from a VPS to another host's dedicated server. One of my concern is about scaling the site in the future that involves a change of server.

Now that I am starting the dedicated server from scratch with only the OS, this means that I need to install the web server stack, including Apache and its mods, PHP, MySQL, PostgreSQL, Tomcat, Solr and a few other softwares like ImageMagick and git.

Question: Is there a way for me to setup this new dedicated server such that I can easily migrate the entire site, both the technology stack and the code to the a newer server (upgrade from this new dedicated server) easily without reinstalling and reconfiguring everything?

The code for the website is being handled by git and github so thats not a problem. I'm more conerned about the rest of the software required.

Side question: The current VPS uses CentOs with cpanel and it seems that many packages are outdated on yum and cpanel interfers with the installation of many packages. Which OS should I go with for the new server? Ubuntu?

© Server Fault or respective owner

Related posts about linux

Related posts about webserver