Giter Site home page Giter Site logo

precise-vm-ansible's Introduction

Vagrant LAMP based on Ubuntu Precise

Provisioned using Ansible.

Disclamer:

  • This is a setup for development only, do not use in production.
  • If you need a LAMP stack with the latest Ubuntu and packages, basically don't use this.
  • I created it as I needed Ubuntu Precise and PHP 5.3.

What's inside?

  • Ubuntu Precise64
  • Aapche 2.2.x
  • PHP 5.3.x (+ php5-gd + php5-curl + php5-xdebug*)
  • MySQL 5.5.x
  • Composer
  • Drush (configurable)
  • Remove the commented lines on xdebug's configuration file to activate it.

Dependencies

  1. VirtualBox
  2. Vagrant
  3. Ansible

Project tested on MAC.

How to use it?

Your website's index needs to be into a subfolder: data/site/www

You can also configure the path using the variable site_root_path. See bellow Variables available.

Copy the default config file: $ cp default-config.yml config.yml

Start the VM: $ vagrant up

Variables available

Some variables availables to be configured into your config.yml:

  • vagrant_hostname
  • vagrant_ip
  • vm_ram
  • locale
  • language
  • timezone
  • site_root_path
  • mysql_root_password
  • db_name
  • db_user
  • db_password
  • php_max_execution_time
  • php_memory_limit
  • drush_version

precise-vm-ansible's People

Contributors

luukyb avatar

Stargazers

Nicola Beghin avatar Mary Chris Casis avatar

Watchers

James Cloos avatar

precise-vm-ansible's Issues

Vagrant can only be started from the root folder

If using "vagrant up" inside of a sub-folder, the following error would occur:
"There was an error loading a Vagrantfile. The file being loaded
and the error message are shown below. This is usually caused by
a syntax error."

Work around is to always execute vagrant commands from the root folder.

Drush rr

Install the registry rebuild drupal module.

Install curl

Project I am using needs curl on a drupal module. Would be useful to integrate it using ansible.

Error:
"Fatal error: Call to undefined function curl_init() in ... modules/custom/ltpa_token/ltpa_token.module on line 53"

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.