Skip to content

Instantly share code, notes, and snippets.

@AhmedSamy
Forked from habashyjr/Ubuntu BERSHAMA
Last active August 29, 2015 13:58
Show Gist options
  • Save AhmedSamy/9953459 to your computer and use it in GitHub Desktop.
Save AhmedSamy/9953459 to your computer and use it in GitHub Desktop.
Install update to apt-get
sudo apt-get install python-software-properties
PHP
—————
sudo add-apt-repository ppa:ondrej/php5
sudo apt-get update
sudo apt-get upgrade
Nginx
—--———-
sudo add-apt-repository ppa:nginx/stable
sudo apt-get update
sudo apt-get install nginx
MongoDB
—————-
http://docs.mongodb.org/manual/tutorial/install-mongodb-on-ubuntu/
PHP5 - MongoDrive
—————-
sudo apt-get install php5-dev php5-cli php-pear
sudo pecl install mongo
Nginx with Pagespeed
—————-
https://launchpad.net/~sandyd/+archive/nginx-current-pagespeed
Nginx, SPDY, Pagespeed
—————-
https://kura.io/2013/07/10/nginx-spdy-and-ngx-pagespeed/
https://launchpad.net/~sandyd/+archive/nginx-current-pagespeed
sudo add-apt-repository ppa:sandyd/nginx-current-pagespeed
wget https://kura.io/files/nginx_1.4.1_all.deb
wget https://kura.io/files/nginx-common_1.4.1_all.deb
wget https://kura.io/files/nginx-full_1.4.1_amd64.deb
wget https://kura.io/files/nginx-doc_1.4.1_all.deb
sudo dpkg -i nginx*.deb
sudo mkdir /var/cache/ngx_pagespeed/
chown www-data:www-data /var/cache/ngx_pagespeed
Common errors
—————-
shtool at '/tmp/APC/build/shtool' does not exist or is not executable.
mount -o remount,exec /tmp/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment