How can we quickly deploy to multiple LAMP environments?
April 13, 2009 8:57 AM Subscribe
Are there any tools to help with deploying LAMP sites to multiple environments?
We have 3 Ubuntu Server environments (development, preview, and production) that need to have file and database updates pushed through multiple times a day.
We're manually using MySQL Administrator for database restores and Beyond Compare 3 for file updates but there has to be a more automated way.
The database and file systems between the environments end up nearly identical because the project is still in development and we have everything under source control.
Are there any good tools or CLI tricks that can handle quick backup and restore of the database and mirror of the file system?
We have 3 Ubuntu Server environments (development, preview, and production) that need to have file and database updates pushed through multiple times a day.
We're manually using MySQL Administrator for database restores and Beyond Compare 3 for file updates but there has to be a more automated way.
The database and file systems between the environments end up nearly identical because the project is still in development and we have everything under source control.
Are there any good tools or CLI tricks that can handle quick backup and restore of the database and mirror of the file system?
for file system mirror, rsync is the usual choice. It can tunnel via ssh, so that works well in a remote environment, and it only copies changes. Alternately, tagged version releases through your version control system works.
posted by jenkinsEar at 9:37 AM on April 13, 2009
posted by jenkinsEar at 9:37 AM on April 13, 2009
Seconding capistrano. It was designed to easily complete tasks across multiple servers from a command line.
posted by cdmwebs at 10:22 AM on April 13, 2009
posted by cdmwebs at 10:22 AM on April 13, 2009
This thread is closed to new comments.
Capistrano is mostly used by the RoR guys, but it has been working great for me with LAMP and subversion. I found out how to do it from a informative blog post.
posted by avex at 9:30 AM on April 13, 2009