Laravel Community Tools by Tighten
Back to Recipes

RobAllport

8 recipes shared

Install wkhtmltopdf (v 0.12.5-1 on Ubuntu 18.04)

Install the latest version (July 2019) of wkhtmltopdf on Ubuntu 18.04

# Author: Rob Allport for f9web.co.uk

echo "Install dependencies"
apt-get install -y wget fontconfig libxrender1 xfonts-base xfonts-75dpi libjpeg-turbo8 libxext6
6 years ago
RobAllport

Install Image Optimizers used by the Spatie Media LIbrary Package

Install Image Optimizers used by the Spatie Media LIbrary Package (see https://docs.spatie.be/laravel-medialibrary/v7)

sudo apt-get install jpegoptim
sudo apt-get install optipng
sudo apt-get install pngquant
sudo npm install -g svgo
5 years ago
RobAllport

Install wkhtmltopdf 12.5.1 (latest as of 05/03/2020) on Ubuntu 18.04 LTS (Bionic Beaver)

Install wkhtmltopdf 12.5.1 (latest as of 05/03/2020) on Ubuntu 18.04 LTS (Bionic Beaver)

# Author: Rob Allport for f9web.co.uk
# script should be ran as the root user

echo "Installing required packages ..."
5 years ago
RobAllport

Install wkhtmltopdf 12.6.1 (Ubuntu 20.10)

This script will install the latest wkhtmltopdf on a Forge server running Ubuntu 20.10

# Author: Rob Allport for f9web.co.uk

wget https://github.com/wkhtmltopdf/packaging/releases/download/0.12.6-1/wkhtmltox_0.12.6-1.focal_amd64.deb
sudo dpkg -i wkhtmltox_0.12.6-1.focal_amd64.deb
4 years ago
RobAllport

Install "pv"

# Author: Rob Allport for f9web.co.uk

sudo yes | pt install pv -y
4 years ago
RobAllport

Install wkhtmltopdf 12.6.1 (Jammy / Ubuntu 22.04.3 LTS)

Install the latest version of wkhtmltopdf on the latest Ubuntu versions as provided by Forge i.e. 22.04. This also works when you have PHP 8.2 set as your default PHP version. Works fine as of 09/0...

# ***
# Created by Rob Allport for https://www.f9web.co.uk
# ***

2 years ago
RobAllport

Install wkhtmltopdf 12.6.0 on Ubuntu 20.04 LTS (focal)

For Ubuntu 20.04 LTS (focal), install wkhtmltopdf 12.6.0 (see https://wkhtmltopdf.org). The script downloads the binary from the official GitHub repository, installs it and then deletes the origina...

# Install wkhtmltopdf 12.6.0 (Focal / Ubuntu 20.04 LTS)
# Author: Rob Allport for https://www.f9web.co.uk
# https://github.com/ultrono

1 year ago
RobAllport

Install bashtop

Install "bashtop" (https://github.com/aristocratos/bashtop) - a small resource monitor and alternative to the more popular "htop". Run this command as the root user.

# Install "bashtop" (https://github.com/aristocratos/bashtop)
# Author: Rob Allport for https://www.f9web.co.uk
# https://github.com/ultrono

1 year ago
RobAllport