diff --git a/vagrant/README.md b/vagrant/README.md index fc23f27e..9d8227a4 100644 --- a/vagrant/README.md +++ b/vagrant/README.md @@ -3,32 +3,41 @@ # Disroot Website Development Environment using Vagrant ## requirements -1. vagrant 2.2.1 +1. vagrant 2.2.6 for install on Debian run commands: ``` - wget https://releases.hashicorp.com/vagrant/2.2.1/vagrant_2.2.1_x86_64.deb + wget https://releases.hashicorp.com/vagrant/2.2.6/vagrant_2.2.6_x86_64.deb ``` ``` - sudo dpkg -i vagrant_2.2.1_x86_64.deb + sudo dpkg -i vagrant_2.2.6_x86_64.deb ``` ``` sudo apt install -f ``` 2. virtuabox - for install on Debian run command: + for install on Debian Jessie run command: ``` sudo apt install virtualbox-6.0 ``` + for install on Debian Buster run command: + ``` + sudo echo 'deb http://download.virtualbox.org/virtualbox/debian stretch contrib' > /etc/apt/sources.list.d/virtualbox.list + ``` + ``` + wget -q https://www.virtualbox.org/download/oracle_vbox_2016.asc -O- | sudo apt-key add - + wget -q https://www.virtualbox.org/download/oracle_vbox.asc -O- | sudo apt-key add - + ``` + ``` + sudo apt-get update ; sudo apt-get install virtualbox-6.0 + ``` + 3. vagrant plugins vagrant-vbguest: for install on Debian run commands: ``` vagrant plugin install vagrant-vbguest ``` - ``` - vagrant vbguest - ``` 4. git ``` diff --git a/vagrant/bootstrap.sh b/vagrant/bootstrap.sh index eae13194..5c562c18 100755 --- a/vagrant/bootstrap.sh +++ b/vagrant/bootstrap.sh @@ -52,7 +52,9 @@ languages: - en - es - fr - - it" >> "${WEB_ROOT}""${WEB_NAME}"/user/config/system.yaml + - it + - de + - ru" >> "${WEB_ROOT}""${WEB_NAME}"/user/config/system.yaml sudo -u "${WWW_USER}" sed -i '4d' "${WEB_ROOT}""${WEB_NAME}"/user/config/system.yaml sudo -u "${WWW_USER}" ex -s -c "4i| alias: '/home'" -c x "${WEB_ROOT}""${WEB_NAME}"/user/config/system.yaml sudo -u "${WWW_USER}" -i 's/false/true/g' "${WEB_ROOT}""${WEB_NAME}"/user/plugins/language-selector/language-selector.yaml