From 01a924df65f2265fb5ee8cf7152e284b3d78d579 Mon Sep 17 00:00:00 2001 From: root <root@localhost.localdomain> Date: Thu, 14 Jan 2016 11:47:06 +0000 Subject: [PATCH] fixing install.sh --- install.sh | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/install.sh b/install.sh index a24d248..e9513f4 100644 --- a/install.sh +++ b/install.sh @@ -14,6 +14,7 @@ # As root: yum check-update +yum install epel-release # enables another software repo yum update # Install needed tools @@ -26,9 +27,7 @@ yum install inotify-tools incron yum groupinstall "Development Tools" # Install python libraries -yum install python-inotify numpy python-matplotlib python-virtualenv -python -m easy_install pip -pip install pandas +yum install python-inotify numpy python-matplotlib python-virtualenv python-pip python-pandas libffi-devel pip install css-html-js-minify pip install bcrypt @@ -43,12 +42,8 @@ mysql_secure_installation # remote root login disabled systemctl enable mariadb -# Install a relevant python ORM library -# TODO: Pick one we like the most! -# Big ones like SQLAlchemy? -# owanes quite likes the look of https://storm.canonical.com/ :) -pip install mysql-python -pip install storm +# Install SQLAlchemy +yum install MySQL-python python-sqlalchemy # Install PHP yum install php php-fpm php-apc php-pdo php-mcrypt php-mbstring @@ -61,7 +56,6 @@ systemctl enable php-fpm # FOR NGINX # Based on https://www.digitalocean.com/community/tutorials/how-to-install-nginx-on-centos-7 -yum install epel-release # enables another software repo yum check-update yum install nginx useradd -m gliders -- GitLab