date: | 12 April 2014 00:35 |
---|---|
tags: | cloud, magento |
category: | Ubuntu |
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