Laravel Community Tools by Tighten

All Recipes

144 recipes available

Check Laravel Versions

This Recipe loops through all the sites on your Forge box, checks for the `artisan` file and prints the Laravel version if present.

cd /home/forge
for d in */ ; do
    cd $d
    if [ -f artisan ]; then
8 years ago
vmitchell85

Install Digital Ocean Monitoring Tools

Run this recipe to install the Digital Ocean monitoring tools onto your DO droplets. Be sure to run this as the Root user.

#!/usr/bin/env bash

curl -sSL https://agent.digitalocean.com/install.sh | sh
8 years ago
5150studios

Update PHP.ini & Restart PHP 7.1

A working PHP 7.1 version of http://forgerecipes.com/recipes/35 Sensible defaults updated, change to your own specifications then add into Forge as a Recipe with Root access.

#!/usr/bin/env bash

declare -A replacers

8 years ago
5150studios

List WP Users (Requires WP-CLI)

After changing to the default Forge installation directory (/home/forge) the script loops over every folder and if a "wp-config.php" file exists it prints the folder name, then runs the `wp user li...

cd /home/forge
for d in */ ; do
    cd $d
    if [ -f wp-config.php ]; then
8 years ago
vmitchell85

Install NetData for server monitoring

Installs the popular NetData monitoring tool ... which you can then access via: http://SERVER_IP:19999/ Uses pre-install and install steps from: https://github.com/firehol/netdata/wiki/Installa...

cd /root
apt-get install -y zlib1g-dev uuid-dev libmnl-dev gcc make git autoconf autoconf-archive autogen automake pkg-config curl
curl -Ss 'https://raw.githubusercontent.com/firehol/netdata-demo-site/master/install-required-packages.sh' >/tmp/kickstart.sh && bash /tmp/kickstart.sh -i netdata-all --dont-wait
git clone https://github.com/firehol/netdata.git --depth=1
8 years ago
chrisb

Fix CPU Credit issues on Micro instances

Warning - Requires reboot! On Ubuntu linux < 4.8.0-27.29 there's a bug that causes `kswapd` to get locked, consuming CPU and eating up your CPU Credits, resulting in your server running slowly a...

touch /etc/udev/rules.d/40-vm-hotadd.rules
reboot
9 years ago
oldskool73

Install Filebeat

Filebeat is a log data shipper. Installed as an agent on your servers, Filebeat monitors the log directories or specific log files, tails the files, and forwards them either to Elasticsearch or Log...

#Download and install the Public Signing Key:
wget -qO - https://artifacts.elastic.co/GPG-KEY-elasticsearch | sudo apt-key add -

#You may need to install the apt-transport-https package on Debian before proceeding:
9 years ago
lchachurski

Install automysqlbackup

An easier way to take DB backups.

sudo apt-get install automysqlbackup -y
9 years ago
orgotech

Install htop

We install the better version of top.

sudo apt-get install htop
9 years ago
orgotech

Install rmate (for using rsub)

If Sublime Text is your editor of choice working on a server can be a pain. Switching to Vim or Nano isn't intuitive at all. Rmate (https://github.com/aurora/rmate) allows you to edit server si...

#!/bin/bash
sudo wget -O /usr/local/bin/rsub \
https://raw.github.com/aurora/rmate/master/rmate
chmod a+x /usr/local/bin/rsub
9 years ago
montemartin

Install MongoDB 3.4 and PHP 7.0-drivers

Installs MongoDB Server and PHP-MONGODB on Ubuntu with PHP 7.0.

###########################################################################
#
# MongoDB server and php-mongo install
# Tested on Ubuntu 16 - Homestead and Forge installs at EC2 with PHP 7.0
9 years ago
wuori

Install MongoDB 3.4 and PHP 7.1-drivers

MongoDB server and php-mongo install provision. Tested on Ubuntu 16 - Homestead and Forge installs at Linode with PHP 7.1.

###########################################################################
# MongoDB server and php-mongo install provision
# Tested on Ubuntu 16 - Homestead and Forge installs at Linode with PHP 7.0
###########################################################################
9 years ago
ekandreas