From 9f6805f5a3f17633004325f2ac2b8bca3241128d Mon Sep 17 00:00:00 2001 From: Christian Trautman Date: Mon, 21 Mar 2016 12:15:23 -0400 Subject: systems: Fix top level build_base_machine script to use ID Modified top level build_base_machine.sh script to use ID instead of Name from os-release file. Renamed folders to adapt to this change. * Modified ID variable assignment from echo to straight assignment. JIRA: VSPERF-257 Change-Id: I22a7d5a1f191418cbc8fc9fd7d85b013e51b49bc Signed-off-by: Christian Trautman --- systems/CentOS/build_base_machine.sh | 78 ------------------------ systems/CentOS/prepare_python_env.sh | 29 --------- systems/Fedora/20/build_base_machine.sh | 66 -------------------- systems/Fedora/20/prepare_python_env.sh | 29 --------- systems/Fedora/21/build_base_machine.sh | 72 ---------------------- systems/Fedora/21/prepare_python_env.sh | 29 --------- systems/Fedora/22/build_base_machine.sh | 74 ---------------------- systems/Fedora/22/prepare_python_env.sh | 29 --------- systems/Red/7.2/build_base_machine.sh | 98 ------------------------------ systems/Red/7.2/prepare_python_env.sh | 34 ----------- systems/Ubuntu/14.04/build_base_machine.sh | 90 --------------------------- systems/Ubuntu/14.04/prepare_python_env.sh | 29 --------- systems/Ubuntu/build_base_machine.sh | 63 ------------------- systems/build_base_machine.sh | 2 +- systems/centos/build_base_machine.sh | 78 ++++++++++++++++++++++++ systems/centos/prepare_python_env.sh | 29 +++++++++ systems/fedora/20/build_base_machine.sh | 66 ++++++++++++++++++++ systems/fedora/20/prepare_python_env.sh | 29 +++++++++ systems/fedora/21/build_base_machine.sh | 72 ++++++++++++++++++++++ systems/fedora/21/prepare_python_env.sh | 29 +++++++++ systems/fedora/22/build_base_machine.sh | 74 ++++++++++++++++++++++ systems/fedora/22/prepare_python_env.sh | 29 +++++++++ systems/rhel/7.2/build_base_machine.sh | 98 ++++++++++++++++++++++++++++++ systems/rhel/7.2/prepare_python_env.sh | 34 +++++++++++ systems/ubuntu/14.04/build_base_machine.sh | 90 +++++++++++++++++++++++++++ systems/ubuntu/14.04/prepare_python_env.sh | 29 +++++++++ systems/ubuntu/build_base_machine.sh | 63 +++++++++++++++++++ 27 files changed, 721 insertions(+), 721 deletions(-) delete mode 100755 systems/CentOS/build_base_machine.sh delete mode 100755 systems/CentOS/prepare_python_env.sh delete mode 100755 systems/Fedora/20/build_base_machine.sh delete mode 100755 systems/Fedora/20/prepare_python_env.sh delete mode 100755 systems/Fedora/21/build_base_machine.sh delete mode 100755 systems/Fedora/21/prepare_python_env.sh delete mode 100755 systems/Fedora/22/build_base_machine.sh delete mode 100755 systems/Fedora/22/prepare_python_env.sh delete mode 100755 systems/Red/7.2/build_base_machine.sh delete mode 100755 systems/Red/7.2/prepare_python_env.sh delete mode 100755 systems/Ubuntu/14.04/build_base_machine.sh delete mode 100755 systems/Ubuntu/14.04/prepare_python_env.sh delete mode 100755 systems/Ubuntu/build_base_machine.sh create mode 100755 systems/centos/build_base_machine.sh create mode 100755 systems/centos/prepare_python_env.sh create mode 100755 systems/fedora/20/build_base_machine.sh create mode 100755 systems/fedora/20/prepare_python_env.sh create mode 100755 systems/fedora/21/build_base_machine.sh create mode 100755 systems/fedora/21/prepare_python_env.sh create mode 100755 systems/fedora/22/build_base_machine.sh create mode 100755 systems/fedora/22/prepare_python_env.sh create mode 100755 systems/rhel/7.2/build_base_machine.sh create mode 100755 systems/rhel/7.2/prepare_python_env.sh create mode 100755 systems/ubuntu/14.04/build_base_machine.sh create mode 100755 systems/ubuntu/14.04/prepare_python_env.sh create mode 100755 systems/ubuntu/build_base_machine.sh (limited to 'systems') diff --git a/systems/CentOS/build_base_machine.sh b/systems/CentOS/build_base_machine.sh deleted file mode 100755 index 8339dd2d..00000000 --- a/systems/CentOS/build_base_machine.sh +++ /dev/null @@ -1,78 +0,0 @@ -#!/bin/bash -# -# Build a base machine for CentOS distro -# -# Copyright 2015 OPNFV -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# Contributors: -# Aihua Li, Huawei Technologies. -# Martin Klozik, Intel Corporation. - -# Synchronize package index files -yum -y update - -# Install required packages -yum -y install $(echo " - -# Make, Compilers and devel -make -gcc -gcc-c++ -libxml2 -glibc.i686 -kernel-devel - -# tools -wget -git -scl-utils -vim -curl -autoconf -libtool -automake -pciutils -cifs-utils -sysstat - -# libs -libpcap-devel -libnet -fuse -fuse-libs -fuse-devel -zlib -zlib-devel -glib2-devel -pixman-devel -socat - -# install gvim -vim-X11 - -# install epel release required for git-review -epel-release -" | grep -v ^#) - -# install SCL for python33 -wget https://www.softwarecollections.org/en/scls/rhscl/python33/epel-7-x86_64/download/rhscl-python33-epel-7-x86_64.noarch.rpm -rpm -i rhscl-python33-epel-7-x86_64.noarch.rpm - -# install python33 packages and git-review tool -yum -y install $(echo " -python33 -python33-python-tkinter -git-review -" | grep -v ^#) diff --git a/systems/CentOS/prepare_python_env.sh b/systems/CentOS/prepare_python_env.sh deleted file mode 100755 index 5777448b..00000000 --- a/systems/CentOS/prepare_python_env.sh +++ /dev/null @@ -1,29 +0,0 @@ -#!/bin/bash -# -# Prepare Python 3 environment for vsperf execution -# -# Copyright 2015 OPNFV -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -if [ -d "$VSPERFENV_DIR" ] ; then - echo "Directory $VSPERFENV_DIR already exists. Skipping python virtualenv creation." - exit -fi - -scl enable python33 " -virtualenv "$VSPERFENV_DIR" -source "$VSPERFENV_DIR"/bin/activate -pip install -r ../requirements.txt -pip install pylint -" diff --git a/systems/Fedora/20/build_base_machine.sh b/systems/Fedora/20/build_base_machine.sh deleted file mode 100755 index 77d95779..00000000 --- a/systems/Fedora/20/build_base_machine.sh +++ /dev/null @@ -1,66 +0,0 @@ -#!/bin/bash -# -# Build a base machine for Fedora distro -# -# Copyright 2015 OPNFV, Intel Corporation. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# Contributors: -# Aihua Li, Huawei Technologies. -# Martin Klozik, Intel Corporation. -# Abdul Halim, Intel Corporation. - -yum -y install $(echo " -# Make and Compilers -make -automake -gcc -gcc-c++ -libxml2 -glibc.i686 -kernel-devel -fuse-libs -fuse -fuse-devel - -# tools -curl -autoconf -libtool -libpcap-devel -libnet -vim -wget -git -pciutils -cifs-utils -socat - -# install python packages -python3 -python3-virtualenv -python3-setuptools -python3-pip -python3-dbus -python3-devel -python3-tkinter -systemd-python3 -python3-libs -libreport-python3 -abrt-python3 -abrt-addon-python3 - -# install git-review tool -git-review -" | grep -v ^#) \ No newline at end of file diff --git a/systems/Fedora/20/prepare_python_env.sh b/systems/Fedora/20/prepare_python_env.sh deleted file mode 100755 index d0efd687..00000000 --- a/systems/Fedora/20/prepare_python_env.sh +++ /dev/null @@ -1,29 +0,0 @@ -#!/bin/bash -# -# Prepare Python environment for vsperf execution on Fedora systems -# -# Copyright 2015 OPNFV, Intel Corporation. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -if [ -d "$VSPERFENV_DIR" ] ; then - echo "Directory $VSPERFENV_DIR already exists. Skipping python virtualenv creation." - exit -fi - -# enable virtual environment in a subshell, so QEMU build can use python 2.7 - -(virtualenv-3.3 "$VSPERFENV_DIR" -source "$VSPERFENV_DIR"/bin/activate -pip install -r ../requirements.txt -pip install pylint) diff --git a/systems/Fedora/21/build_base_machine.sh b/systems/Fedora/21/build_base_machine.sh deleted file mode 100755 index 0aaa73b6..00000000 --- a/systems/Fedora/21/build_base_machine.sh +++ /dev/null @@ -1,72 +0,0 @@ -#!/bin/bash -# -# Build a base machine for Fedora distro -# -# Copyright 2015 OPNFV, Intel Corporation. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# Contributors: -# Aihua Li, Huawei Technologies. -# Martin Klozik, Intel Corporation. -# Abdul Halim, Intel Corporation. - -yum -y install $(echo " -# Make and Compilers -make -automake -gcc -gcc-c++ -libxml2 -glibc.i686 -kernel-devel -fuse-libs -fuse -fuse-devel -kernel-modules-extra -pixman-devel -openssl-devel - -# tools -curl -autoconf -libtool -libpcap-devel -libnet -vim -wget -git -pciutils -cifs-utils -socat - -# install python packages -python3 -python3-virtualenv -python3-setuptools -python3-pip -python3-dbus -python3-devel -python3-tkinter -systemd-python3 -python3-libs -libreport-python3 -abrt-python3 -abrt-addon-python3 - -# install git-review tool -git-review -" | grep -v ^#) || exit 1 - -# Create hugepage dirs -mkdir -p /dev/hugepages diff --git a/systems/Fedora/21/prepare_python_env.sh b/systems/Fedora/21/prepare_python_env.sh deleted file mode 100755 index f348c75d..00000000 --- a/systems/Fedora/21/prepare_python_env.sh +++ /dev/null @@ -1,29 +0,0 @@ -#!/bin/bash -# -# Prepare Python environment for vsperf execution on Fedora systems -# -# Copyright 2015 OPNFV, Intel Corporation. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -if [ -d "$VSPERFENV_DIR" ] ; then - echo "Directory $VSPERFENV_DIR already exists. Skipping python virtualenv creation." - exit -fi - -# enable virtual environment in a subshell, so QEMU build can use python 2.7 - -(virtualenv-3.4 "$VSPERFENV_DIR" || exit 1 -source "$VSPERFENV_DIR"/bin/activate || exit 1 -pip install -r ../requirements.txt || exit 1 -pip install pylint || exit 1) diff --git a/systems/Fedora/22/build_base_machine.sh b/systems/Fedora/22/build_base_machine.sh deleted file mode 100755 index a909e284..00000000 --- a/systems/Fedora/22/build_base_machine.sh +++ /dev/null @@ -1,74 +0,0 @@ -#!/bin/bash -# -# Build a base machine for Fedora 22 -# -# Copyright 2015 OPNFV, Intel Corporation. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# Contributors: -# Aihua Li, Huawei Technologies. -# Martin Klozik, Intel Corporation. -# Abdul Halim, Intel Corporation. - -dnf -y install $(echo " -# Make and Compilers -make -automake -gcc -gcc-c++ -libxml2 -glibc.i686 -glib2-devel -kernel-devel -fuse-libs -fuse -fuse-devel -kernel-modules-extra -pixman-devel -openssl-devel - -# tools -curl -autoconf -libtool -libpcap-devel -libnet -vim -wget -git -pciutils -cifs-utils -socat -sysstat - -# install python packages -python3 -python3-virtualenv -python3-setuptools -python3-pip -python3-dbus -python3-devel -python3-tkinter -systemd-python3 -python3-libs -libreport-python3 -abrt-python3 -abrt-addon-python3 - -# install git-review tool -git-review -" | grep -v ^#) - -# Create hugepage dirs -mkdir -p /dev/hugepages \ No newline at end of file diff --git a/systems/Fedora/22/prepare_python_env.sh b/systems/Fedora/22/prepare_python_env.sh deleted file mode 100755 index 0b2c5a32..00000000 --- a/systems/Fedora/22/prepare_python_env.sh +++ /dev/null @@ -1,29 +0,0 @@ -#!/bin/bash -# -# Prepare Python environment for vsperf execution on Fedora 22 systems. -# -# Copyright 2015 OPNFV, Intel Corporation. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -if [ -d "$VSPERFENV_DIR" ] ; then - echo "Directory $VSPERFENV_DIR already exists. Skipping python virtualenv creation." - exit -fi - -# enable virtual environment in a subshell, so QEMU build can use python 2.7 - -(virtualenv-3.4 "$VSPERFENV_DIR" -source "$VSPERFENV_DIR"/bin/activate -pip install -r ../requirements.txt -pip install pylint) \ No newline at end of file diff --git a/systems/Red/7.2/build_base_machine.sh b/systems/Red/7.2/build_base_machine.sh deleted file mode 100755 index a038f7b3..00000000 --- a/systems/Red/7.2/build_base_machine.sh +++ /dev/null @@ -1,98 +0,0 @@ -#!/bin/bash -# -# Build a base machine for RHEL 7.2 -# -# Copyright 2016 OPNFV, Intel Corporation & Red Hat Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# Contributors: -# Aihua Li, Huawei Technologies. -# Martin Klozik, Intel Corporation. -# Abdul Halim, Intel Corporation. -# Christian Trautman, Red Hat Inc. - -# Make and Compilers -pkglist=(\ - automake\ - fuse-devel\ - gcc\ - gcc-c++\ - glib2-devel\ - glibc.i686\ - kernel-devel\ - openssl-devel\ - pixman-devel\ - sysstat\ -) - -# Tools -pkglist=( - "${pkglist[@]}"\ - git\ - libtool\ - libpcap-devel\ - libnet\ - net-tools\ - openssl\ - openssl-devel\ - pciutils\ - socat\ - tk-devel\ - wget\ -) - -# python tools for proper QEMU, DPDK, and OVS make -pkglist=( - "${pkglist[@]}"\ - python-six\ -) - -# Iterate installing each package. If packages fail to install, record those -# packages and exit with an error message on completion. Customer may need to -# add repo locations and subscription levels. -failedinstall=() -for pkg in ${pkglist[*]}; do - echo "Installing ${pkg}" - yum -y install ${pkg} || failedinstall=("${failedinstall[*]}" "$pkg") -done - -if [ "${#failedinstall[*]}" -gt 0 ]; then - echo "The following packages failed to install. Please add appropriate repo\ - locations and/or subscription levels. Then run the build script again." - for fail in ${failedinstall[*]}; do - echo $fail - done - exit 1 -fi - -# python34 is not yet available to Red Hat customers so we will just build -# it as an alternate install in usr/local for use with VSPerf. This prevents -# any functionality issues with pre-installed packages using python. -wget https://www.python.org/ftp/python/3.4.2/Python-3.4.2.tar.xz -tar -xf Python-3.4.2.tar.xz -cd Python-3.4.2 -./configure -make -make altinstall -cd .. - -# cleanup -rm -Rf Python-3.4.2 -rm -f Python-3.4.2.tar.xz - -# need virtualenv -pip3.4 install virtualenv - -# Create hugepage dirs -mkdir -p /dev/hugepages \ No newline at end of file diff --git a/systems/Red/7.2/prepare_python_env.sh b/systems/Red/7.2/prepare_python_env.sh deleted file mode 100755 index 1d51380a..00000000 --- a/systems/Red/7.2/prepare_python_env.sh +++ /dev/null @@ -1,34 +0,0 @@ -#!/bin/bash -# -# Prepare Python environment for vsperf execution on Red Hat 7.2 systems. -# -# Copyright 2016 OPNFV, Intel Corporation, Red Hat Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -if [ -d "$VSPERFENV_DIR" ] ; then - echo "Directory $VSPERFENV_DIR already exists. Skipping python virtualenv \ -creation." - exit -fi - -# enable virtual environment in a subshell, so QEMU build can use python 2.7 -# Also make sure we know which virtualenv was installed. I've seen the file -# name change pending on what type of installation was done. -virtualenv_file=$(ls /usr/local/bin | awk '/virtualenv/') - -($virtualenv_file "$VSPERFENV_DIR" -source "$VSPERFENV_DIR"/bin/activate -pip3.4 install -r ../requirements.txt -pip3.4 install pylint -) \ No newline at end of file diff --git a/systems/Ubuntu/14.04/build_base_machine.sh b/systems/Ubuntu/14.04/build_base_machine.sh deleted file mode 100755 index 3b4185fc..00000000 --- a/systems/Ubuntu/14.04/build_base_machine.sh +++ /dev/null @@ -1,90 +0,0 @@ -#!/bin/bash -# -# Build a base machine for Ubuntu 14.04 -# -# Copyright 2015 OPNFV, Intel Corporation. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# Contributors: -# Aihua Li, Huawei Technologies. -# Martin Klozik, Intel Corporation. -# Abdul Halim, Intel Corporation. - -apt-get update -apt-get -y install $(echo " -# Make and Compilers -make -automake -gcc -g++ -libc6 -libc6-dev -libxml2 -fuse -libfuse2 -libfuse-dev -libssl1.0.0 -libssl-dev -libglib2.0-dev -zlib1g-dev - -# Linux Kernel Source -linux-source -linux-headers-$(uname -r) -pkg-config - -# tools -curl -libcurl4-openssl-dev -automake -autoconf -libtool -libpcap-dev -libnet1 -libncurses5-dev -vim -wget -git -pciutils -cifs-utils -socat -libpixman-1-0 -libpixman-1-dev - -# Java runtime environment: Required for Ixia TclClient -default-jre - -# install python packages -python3 -python-pip -python3-pip -python3-setuptools -python3-dbus -python3-dev -python3-tk -libpython3.4 -python3-reportlab - -# install git-review tool -git-review -" | grep -v ^#) - -# fix: Ixia TclClient installation: cannot find 'libc.s0.6' -ln -sf $(locate libc.so.6) /lib/libc.so.6 - -# Install virtualenv -pip3 install virtualenv - -# Create hugepage dirs -mkdir -p /dev/hugepages \ No newline at end of file diff --git a/systems/Ubuntu/14.04/prepare_python_env.sh b/systems/Ubuntu/14.04/prepare_python_env.sh deleted file mode 100755 index f9c2def8..00000000 --- a/systems/Ubuntu/14.04/prepare_python_env.sh +++ /dev/null @@ -1,29 +0,0 @@ -#!/bin/bash -# -# Prepare Python environment for vsperf execution on Ubuntu 14.04 systems -# -# Copyright 2015 OPNFV, Intel Corporation. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -if [ -d "$VSPERFENV_DIR" ] ; then - echo "Directory $VSPERFENV_DIR already exists. Skipping python virtualenv creation." - exit -fi - -# enable virtual environment in a subshell, so QEMU build can use python 2.7 - -(virtualenv-3.4 "$VSPERFENV_DIR" -source "$VSPERFENV_DIR"/bin/activate -pip install -r ../requirements.txt -pip install pylint) \ No newline at end of file diff --git a/systems/Ubuntu/build_base_machine.sh b/systems/Ubuntu/build_base_machine.sh deleted file mode 100755 index a2b48a26..00000000 --- a/systems/Ubuntu/build_base_machine.sh +++ /dev/null @@ -1,63 +0,0 @@ -#!/bin/bash -# -# Build a base machine for Ubuntu style distro -# -# Copyright 2015 OPNFV -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# Contributors: -# Aihua Li, Huawei Technologies. - -# Synchronize package index files -apt-get -y update - -# Make and Compilers -apt-get -y install make -apt-get -y install automake -apt-get -y install gcc -apt-get -y install gcc++ -apt-get -y install libssl1.0.0 -apt-get -y install libxml2 -apt-get -y install zlib1g-dev -apt-get -y install scapy - -# Linux Kernel Source -apt-get -y install linux-source -apt-get -y install pkg-config - -# Install package dependecies -apt-get -y install libncurses5-dev -apt-get -y install curl -apt-get -y install libcurl4-openssl-dev -apt-get -y install autoconf libtool -apt-get -y install libpcap-dev -apt-get -y install libglib2.0 -apt-get -y install libfuse-dev - -# Some useful tools you may optionally install -#apt-get -y install ctags -#apt-get -y install wireshark - -# packages related to VM - -# a few manual fix up on a ubuntu -cd /lib/x86_64-linux-gnu -ln -sf libssl.so.1.0.0 libssl.so -ln -sf libcrypto.so.1.0.0 libcrypto.so - -cd /usr/lib/x86_64-linux-gnu -ln -sf libxml2.so.2 libxml2.so - - - diff --git a/systems/build_base_machine.sh b/systems/build_base_machine.sh index c64f7bb2..59712b96 100755 --- a/systems/build_base_machine.sh +++ b/systems/build_base_machine.sh @@ -38,7 +38,7 @@ function die() { . /etc/os-release # Get OS name (the First word from $NAME in /etc/os-release) -OS_NAME=`echo "$NAME" | cut -d ' ' -f1` +OS_NAME="$ID" # check if root if [ "$UID" -ne "$ROOT_UID" ] diff --git a/systems/centos/build_base_machine.sh b/systems/centos/build_base_machine.sh new file mode 100755 index 00000000..8339dd2d --- /dev/null +++ b/systems/centos/build_base_machine.sh @@ -0,0 +1,78 @@ +#!/bin/bash +# +# Build a base machine for CentOS distro +# +# Copyright 2015 OPNFV +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +# Contributors: +# Aihua Li, Huawei Technologies. +# Martin Klozik, Intel Corporation. + +# Synchronize package index files +yum -y update + +# Install required packages +yum -y install $(echo " + +# Make, Compilers and devel +make +gcc +gcc-c++ +libxml2 +glibc.i686 +kernel-devel + +# tools +wget +git +scl-utils +vim +curl +autoconf +libtool +automake +pciutils +cifs-utils +sysstat + +# libs +libpcap-devel +libnet +fuse +fuse-libs +fuse-devel +zlib +zlib-devel +glib2-devel +pixman-devel +socat + +# install gvim +vim-X11 + +# install epel release required for git-review +epel-release +" | grep -v ^#) + +# install SCL for python33 +wget https://www.softwarecollections.org/en/scls/rhscl/python33/epel-7-x86_64/download/rhscl-python33-epel-7-x86_64.noarch.rpm +rpm -i rhscl-python33-epel-7-x86_64.noarch.rpm + +# install python33 packages and git-review tool +yum -y install $(echo " +python33 +python33-python-tkinter +git-review +" | grep -v ^#) diff --git a/systems/centos/prepare_python_env.sh b/systems/centos/prepare_python_env.sh new file mode 100755 index 00000000..5777448b --- /dev/null +++ b/systems/centos/prepare_python_env.sh @@ -0,0 +1,29 @@ +#!/bin/bash +# +# Prepare Python 3 environment for vsperf execution +# +# Copyright 2015 OPNFV +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +if [ -d "$VSPERFENV_DIR" ] ; then + echo "Directory $VSPERFENV_DIR already exists. Skipping python virtualenv creation." + exit +fi + +scl enable python33 " +virtualenv "$VSPERFENV_DIR" +source "$VSPERFENV_DIR"/bin/activate +pip install -r ../requirements.txt +pip install pylint +" diff --git a/systems/fedora/20/build_base_machine.sh b/systems/fedora/20/build_base_machine.sh new file mode 100755 index 00000000..77d95779 --- /dev/null +++ b/systems/fedora/20/build_base_machine.sh @@ -0,0 +1,66 @@ +#!/bin/bash +# +# Build a base machine for Fedora distro +# +# Copyright 2015 OPNFV, Intel Corporation. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +# Contributors: +# Aihua Li, Huawei Technologies. +# Martin Klozik, Intel Corporation. +# Abdul Halim, Intel Corporation. + +yum -y install $(echo " +# Make and Compilers +make +automake +gcc +gcc-c++ +libxml2 +glibc.i686 +kernel-devel +fuse-libs +fuse +fuse-devel + +# tools +curl +autoconf +libtool +libpcap-devel +libnet +vim +wget +git +pciutils +cifs-utils +socat + +# install python packages +python3 +python3-virtualenv +python3-setuptools +python3-pip +python3-dbus +python3-devel +python3-tkinter +systemd-python3 +python3-libs +libreport-python3 +abrt-python3 +abrt-addon-python3 + +# install git-review tool +git-review +" | grep -v ^#) \ No newline at end of file diff --git a/systems/fedora/20/prepare_python_env.sh b/systems/fedora/20/prepare_python_env.sh new file mode 100755 index 00000000..d0efd687 --- /dev/null +++ b/systems/fedora/20/prepare_python_env.sh @@ -0,0 +1,29 @@ +#!/bin/bash +# +# Prepare Python environment for vsperf execution on Fedora systems +# +# Copyright 2015 OPNFV, Intel Corporation. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +if [ -d "$VSPERFENV_DIR" ] ; then + echo "Directory $VSPERFENV_DIR already exists. Skipping python virtualenv creation." + exit +fi + +# enable virtual environment in a subshell, so QEMU build can use python 2.7 + +(virtualenv-3.3 "$VSPERFENV_DIR" +source "$VSPERFENV_DIR"/bin/activate +pip install -r ../requirements.txt +pip install pylint) diff --git a/systems/fedora/21/build_base_machine.sh b/systems/fedora/21/build_base_machine.sh new file mode 100755 index 00000000..0aaa73b6 --- /dev/null +++ b/systems/fedora/21/build_base_machine.sh @@ -0,0 +1,72 @@ +#!/bin/bash +# +# Build a base machine for Fedora distro +# +# Copyright 2015 OPNFV, Intel Corporation. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +# Contributors: +# Aihua Li, Huawei Technologies. +# Martin Klozik, Intel Corporation. +# Abdul Halim, Intel Corporation. + +yum -y install $(echo " +# Make and Compilers +make +automake +gcc +gcc-c++ +libxml2 +glibc.i686 +kernel-devel +fuse-libs +fuse +fuse-devel +kernel-modules-extra +pixman-devel +openssl-devel + +# tools +curl +autoconf +libtool +libpcap-devel +libnet +vim +wget +git +pciutils +cifs-utils +socat + +# install python packages +python3 +python3-virtualenv +python3-setuptools +python3-pip +python3-dbus +python3-devel +python3-tkinter +systemd-python3 +python3-libs +libreport-python3 +abrt-python3 +abrt-addon-python3 + +# install git-review tool +git-review +" | grep -v ^#) || exit 1 + +# Create hugepage dirs +mkdir -p /dev/hugepages diff --git a/systems/fedora/21/prepare_python_env.sh b/systems/fedora/21/prepare_python_env.sh new file mode 100755 index 00000000..f348c75d --- /dev/null +++ b/systems/fedora/21/prepare_python_env.sh @@ -0,0 +1,29 @@ +#!/bin/bash +# +# Prepare Python environment for vsperf execution on Fedora systems +# +# Copyright 2015 OPNFV, Intel Corporation. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +if [ -d "$VSPERFENV_DIR" ] ; then + echo "Directory $VSPERFENV_DIR already exists. Skipping python virtualenv creation." + exit +fi + +# enable virtual environment in a subshell, so QEMU build can use python 2.7 + +(virtualenv-3.4 "$VSPERFENV_DIR" || exit 1 +source "$VSPERFENV_DIR"/bin/activate || exit 1 +pip install -r ../requirements.txt || exit 1 +pip install pylint || exit 1) diff --git a/systems/fedora/22/build_base_machine.sh b/systems/fedora/22/build_base_machine.sh new file mode 100755 index 00000000..a909e284 --- /dev/null +++ b/systems/fedora/22/build_base_machine.sh @@ -0,0 +1,74 @@ +#!/bin/bash +# +# Build a base machine for Fedora 22 +# +# Copyright 2015 OPNFV, Intel Corporation. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +# Contributors: +# Aihua Li, Huawei Technologies. +# Martin Klozik, Intel Corporation. +# Abdul Halim, Intel Corporation. + +dnf -y install $(echo " +# Make and Compilers +make +automake +gcc +gcc-c++ +libxml2 +glibc.i686 +glib2-devel +kernel-devel +fuse-libs +fuse +fuse-devel +kernel-modules-extra +pixman-devel +openssl-devel + +# tools +curl +autoconf +libtool +libpcap-devel +libnet +vim +wget +git +pciutils +cifs-utils +socat +sysstat + +# install python packages +python3 +python3-virtualenv +python3-setuptools +python3-pip +python3-dbus +python3-devel +python3-tkinter +systemd-python3 +python3-libs +libreport-python3 +abrt-python3 +abrt-addon-python3 + +# install git-review tool +git-review +" | grep -v ^#) + +# Create hugepage dirs +mkdir -p /dev/hugepages \ No newline at end of file diff --git a/systems/fedora/22/prepare_python_env.sh b/systems/fedora/22/prepare_python_env.sh new file mode 100755 index 00000000..0b2c5a32 --- /dev/null +++ b/systems/fedora/22/prepare_python_env.sh @@ -0,0 +1,29 @@ +#!/bin/bash +# +# Prepare Python environment for vsperf execution on Fedora 22 systems. +# +# Copyright 2015 OPNFV, Intel Corporation. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +if [ -d "$VSPERFENV_DIR" ] ; then + echo "Directory $VSPERFENV_DIR already exists. Skipping python virtualenv creation." + exit +fi + +# enable virtual environment in a subshell, so QEMU build can use python 2.7 + +(virtualenv-3.4 "$VSPERFENV_DIR" +source "$VSPERFENV_DIR"/bin/activate +pip install -r ../requirements.txt +pip install pylint) \ No newline at end of file diff --git a/systems/rhel/7.2/build_base_machine.sh b/systems/rhel/7.2/build_base_machine.sh new file mode 100755 index 00000000..a038f7b3 --- /dev/null +++ b/systems/rhel/7.2/build_base_machine.sh @@ -0,0 +1,98 @@ +#!/bin/bash +# +# Build a base machine for RHEL 7.2 +# +# Copyright 2016 OPNFV, Intel Corporation & Red Hat Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +# Contributors: +# Aihua Li, Huawei Technologies. +# Martin Klozik, Intel Corporation. +# Abdul Halim, Intel Corporation. +# Christian Trautman, Red Hat Inc. + +# Make and Compilers +pkglist=(\ + automake\ + fuse-devel\ + gcc\ + gcc-c++\ + glib2-devel\ + glibc.i686\ + kernel-devel\ + openssl-devel\ + pixman-devel\ + sysstat\ +) + +# Tools +pkglist=( + "${pkglist[@]}"\ + git\ + libtool\ + libpcap-devel\ + libnet\ + net-tools\ + openssl\ + openssl-devel\ + pciutils\ + socat\ + tk-devel\ + wget\ +) + +# python tools for proper QEMU, DPDK, and OVS make +pkglist=( + "${pkglist[@]}"\ + python-six\ +) + +# Iterate installing each package. If packages fail to install, record those +# packages and exit with an error message on completion. Customer may need to +# add repo locations and subscription levels. +failedinstall=() +for pkg in ${pkglist[*]}; do + echo "Installing ${pkg}" + yum -y install ${pkg} || failedinstall=("${failedinstall[*]}" "$pkg") +done + +if [ "${#failedinstall[*]}" -gt 0 ]; then + echo "The following packages failed to install. Please add appropriate repo\ + locations and/or subscription levels. Then run the build script again." + for fail in ${failedinstall[*]}; do + echo $fail + done + exit 1 +fi + +# python34 is not yet available to Red Hat customers so we will just build +# it as an alternate install in usr/local for use with VSPerf. This prevents +# any functionality issues with pre-installed packages using python. +wget https://www.python.org/ftp/python/3.4.2/Python-3.4.2.tar.xz +tar -xf Python-3.4.2.tar.xz +cd Python-3.4.2 +./configure +make +make altinstall +cd .. + +# cleanup +rm -Rf Python-3.4.2 +rm -f Python-3.4.2.tar.xz + +# need virtualenv +pip3.4 install virtualenv + +# Create hugepage dirs +mkdir -p /dev/hugepages \ No newline at end of file diff --git a/systems/rhel/7.2/prepare_python_env.sh b/systems/rhel/7.2/prepare_python_env.sh new file mode 100755 index 00000000..1d51380a --- /dev/null +++ b/systems/rhel/7.2/prepare_python_env.sh @@ -0,0 +1,34 @@ +#!/bin/bash +# +# Prepare Python environment for vsperf execution on Red Hat 7.2 systems. +# +# Copyright 2016 OPNFV, Intel Corporation, Red Hat Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +if [ -d "$VSPERFENV_DIR" ] ; then + echo "Directory $VSPERFENV_DIR already exists. Skipping python virtualenv \ +creation." + exit +fi + +# enable virtual environment in a subshell, so QEMU build can use python 2.7 +# Also make sure we know which virtualenv was installed. I've seen the file +# name change pending on what type of installation was done. +virtualenv_file=$(ls /usr/local/bin | awk '/virtualenv/') + +($virtualenv_file "$VSPERFENV_DIR" +source "$VSPERFENV_DIR"/bin/activate +pip3.4 install -r ../requirements.txt +pip3.4 install pylint +) \ No newline at end of file diff --git a/systems/ubuntu/14.04/build_base_machine.sh b/systems/ubuntu/14.04/build_base_machine.sh new file mode 100755 index 00000000..3b4185fc --- /dev/null +++ b/systems/ubuntu/14.04/build_base_machine.sh @@ -0,0 +1,90 @@ +#!/bin/bash +# +# Build a base machine for Ubuntu 14.04 +# +# Copyright 2015 OPNFV, Intel Corporation. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +# Contributors: +# Aihua Li, Huawei Technologies. +# Martin Klozik, Intel Corporation. +# Abdul Halim, Intel Corporation. + +apt-get update +apt-get -y install $(echo " +# Make and Compilers +make +automake +gcc +g++ +libc6 +libc6-dev +libxml2 +fuse +libfuse2 +libfuse-dev +libssl1.0.0 +libssl-dev +libglib2.0-dev +zlib1g-dev + +# Linux Kernel Source +linux-source +linux-headers-$(uname -r) +pkg-config + +# tools +curl +libcurl4-openssl-dev +automake +autoconf +libtool +libpcap-dev +libnet1 +libncurses5-dev +vim +wget +git +pciutils +cifs-utils +socat +libpixman-1-0 +libpixman-1-dev + +# Java runtime environment: Required for Ixia TclClient +default-jre + +# install python packages +python3 +python-pip +python3-pip +python3-setuptools +python3-dbus +python3-dev +python3-tk +libpython3.4 +python3-reportlab + +# install git-review tool +git-review +" | grep -v ^#) + +# fix: Ixia TclClient installation: cannot find 'libc.s0.6' +ln -sf $(locate libc.so.6) /lib/libc.so.6 + +# Install virtualenv +pip3 install virtualenv + +# Create hugepage dirs +mkdir -p /dev/hugepages \ No newline at end of file diff --git a/systems/ubuntu/14.04/prepare_python_env.sh b/systems/ubuntu/14.04/prepare_python_env.sh new file mode 100755 index 00000000..f9c2def8 --- /dev/null +++ b/systems/ubuntu/14.04/prepare_python_env.sh @@ -0,0 +1,29 @@ +#!/bin/bash +# +# Prepare Python environment for vsperf execution on Ubuntu 14.04 systems +# +# Copyright 2015 OPNFV, Intel Corporation. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +if [ -d "$VSPERFENV_DIR" ] ; then + echo "Directory $VSPERFENV_DIR already exists. Skipping python virtualenv creation." + exit +fi + +# enable virtual environment in a subshell, so QEMU build can use python 2.7 + +(virtualenv-3.4 "$VSPERFENV_DIR" +source "$VSPERFENV_DIR"/bin/activate +pip install -r ../requirements.txt +pip install pylint) \ No newline at end of file diff --git a/systems/ubuntu/build_base_machine.sh b/systems/ubuntu/build_base_machine.sh new file mode 100755 index 00000000..a2b48a26 --- /dev/null +++ b/systems/ubuntu/build_base_machine.sh @@ -0,0 +1,63 @@ +#!/bin/bash +# +# Build a base machine for Ubuntu style distro +# +# Copyright 2015 OPNFV +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +# Contributors: +# Aihua Li, Huawei Technologies. + +# Synchronize package index files +apt-get -y update + +# Make and Compilers +apt-get -y install make +apt-get -y install automake +apt-get -y install gcc +apt-get -y install gcc++ +apt-get -y install libssl1.0.0 +apt-get -y install libxml2 +apt-get -y install zlib1g-dev +apt-get -y install scapy + +# Linux Kernel Source +apt-get -y install linux-source +apt-get -y install pkg-config + +# Install package dependecies +apt-get -y install libncurses5-dev +apt-get -y install curl +apt-get -y install libcurl4-openssl-dev +apt-get -y install autoconf libtool +apt-get -y install libpcap-dev +apt-get -y install libglib2.0 +apt-get -y install libfuse-dev + +# Some useful tools you may optionally install +#apt-get -y install ctags +#apt-get -y install wireshark + +# packages related to VM + +# a few manual fix up on a ubuntu +cd /lib/x86_64-linux-gnu +ln -sf libssl.so.1.0.0 libssl.so +ln -sf libcrypto.so.1.0.0 libcrypto.so + +cd /usr/lib/x86_64-linux-gnu +ln -sf libxml2.so.2 libxml2.so + + + -- cgit 1.2.3-korg