Skip to content

Deploy Magento on two Rackspace Cloud servers (1 web + 1 DB)

Notifications You must be signed in to change notification settings

mariusv/ansible-magento

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ansible-magento

date: 12 April 2014 00:35
tags: cloud, magento
category: Ubuntu

Provision Cloud Server with Magento/Nginx/PHP-FPM/Varnish & MySQL


This playbook assume that you have two Rackspace Cloud Servers, one for MySQL and another for Magento. Also is using ServiceNet to connect to the DB server.


####Usage:

Edit group_vars/all to define: hostname, domain, users etc.

Explanation for each variable:

magento_version: 1.8.1.0 <== this one is pretty much self-explanatory
magento_db_name: <== database used for the Magento installation
magento_db_user: <== database user used for the Magento installation
magento_db_password: <== password for user
magento_db_remote_host: <== the eth1 IP address of the web server
mysql_port: <== used to install Magento together with the magento_db_remote_host, magento_db_rpassword, magento_db_user, magento_db_name
mysql_host: <== server_hostname: <== used for Nginx/PHP-FPM/Varnish config
mysql_root_password: <== new password for mysq root user (this needs to be changed on roles/mysql/templates/root.my)
magento_admin_first: <== admin user for the magento website
magento_admin_last: <== details
magento_admin_email: <== email address used for the admin user
magento_admin_user: <== user
magento_admin_pass: <== password
magento_domain: <== the magento installation domain php_listen: <== PHP-FPM should use sockets or TCP (defaults on sock)


####ToDo:

  • Better documentation
  • Multiple web nodes
  • Make it work on CentOS/RedHat
  • Build the servers too

About

Deploy Magento on two Rackspace Cloud servers (1 web + 1 DB)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published