All Recipes
140 recipes available
Install MySQL Server 5.6
This one-line script will install the MySQL database server.
apt-get install mysql-server-5.6
Redirect non-www domains to www
# Add this before every nginx configuration you make
server {
listen 80;
server_name domain.com;
Install ElasticSearch
Follow the steps outlined in http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/setup-repositories.html to install and start ElasticSearch on a Forge Server. Make sure to run ...
echo ">> Installing Elastic GPG Key"
wget -O - http://packages.elasticsearch.org/GPG-KEY-elasticsearch | apt-key add -
echo ">> Adding deb package"
Installing latest version of MongoDB
1. Registering the key to use the official mongodb apt repository 2. Update the package manager so it knows about the new repository 3. Install last version of MongoDB & some php tools to build t...
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 7F0CEB10
echo 'deb http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen' | sudo tee /etc/apt/sources.list.d/mongodb.list
sudo apt-get update
Install VIPS library command line tools
PickVIPS is a high speed library for image processing, happily handling images of any size on any amount of RAM available. For example resizing of 20,000x5,000 image to 1,200 x312 pixel dimension take...
sudo apt-get install libvips
sudo apt-get install libvips-tools
Install MongoDB and MongoDB PHP5 Module
This short set of commands will install MongoDB and get it ready
# Install MongoDB
sudo apt-get install mongodb
# Now install the PHP5 MongoDB binary
Install HHVM on Laravel Forge
This will install HHVM. The binary will be found in '/usr/local/bin'.
# Get all of the neccesary packages
wget -O - http://dl.hhvm.com/conf/hhvm.gpg.key | sudo apt-key add -
echo deb http://dl.hhvm.com/ubuntu trusty main | sudo tee /etc/apt/sources.list.d/hhvm.list
sudo apt-get update
Laravel Forge Default Deploy Script
This is the default recipe created when you spin up a server in Laravel Forge.
cd /home/forge/{{ sitefolder }}
git pull origin master
composer install
php artisan migrate