Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Unix (RHEL/CentOS/Ubuntu/OSX) Setup (under construction)

OSX

Redhat/CentOS



install java 

set JAVA_HOME in ~/.bashrc

yum install java-1.8.0-openjdk-devel

get it via alternatives --config javac

install git and development tools
yum install git
yum groupinstall 'Development Tools'
install npm
(will also be installed automatically by the ecomp build)

download and install Maven 3.5.0

create an ~/.m2 folder and copy our settings.xml there

add maven to your path - check it with mvn --version

http://maven.apache.org/download.cgi

tar -xvf apache-maven-3.5.0-bin.tar.gz
Add the following option to your MAVEN_OPTS in order not to periodically hang on downloading artifacts in linux-Djava.net.preferIPv4Stack=true
Install docker (required for some repos like dcae-inventory off dcae
   77  sudo yum install docker
   78  sudo yum install -y yum-utils
   79  sudo yum-config-manager     --add-repo     https://download.docker.com/linux/centos/docker-ce.repo
   80  sudo yum-config-manager --enable docker-ce-edge
   81  sudo yum makecache fast
   83  sudo yum install docker-ce
   84  sudo systemctl start docker
   85  sudo docker run hello-world
   86  docker ps


Install git-review

<<TODO: describe a Linux client set-up for Git and git-review>>

...