-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathsetup_linux.sh
47 lines (33 loc) · 1.08 KB
/
setup_linux.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#!/bin/bash
# Setup CentOS 5
#
# Download CentOS-5.10-x86_64-bin-1of9.iso
# from http://isoredirect.centos.org/centos/5/isos/x86_64/
#
# Run the following:
#
# $ yum install wget -yq
# $ wget https://raw.githubusercontent.com/ezralanglois/arachnid/master/setup_linux.sh
# $ sh setup_linux.sh
#
yum install wget gcc gcc-gfortran gcc-c++ \
unzip make zlib zlib-devel bzip2 \
openssh-server openssh-clients openssl-devel \
curl curl-devel expat expat-devel gettext \
-yq
wget https://github.com/git/git/archive/master.zip
mv master master.zip
unzip master.zip
cd git-master/
make prefix=/usr install
cd
rm -fr git-master/
wget http://repo.continuum.io/miniconda/Miniconda-3.0.0-Linux-x86_64.sh
sh Miniconda-3.0.0-Linux-x86_64.sh -b -p $HOME/anaconda
export PATH=$HOME/anaconda/bin:$PATH
git clone http://github.com/ezralanglois/arachnid/
conda install conda-build jinja2 setuptools binstar patchelf --yes
cd arachnid
cp .condarc ~/
rm -f Miniconda-3.0.0-Linux-x86_64.sh master.zip setup_linux.sh install.log install.log.syslog anaconda-ks.cfg
echo 'export PATH=$HOME/anaconda/bin:$PATH' >> .bashrc