Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Owain Jones
gliders-webserver
Commits
862aee62
Commit
862aee62
authored
9 years ago
by
Owain Jones
Browse files
Options
Download
Email Patches
Plain Diff
added some more python packages to global install
parent
00c1661b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
8 deletions
+10
-8
install.sh
install.sh
+10
-8
No files found.
install.sh
View file @
862aee62
...
...
@@ -25,9 +25,11 @@ yum install -y inotify-tools incron
yum groupinstall
-y
"Development Tools"
# Install python libraries
yum
install
-y
python-inotify numpy python-matplotlib python-virtualenv python-pip python-pandas libffi-devel pypy pypy-devel python-daemon
yum
install
-y
python-inotify numpy python-matplotlib python-virtualenv python-pip python-pandas libffi-devel pypy pypy-devel python-daemon
netcdf4-python
pip
install
css-html-js-minify
pip
install
bcrypt
pip
install
future
pip
install
dbdreader
# Install (& configure) sendmail
# This isn't needed yet! But eventually we'd like to have theystem
...
...
@@ -45,12 +47,12 @@ systemctl enable mariadb
# Install ElasticSearch
# (Used for full-text searching of glider log files)
#
yum install -y java-1.8.0-openjdk
#
rpm --import https://packages.elastic.co/GPG-KEY-elasticsearch
#
cp elasticsearch.repo /etc/yum/repos.d/
#
yum check-update -y
#
yum install -y elasticsearch
#
systemctl enable elasticsearch
yum
install
-y
java-1.8.0-openjdk
rpm
--import
https://packages.elastic.co/GPG-KEY-elasticsearch
cp
elasticsearch.repo /etc/yum/repos.d/
yum check-update
-y
yum
install
-y
elasticsearch
systemctl
enable
elasticsearch
# Install MongoDB
yum
install
-y
mongodb python-pymongo php-pecl-mongo
...
...
@@ -87,7 +89,7 @@ useradd -m gliders
gpasswd
-a
nginx gliders
gpasswd
-a
apache gliders
gpasswd
-a
wheel gliders
# let gliders user do sudo?
mkdir
-p
/var/gliders/logs /var/gliders/www/ /var/gliders/www_dev/
mkdir
-p
/var/gliders/logs /var/gliders/www/ /var/gliders/www_dev/
/var/gliders/daemon/logs/
chmod
-R
g+x /home/gliders
chown
-R
gliders:nginx /var/gliders
cp
nginx.conf /etc/nginx/
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment