Difference between revisions of "Drupal VM"

From Stadm
Jump to navigationJump to search
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
==Introduction==
 
==Introduction==
Vagrant is a tool for managing development environments in a virtual machine with a focus on automation. We will be using Vagrant to install a Drupal 8 VM and using Ansible to provision the VM (run scripts and do other cool things).
+
This article documents the progress on building a Drupal 8 VM for development purposes on thorin (128.111.101.138). We will be using Vagrant to install a Drupal 8 VM and using Ansible to provision the VM.
  
 
==Purpose==
 
==Purpose==
The purpose of this page is to document progress of installing a Drupal VM using Vagrant and Ansible. I have been following geerlingguy's drupal-vm guide:
+
The purpose of this page is to document progress of installing a Drupal VM using Vagrant and Ansible, emphasis on Drupal 8 installation with Composer as opposed to drush make, as well as looking into theming the installation. I have been following geerlingguy's drupal-vm guide:
 
*https://github.com/geerlingguy/drupal-vm
 
*https://github.com/geerlingguy/drupal-vm
 
*[http://docs.drupalvm.com/en/latest/ Drupal VM Install Guide]
 
*[http://docs.drupalvm.com/en/latest/ Drupal VM Install Guide]
 +
 +
  
 
Other helpful links:
 
Other helpful links:
Line 11: Line 13:
  
 
==Installation Procedures==
 
==Installation Procedures==
Refer to the [https://github.com/geerlingguy/drupal-vm#quick-start-guide Quick Start Guide].
+
*Refer to the [https://github.com/geerlingguy/drupal-vm#quick-start-guide Quick Start Guide].
 +
*Install Ansible on the host machine (thorin) for faster provisioning in the vm
 +
**https://github.com/geerlingguy/ansible-vagrant-examples/tree/master/drupal
 +
===Install options:===
 +
We can install Drupal 8 with composer with 2 different ways:
 +
* composer create-project
 +
which allows you to specify parameters to build up your Drupal installation; or build from a custom
 +
* composer.json.
 +
 
 +
 
 +
For the first run, we choose the first option. However, for subsequent installations, we can reuse the composer.json config file from the previous installation to spin up an identical VM.
  
<!--
+
==Drupal VM Basic Information==
==save==
+
*Drupalvm is running in a VirtualBox VM under thorin (128.111.101.138). It can be accessed by going to [http://drupalvm.dev] on thorin.
http://pig.made-it.com/samba-ldap-member.html
+
*Default login:  
http://doub.home.xs4all.nl/samba-ldap/index.html
+
admin:admin
http://www.samba.org/samba/docs/man/Samba-Guide/unixclients.html#sdcsdmldap
+
*Running Drupal 7.x.
http://www.samba.org/samba/docs/man/Samba-Guide/unixclients.html#ch9-sdmnss
+
 
https://wiki.samba.org/index.php/Samba4/Domain_Member
+
==Installed modules==
http://directory.fedoraproject.org/wiki/Howto:Samba
 
http://ptgmedia.pearsoncmg.com/images/013188221X/downloads/013188221X_book.pdf
 
  
 
=References=
 
=References=
*http://www.alexwyn.com/computer-tips/centos-samba4-active-directory-domain-controller
+
*https://www.vagrantup.com/docs/provisioning/ansible_intro.html
*http://www.golinuxhub.com/2012/08/create-roaming-profiles-in-samba4.html
+
*http://docs.ansible.com/ansible/guide_vagrant.html
*http://opentodo.net/2013/01/samba4-as-ad-domain-controller-on-centos-6/
+
*https://github.com/geerlingguy/drupal-vm
*http://wiki.samba.org/index.php/Samba_%26_Windows_Profiles
 
*http://clintboessen.blogspot.com/2012/08/open-file-security-warning.html
 
*http://stealthpuppy.com/configuring-an-automatic-resolution-policy-for-offline-files-in-windows-7/
 
*http://support.microsoft.com/kb/2189014
 
*https://www.samba.org/samba/docs/using_samba/ch07.html
 
*https://www.samba.org/samba/docs/using_samba/ch08.html
 
-->
 

Latest revision as of 13:25, 11 July 2017

Introduction

This article documents the progress on building a Drupal 8 VM for development purposes on thorin (128.111.101.138). We will be using Vagrant to install a Drupal 8 VM and using Ansible to provision the VM.

Purpose

The purpose of this page is to document progress of installing a Drupal VM using Vagrant and Ansible, emphasis on Drupal 8 installation with Composer as opposed to drush make, as well as looking into theming the installation. I have been following geerlingguy's drupal-vm guide:


Other helpful links:

Installation Procedures

Install options:

We can install Drupal 8 with composer with 2 different ways:

  • composer create-project

which allows you to specify parameters to build up your Drupal installation; or build from a custom

  • composer.json.


For the first run, we choose the first option. However, for subsequent installations, we can reuse the composer.json config file from the previous installation to spin up an identical VM.

Drupal VM Basic Information

  • Drupalvm is running in a VirtualBox VM under thorin (128.111.101.138). It can be accessed by going to [1] on thorin.
  • Default login:
admin:admin
  • Running Drupal 7.x.

Installed modules

References