Commit c9525c0c authored by garciay's avatar garciay
Browse files

Update README.md

parent 0273b141
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -49,7 +49,7 @@ Pre-requisites on your host machine:
Procedure:
- On your host machine, open a command line session (PUTTY, DOS window...)
- From the ETSI ITS protocols project, clone the Vagrant folder
- In the file Vagrantfilemodify the tag config.vm.provision replacing <username> & <password> strings by your ETSI credentials
- In the file Vagrantfilem, odify the tag config.vm.provision replacing <username> & <password> strings by your ETSI credentials
- In the Vagrant folder, execute the following commands:

```sh
+6 −6
Original line number Diff line number Diff line
#!/bin/bash
# Prepare environment for the build
set -e # Exit with non 0 if any command fails
#set -e # Exit with non 0 if any command fails
#set -vx

# Update system
@@ -8,9 +8,9 @@ sudo DEBIAN_FRONTEND=noninteractive apt-get update
sudo DEBIAN_FRONTEND=noninteractive apt-get dist-upgrade -y
sudo DEBIAN_FRONTEND=noninteractive add-apt-repository ppa:linuxuprising/java -y
sudo DEBIAN_FRONTEND=noninteractive apt-get update
sudo DEBIAN_FRONTEND=noninteractive apt-get install emacs gcc-8 g++-8 git subversion lsof ntp gdb make cmake flex bison autoconf doxygen graphviz libtool libncurses5-dev expect libssl-dev libxml2-dev xutils-dev tcpdump libpcap-dev libwireshark-dev wget tree unzip sshpass kubuntu-desktop valgrind qt5-default qtmultimedia5-dev libqt5svg5-dev -y
sudo DEBIAN_FRONTEND=noninteractive apt-get install oracle-java10-installer oracle-java10-set-default -y
sudo DEBIAN_FRONTEND=noninteractive apt --fix-broken install -y
sudo DEBIAN_FRONTEND=noninteractive apt-get install emacs openjdk-11-jre gcc-8 g++-8 git subversion lsof ntp gdb make cmake flex bison autoconf doxygen graphviz libtool libncurses5-dev expect libssl-dev libxml2-dev xutils-dev tcpdump libpcap-dev libwireshark-dev wget tree unzip sshpass kubuntu-desktop valgrind qt5-default qtmultimedia5-dev libqt5svg5-dev -y
#sudo DEBIAN_FRONTEND=noninteractive apt-get install oracle-java10-installer oracle-java10-set-default -y
#sudo DEBIAN_FRONTEND=noninteractive apt --fix-broken install -y
sudo DEBIAN_FRONTEND=noninteractive apt-get autoremove --purge -y
sudo DEBIAN_FRONTEND=noninteractive apt-get clean

@@ -27,7 +27,6 @@ sudo useradd --create-home --shell /bin/bash etsi
echo "etsi:etsi" | chpasswd 
sudo adduser etsi sudo
sudo su - etsi
USER=
if [ "${USER}" != "etsi" ]
then
    exit -1
@@ -36,6 +35,8 @@ fi
export USERNAME=$1
export PASSWORD=$2

export HOME=/home/etsi

export PATH_DEV=${HOME}/dev
export HOME_FRAMEWORKS=${HOME}/frameworks
export HOME_LIB=${HOME}/lib
@@ -86,7 +87,6 @@ cd /home/etsi/dev/STF525_Its/scripts
chmod 775 *.bash devenv.bash.ubuntu
cd /home/etsi
ln -sf /home/etsi/dev/STF525_Its/scripts/devenv.bash.ubuntu /home/etsi/devenv.bash
export HOME=/home/etsi
. /home/etsi/devenv.bash

# Install all frameworks