Install & Setup eXo Platform 
Author: Josef Jezek
Check Download page for latest version of eXo Platform and update VERSION
Author: Josef Jezek
Check Download page for latest version of eXo Platform and update VERSION
cd /usr/local | |
wget http://downloads2.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64.tar.gz | |
tar xzf ioncube_loaders_lin_x86-64.tar.gz | |
rm -f ioncube_loaders_lin_x86-64.tar.gz | |
echo "zend_extension=/usr/local/ioncube/ioncube_loader_lin_5.4.so" | sudo tee /etc/php5/conf.d/ioncube.ini |
Source: http://www.reboot2elementary.com/discover-elementaryos/things-to-do/
enable the elementary community software repository
sudo apt-add-repository ppa:versable/elementary-update
update your system
sudo apt-get update && sudo apt-get dist-upgrade
sudo su | |
cd /var/lib/dpkg/info | |
rm -rf x-unikey* | |
dpkg --remove --force-remove-reinstreq x-unikey |
sudo apt-get install python-software-properties
sudo apt-add-repository ppa:chris-lea/node.js
sudo apt-get update
sudo apt-get install nodejs
sudo apt-get install libgnome-keyring-dev
sudo apt-get update | |
sudo apt-get install -y build-essential libpcre3-dev libssl-dev | |
wget 'http://openresty.org/download/ngx_openresty-1.4.3.6.tar.gz' | |
tar zxvf ngx_openresty-1.4.3.6.tar.gz | |
cd ngx_openresty-1.4.3.6/ | |
./configure --with-luajit --with-http_stub_status_module | |
make | |
sudo make install | |
/usr/local/openresty/nginx/sbin/nginx -c /etc/nginx/nginx.conf |
sudo fdisk /dev/svdb | |
sudo fdisk /dev/svdc | |
... | |
apt-get install -y mdadm | |
mdadm --create --verbose --auto=yes /dev/md0 --level=0 --raid-devices=2 /dev/xvdb1 /dev/xvdc1 | |
mkfs.ext4 /dev/md0 | |
sudo mkdir -p /data | |
mount /dev/md0 /data |
sudo su | |
apt-get update && apt-get install -y lua5.1 liblua5.1-dev pkg-config rsync asciidoc | |
wget http://lsyncd.googlecode.com/files/lsyncd-2.1.5.tar.gz | |
tar zxf lsyncd-2.1.5.tar.gz | |
cd lsyncd-2.1.5 | |
export CFLAGS="-march=native -O2" | |
./configure | |
make |
#!/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 |
ibus-unikey
sudo apt-get install ibus ibus-unikey ibus-qt4
Keyboard Input Methods
--> Input Methods
--> Select an input method
--> Vietnamese
--> Add unikey
sublime 2
sudo add-apt-repository ppa:webupd8team/sublime-text-2
sudo apt-get update