Commit 01a924df authored by root's avatar root
Browse files

fixing install.sh

parent 4ecf2d28
...@@ -14,6 +14,7 @@ ...@@ -14,6 +14,7 @@
# As root: # As root:
yum check-update yum check-update
yum install epel-release # enables another software repo
yum update yum update
# Install needed tools # Install needed tools
...@@ -26,9 +27,7 @@ yum install inotify-tools incron ...@@ -26,9 +27,7 @@ yum install inotify-tools incron
yum groupinstall "Development Tools" yum groupinstall "Development Tools"
# Install python libraries # Install python libraries
yum install python-inotify numpy python-matplotlib python-virtualenv yum install python-inotify numpy python-matplotlib python-virtualenv python-pip python-pandas libffi-devel
python -m easy_install pip
pip install pandas
pip install css-html-js-minify pip install css-html-js-minify
pip install bcrypt pip install bcrypt
...@@ -43,12 +42,8 @@ mysql_secure_installation ...@@ -43,12 +42,8 @@ mysql_secure_installation
# remote root login disabled # remote root login disabled
systemctl enable mariadb systemctl enable mariadb
# Install a relevant python ORM library # Install SQLAlchemy
# TODO: Pick one we like the most! yum install MySQL-python python-sqlalchemy
# Big ones like SQLAlchemy?
# owanes quite likes the look of https://storm.canonical.com/ :)
pip install mysql-python
pip install storm
# Install PHP # Install PHP
yum install php php-fpm php-apc php-pdo php-mcrypt php-mbstring yum install php php-fpm php-apc php-pdo php-mcrypt php-mbstring
...@@ -61,7 +56,6 @@ systemctl enable php-fpm ...@@ -61,7 +56,6 @@ systemctl enable php-fpm
# FOR NGINX # FOR NGINX
# Based on https://www.digitalocean.com/community/tutorials/how-to-install-nginx-on-centos-7 # 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 check-update
yum install nginx yum install nginx
useradd -m gliders useradd -m gliders
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment