Jean-Francois Leveque

source sans REAMDE

1 +#!/usr/bin/env bash
2 +sudo cp /etc/apt/sources.list sources.list.tmp
3 +sudo sed 's/ main/ main contrib/g' < sources.list.tmp > /etc/apt/sources.list
4 +sudo rm sources.list.tmp
5 +export DEBIAN_FRONTEND=noninteractive
6 +sudo apt-get update
7 +sudo apt-get -y upgrade
8 +sudo apt-get -y install java-package
9 +sudo apt-get -y install libgl1-mesa-glx libgtk2.0-0 libxslt1.1 libxtst6 libxxf86vm1
10 +## Pour cette partie, executer /vagrant_data/jdk-install.sh
11 +#sudo apt-get -y install fakeroot
12 +#fakeroot -- make-jpkg /vagrant_data/jdk-8u102-linux-x64.tar.gz << EOF
13 +#
14 +#
15 +#EOF
16 +#sudo dpkg -i oracle-java8-jdk_8u102_amd64.deb
17 +echo 'export JAVA_HOME=/usr/lib/jvm/jdk-8-oracle-x64' >> .bashrc
18 +sudo apt-get -y install x-window-system
19 +sudo apt-get -y install maven
1 +#!/usr/bin/env bash
2 +fakeroot -- make-jpkg /vagrant_data/jdk-8u102-linux-x64.tar.gz << EOF
3 +
4 +
5 +EOF
6 +sudo dpkg -i oracle-java8-jdk_8u102_amd64.deb
1 +#!/usr/bin/env bash
2 +rm Vagrantfile
3 +vagrant init bento/debian-8.5
4 +cp Vagrantfile Vagrantfile.tmp
5 +sed 's/ # config.vm.synced_folder/ config.vm.synced_folder/' < Vagrantfile.tmp > Vagrantfile
6 +cp Vagrantfile Vagrantfile.tmp
7 +sed 's/ # config.vm.provision.*$/ config.vm.provision :shell, path: "bootstrap.sh"/' < Vagrantfile.tmp > Vagrantfile
8 +cp Vagrantfile Vagrantfile.tmp
9 +sed 's/ # config.vm.network "forwarded_port".*$/ config.vm.network :forwarded_port, guest: 8080, host: 8080/' < Vagrantfile.tmp > Vagrantfile
10 +rm Vagrantfile.tmp
11 +mkdir -p ../data
12 +vagrant up