Runcloud and Hetzner servers

Runcloud installation script has dependency of 2 packages which does not comes in by default in some Ubuntu images that

Ubuntu 20.04 and Raspberry Pi 4

Overclock Follow this article but instead of editing /boot/config.txt edit /boot/firmware/usercfg.txt Install vcgencmd # Add repository sudo add-apt-repository ppa:ubuntu-raspi2/ppa #

Install Brotli PHP extension on RunCloud

# Set module name MODULE_NAME="brotli" # Set PHP version PHPRC_VERSION="php74rc" # Download extension git clone –recursive –depth=1 cd php-ext-brotli

Install PHP 8.0 ZTS with ext-parallel in Ubuntu

sudo apt install build-essential pkg-config autoconf bison re2c libxml2-dev \ libssl-dev libsqlite3-dev libcurl4-openssl-dev libpng-dev libjpeg-dev \ libonig-dev libfreetype6-dev libzip-dev libtidy-dev

Install APCu PHP extension on RunCloud

# Install required dev tools sudo apt install autoconf libpcre3-dev # Set module name MODULE_NAME="apcu" # Set module version MODULE_VERSION="5.1.18"

Install tmux latest version on Ubuntu

sudo apt install automake build-essential pkg-config libevent-dev libncurses-dev -y VERSION=3.1b wget${VERSION}/tmux-${VERSION}.tar.gz tar xf tmux-${VERSION}.tar.gz rm tmux-${VERSION}.tar.gz cd tmux-${VERSION} ./configure

RAR in Linux

VERSION=6.0.1 wget -qO-${VERSION}.tar.gz | tar -xz cd rar sudo mv rar unrar /usr/local/bin sudo mv rarfiles.lst /etc wget -O

Install Ookla Speedtest on Linux

# For 32/64 bit wget -O speedtest.tgz # For Raspberry Pi wget -O speedtest.tgz tar -xf speedtest.tgz speedtest

PHP real time flushing on Nginx

Works perfectly on RunCloud Native Nginx stack. @ini_set('zlib.output_compression', 'Off'); @ini_set('output_buffering', 'Off'); @ob_implicit_flush(1); @ob_end_clean(); header('Content-Encoding: none'); header('X-Accel-Buffering: no');