Skip to content

Local analysis

Sasha Baranov edited this page Oct 30, 2015 · 5 revisions
  1. Install vagrant https://www.vagrantup.com/
  2. Create a directory for your SHiP work and create VM from there:
mkdir ship-work
cd ship-work

vagrant init alexeym/scientificlinux-6.5
vagrant up --provider virtualbox
  1. In the same dir, save your ssh config
vagrant ssh-config | sed 's/Host\ default/Host\ shipvm/g' >> ~/.ssh/config
  1. Cool, now you can ssh -Y shipvm. After you ssh you can see ship-work directory created in step 2 in your vm in /vagrant folder inside vm.
  2. After sshing to vm, you'll need to do some magic:
sudo yum -y update
sudo yum -y install \
	which file bc bash-completion man \
	unzip tar patch \
	cmake \
	gcc-c++ \
	gcc-gfortran \
	compat-gcc-34-g77 \
	git subversion \
	xorg-x11-xauth \
	libX11-devel libXpm-devel libXmu-devel libXft-devel libXext-devel \
	mesa-libGL-devel mesa-libGLU-devel \
	expat-devel \
	python-devel \
	libxml2-devel \
	python-mtTkinter
sudo yum -y install x11vnc libpng xterm twm
Clone this wiki locally