All Recipes
140 recipes available
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
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
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:
Install automysqlbackup
An easier way to take DB backups.
sudo apt-get install automysqlbackup -y
Install htop
We install the better version of top.
sudo apt-get install htop
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
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
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
###########################################################################
Install WP CLI -- The WordPress Command Line Interface
See https://wp-cli.org
sudo -u forge -i -- wp
curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar
chmod +x wp-cli.phar
Install SOAP on PHP 7 enabled servers
By default, forge doesn't install the Soap client with its PHP setup.
sudo apt-get install php7.0-soap
Install SOAP on PHP 7 enabled servers
By default, forge doesn't install the Soap client with its PHP setup.
sudo apt-get install php7.0-soap
Install ElasticSearch 2.x
Forked from @artisangoose Recipe #70; updated Elasticsearch version, update: oracle-java8
echo ">> Installing Elastic GPG Key"
wget -O - http://packages.elasticsearch.org/GPG-KEY-elasticsearch | apt-key add -
echo ">> Adding deb package"