Laravel Community Tools by Tighten

All Recipes

140 recipes available

Laravel Forge Default Deploy Script

This is the default recipe created when you spin up a server in Laravel Forge.

cd /home/forge/tylerholhubner
git pull origin master
composer install --no-dev --no-scripts
php artisan optimize --env="production"
10 years ago
tholhubner

Install ElasticSearch 1.4

Forked from @artisangoose Recipe #9; updated Java & Elasticsearch version, and added scheduler to boot Elasticsearch when server reboots

echo ">> Installing Elastic GPG Key"
wget -O - http://packages.elasticsearch.org/GPG-KEY-elasticsearch | apt-key add -

echo ">> Adding deb package"
11 years ago
mattstauffer

Install Drush

# Add composer to path
sed -i '1i export PATH="$HOME/.composer/vendor/bin:$PATH"' $HOME/.bashrc
# Resource config
source ~/.bashrc
11 years ago
tommyent

Install LibXL 3.6.0.1 and Accompanying PHP Extension Interface

This bash script will auto download LibXL and Iliaal's accompanying PHP extension service, and install them to your server. Please note that the LibXL library is a commercial library. This script n...

echo "Downloading and extracting LibXL 3.6.0.1 for linux..."
curl -L ftp://xlware.com/libxl-lin-3.6.0.1.tar.gz | tar zx
cd libxl-3.6.0.1/
ln -s include_c include
11 years ago
kaidesu

Install imagick & php5-imagick (without prompt)

Install imagick and php5-imagick extension without prompt

sudo apt-get install -y imagemagick php5-imagick
11 years ago
insign

Install Webdis - A fast HTTP interface for Redis

Make sure to run this recipe as root.

echo ">> Cloning Webdis Repo"
git clone git://github.com/nicolasff/webdis.git && cd webdis
pwd

11 years ago
artisangoose

Install imagick

Install imagick

sudo apt-get install imagemagick
sudo apt-get install php5-imagick
11 years ago
freekmurze

Set the New Relic app name to the hostname

Set the New Relic app name to the hostname Reboot your server to activate

sudo bash -c 'echo "newrelic.appname="$(hostname) >> /etc/php5/fpm/php.ini'
11 years ago
freekmurze

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