Skip to main content

Auteur: Vincent Verloop

How to Install Nginx with Fast_CGI + Varnish Cache on AlmaLinux OS

Varnish Cache is an HTTP accelerator and reverse proxy specially designed for heavily loaded dynamic web sites as well as APIs. It acts as a middleman between your client and server. Varnish works by handling requests before they make it to your backend. If Varnish doesn’t have a request cached, it will forward the request to your backend and then cache its output.

Lees verder

How to Edit Opcache Settings for DirectAdmin

You may find that you need to increase the opcache.memory_consumption or some other setting for Opcache. To do so, you will need to create a custom configuration file with the settings you’d like to build Opcache with that DirectAdmin’s CustomBuild will recognize. Then, copy the original opcache.ini file over to this custom/ directory.

Lees verder

Clean Raspberry Pi Boot

To present a clean and undisturbed splash screen, we are disabling the display of these items (in order of appearance)

  • The four raspberries in the top left corner
  • The boot message log
  • A blinking cursor top left
  • The splash image “Welcome to the Raspberry Pi Desktop”
  • A one-liner with boot notifications below the splash image

Disable graphical outputs on boot

sudo nano /boot/cmdline.txt

A long line will open. At the end of this line add:

logo.nologo vt.global_cursor_default=0

• Replace console=tty1 to console=tty3 to redirect boot messages to the third console.
• Add loglevel=3 to disable non-critical kernel log messages.

Disable the rainbow screen the Pi boots with

sudo nano /boot/config.txt

Go to the very end and add as the last line:

disable_splash=1

Remove login prompt

Remove the login prompt by running:

sudo systemctl disable getty@tty3

Boot with a video or image as a splashscreen

We use omxplayer for that. So first we need to install it by:

sudo apt-get update sudo apt-get install omxplayer

Next we tell the pi in the rc.local to play our video on boot:

sudo nano /etc/rc.local

In rc.local add before the end where it says exit 0 these two lines:

dmesg –console-off
omxplayer /home/pi/bootvideo_36sec.mov &

Install Java on CentOS 8

Java is one of the most popular programming languages used to build different types of applications and systems.

There are two different implementations of Java, OpenJDK and Oracle Java, with almost no differences between them, except that Oracle Java has a few additional commercial features. Oracle Java License permits only non-commercial use of the software, such as personal use and development use. OpenJDK is an open-source implementation of the Java Platform.

Lees verder

PHP Redis Session Handler – WordPress Redis

Redis is an open source key-value cache and storage system, also referred to as a data structure server for its advanced support for several data types, such as hashes, lists, sets, and bitmaps, amongst others. It also supports clustering, which makes it often used for highly-available and scalable environments.

In this tutorial, we’ll see how to install and configure an external Redis server to be used as a session handler for a PHP application running on CentOS 8.

Lees verder

How to install Kali on Rasperry Pi 3

Step 1 – Download Kali Linux Image for the Raspberry Pi

Head to Offensive Security and download the latest Kali Linux image for the Raspberry Pi. As of this writing, it is “RaspberryPi 2 / 3” on version 2.1.2.

Step 2 – Untar the compressed image file

Step 3 – Flash the Image to the Micro SD Card

You can use a tool like ApplePiBaker for Mac to load your Kali image onto your SD card. If you use Windows, you can use Win32 Disk Imager to put your image on the card.

Step 4 – Boot into Kali Linux

When finished, your SD card is ready to go! Insert the SD card into your Pi, connect it to HDMI, and attach your USB keyboard. Plug in the power source to boot into Kali Linux for the first time. To get to the desktop, your default login is “root” with “toor” being the password.

Step 5 – Install Raspi-config

 

How to install WP-CLI on Directadmin Centos 8

Install WP-CLI

WP-CLI wordt niet voorgeïnstalleerd op je hostingpakket. Daar zijn eigenlijk twee simpele redenen voor. Niet iedereen met een hostingpakket wil per se WordPress gebruiken. Wel WordPress installeren betekent daarnaast niet dat iemand ook meteen WP-CLI wil. Gelukkig is zelf WP-CLI installeren zo gebeurd en daarna ook makkelijk bij te werken wanneer nodig.

Lees verder

How to install mod_brotli on Directadmin CentOS 8

Just like gzip, Brotli is also a compression algorithm. It is developed by Google and serves best for text compression. The reason being, it uses a dictionary of common keywords and phrases on both client and server side and thus gives a better compression ratio. The advantage for Brotli over gzip is that it makes use of a dictionary and thus it only needs to send keys instead of full keywords. It is supported by all major browsers. Fewer bytes transferred not only leads to faster page load but also helps in reducing costs of Content Delivery Network (CDN).

Lees verder

How to install Memcached on CentOS 8

Free & open source, high-performance, distributed memory object caching system, generic in nature, but intended for use in speeding up dynamic web applications by alleviating database load.

Memcached is an in-memory key-value store for small chunks of arbitrary data (strings, objects) from results of database calls, API calls, or page rendering.

Memcached is simple yet powerful. Its simple design promotes quick deployment, ease of development, and solves many problems facing large data caches. Its API is available for most popular languages.

Lees verder

How to fix drag and drop / copy and paste in Vmware Fusion

Remove Open Vmware Tools. Install Vmware Tools.

To enable advanced X features (e.g., guest resolution fit, drag and drop, and
file and text copy/paste), you will need to do one (or more) of the following:
1. Manually start /usr/bin/vmware-user
2. Log out and log back into your desktop session
3. Restart your X session.