Install & Setup eXo Platform 
Author: Josef Jezek
Check Download page for latest version of eXo Platform and update VERSION
Assuming the username of the Ubuntu user is "theusername". | |
Preparation | |
----------- | |
``` | |
sudo apt-get update | |
sudo apt-get upgrade | |
sudo apt-get install build-essential libtool autotools-dev autoconf pkg-config libssl-dev |
# NOTICE: to get Nginx+Unicorn best-practices configuration see the gist https://gist.github.com/3052776 | |
$ cd /usr/src | |
$ wget http://nginx.org/download/nginx-1.2.1.tar.gz | |
$ tar xzvf ./nginx-1.2.1.tar.gz && rm -f ./nginx-1.2.1.tar.gz | |
$ wget ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-8.30.tar.gz | |
$ tar xzvf pcre-8.30.tar.gz && rm -f ./pcre-8.30.tar.gz | |
$ wget http://www.openssl.org/source/openssl-1.0.1c.tar.gz |
#Download Elementary OS from here: | |
#https://elementary.io/ | |
#First you update your system | |
sudo apt-get update && sudo apt-get dist-upgrade | |
#Install Google Chrome | |
wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add - | |
sudo sh -c 'echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list' | |
sudo apt-get update |
sudo sed -i -r 's/(\[.+\])$/\1\nStartupWMClass=Google-chrome-stable/g' /usr/share/applications/google-chrome.desktop |
<!doctype html> | |
<title>Site Maintenance</title> | |
<style> | |
body { text-align: center; padding: 150px; } | |
h1 { font-size: 50px; } | |
body { font: 20px Helvetica, sans-serif; color: #333; } | |
article { display: block; text-align: left; width: 650px; margin: 0 auto; } | |
a { color: #dc8100; text-decoration: none; } | |
a:hover { color: #333; text-decoration: none; } | |
</style> |
#!/bin/bash | |
BACKUP=/home/backups/redis | |
REDIS_SOURCE=/var/lib/redis/dump.rdb | |
REDIS_DEST=$BACKUP/$(date +"%Y-%m-%d")-dump.rdb | |
find $BACKUP/* -name "*.rdb" -mtime +7 -exec rm {} \; | |
redis-cli save > /dev/null | |
cp $REDIS_SOURCE $REDIS_DEST |
Author: Josef Jezek
Check Download page for latest version of eXo Platform and update VERSION