This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# chkconfig: 2345 85 15 | |
# description: Startup script for project. | |
# exit on first error | |
set -e | |
# user running this script | |
_user="$(id -u -n)" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Install Python 2.7.8 alternatively | |
yum groupinstall "development tools" -y | |
yum install readline-devel openssl-devel gmp-devel ncurses-devel gdbm-devel zlib-devel expat-devel libGL-devel tk tix gcc-c++ libX11-devel glibc-devel bzip2 tar tcl-devel tk-devel pkgconfig tix-devel bzip2-devel sqlite-devel autoconf db4-devel libffi-devel valgrind-devel -y | |
mkdir tmp | |
cd tmp | |
wget http://python.org/ftp/python/2.7.9/Python-2.7.8.tgz | |
tar xvfz Python-2.7.9.tgz | |
cd Python-2.7.9 |