Toggle navigation
Toggle navigation
This project
Loading...
Sign in
grogv3
/
vm-environment
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
Jean-Francois Leveque
2016-09-07 15:36:29 +0200
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
ec4075d4f621d05d394cf4a43401fdf7aedb3c1e
ec4075d4
0 parents
source sans REAMDE
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
37 additions
and
0 deletions
bootstrap.sh
vagrant_data/jdk-install.sh
vargant-all.sh
bootstrap.sh
0 → 100644
View file @
ec4075d
#!/usr/bin/env bash
sudo cp /etc/apt/sources.list sources.list.tmp
sudo sed
's/ main/ main contrib/g'
< sources.list.tmp > /etc/apt/sources.list
sudo rm sources.list.tmp
export
DEBIAN_FRONTEND
=
noninteractive
sudo apt-get update
sudo apt-get -y upgrade
sudo apt-get -y install java-package
sudo apt-get -y install libgl1-mesa-glx libgtk2.0-0 libxslt1.1 libxtst6 libxxf86vm1
## Pour cette partie, executer /vagrant_data/jdk-install.sh
#sudo apt-get -y install fakeroot
#fakeroot -- make-jpkg /vagrant_data/jdk-8u102-linux-x64.tar.gz << EOF
#
#
#EOF
#sudo dpkg -i oracle-java8-jdk_8u102_amd64.deb
echo
'export JAVA_HOME=/usr/lib/jvm/jdk-8-oracle-x64'
>> .bashrc
sudo apt-get -y install x-window-system
sudo apt-get -y install maven
vagrant_data/jdk-install.sh
0 → 100755
View file @
ec4075d
#!/usr/bin/env bash
fakeroot -- make-jpkg /vagrant_data/jdk-8u102-linux-x64.tar.gz
<< EOF
EOF
sudo dpkg -i oracle-java8-jdk_8u102_amd64.deb
vargant-all.sh
0 → 100755
View file @
ec4075d
#!/usr/bin/env bash
rm Vagrantfile
vagrant init bento/debian-8.5
cp Vagrantfile Vagrantfile.tmp
sed
's/ # config.vm.synced_folder/ config.vm.synced_folder/'
< Vagrantfile.tmp > Vagrantfile
cp Vagrantfile Vagrantfile.tmp
sed
's/ # config.vm.provision.*$/ config.vm.provision :shell, path: "bootstrap.sh"/'
< Vagrantfile.tmp > Vagrantfile
cp Vagrantfile Vagrantfile.tmp
sed
's/ # config.vm.network "forwarded_port".*$/ config.vm.network :forwarded_port, guest: 8080, host: 8080/'
< Vagrantfile.tmp > Vagrantfile
rm Vagrantfile.tmp
mkdir -p ../data
vagrant up
Please
register
or
login
to post a comment