Laravel Community Tools by Tighten

All Recipes

144 recipes available

Fail2ban and iptables-persistent

Simple installation of fail2ban with standard configuration and iptables-persistent.

sudo apt-get update
sudo apt-get install -y fail2ban iptables-persistent

sudo cp /etc/fail2ban/jail.conf /etc/fail2ban/jail.local
11 years ago
tkjaergaard

Install an auto update script

Add an auto update shell script you can use with Laravel Forge's "New Scheduled Job" feature. • It updates the packages list • It automatically installs security critical updates • It do...

#
# Make sure we won't override something!
#
if [ -f /home/root/scripts/autoupdater.sh ]; then
11 years ago
hettiger

Elasticsearch 1.1.* plugin: PostgreSQL JDBC River

Installation of a JDBC plugin for elasticsearch : https://github.com/jprante/elasticsearch-river-jdbc

cd /usr/share/elasticsearch

# Installing the JDBC Elasticsearch plugin
./bin/plugin --install jdbc --url http://xbib.org/repository/org/xbib/elasticsearch/plugin/elasticsearch-river-jdbc/1.1.0.2/elasticsearch-river-jdbc-1.1.0.2-plugin.zip
11 years ago
yuters

Update & Upgrade

Runs update and dist-upgrade ;)

apt-get update
apt-get -y dist-upgrade
11 years ago
RobGordijn

Install MySQL Server 5.6

This one-line script will install the MySQL database server.

 apt-get install mysql-server-5.6
11 years ago
admin

Redirect non-www domains to www

# Add this before every nginx configuration you make
server {
	listen 80;
  server_name domain.com;
11 years ago
sloveniangooner

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"
11 years ago
artisangoose

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
11 years ago
JulienTant

Install VIPS library command line tools

Pick

VIPS 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
11 years ago
msurguy

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
11 years ago
david

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
11 years ago
david

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
11 years ago
david