HestiaCP SMTP Relay

Watch this video to see how to set up HestiaCP’s SMTP relay. Here are some examples of SMTP relay providers you can use: Mailgun is another popular SMTP relay. It is the example in the video. SendGrid is an SMTP relay provider offering a wide range of features such as high deliverability, scalability, and ease-of-use. …

Read more

Install ioncube loader for PHP

Download Ioncube loader and unpack it inside the tmp directory as follows: For 64Bit x86_64 Linux: cd /tmp && \ wget http://downloads3.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64.tar.gz && \ tar xfz ioncube_loaders_lin_x86-64.tar.gz # For 32Bit i386 Linux: cd /tmp && \ wget http://downloads3.ioncube.com/loader_downloads/ioncube_loaders_lin_x86.tar.gz && \ tar xfz ioncube_loaders_lin_x86.tar.gz Find out your PHP extension directory Copy the ioncube .so file to …

Read more

Vagrantfile for installing Nginx unit in a Vagrant VM

Nginx unit is a lightweight Universal Web app server that can run static files, PHP, Python, Ruby, Go, NodeJS, Java and Perl. It is fantastic, and you should learn to use it, is all I can say. Requirements before running this Vagrant file: Notes: The Vagrant box used is Debian 11, feel free to use …

Read more

Remove Virtualbox installed via deb packages – Debian 11

If you download a .deb package and successfully install an app using sudo dpkg -i thedebpackage.deb, you can uninstall it. It is not as straightforward as using apt. Here is how to uninstall a Debian app installed via a downloaded deb package. Step 1: Find the name of the package as installed on your system: …

Read more

Important Git commands for daily use

Git commands for daily use , Here are some git commands you may encounter in your daily usage. Here is the GitHub repo with more Linux commands. git init: For initializing new repository in the current folder. git init git clone : Clone an existing repo from Github or any other remote repository. git clone …

Read more

OpenSSH only one SSH session allowed per user at a time

If you want to set up only one SSH session allowed per user at a time in OpenSSH, this post will show you how to do it. Edit the SSH configuration file ( /etc/ssh/sshd_config ). Use vim or nano. sudo nano /etc/ssh/sshd_config Add the following line to your server SSH config file. If there is …

Read more

Reduce Debian/Ubuntu screen brightness using /sys/class

About /sys/class /sys/class is a virtual file system on Linux that exposes information about various kernel classes. It provides an interface for retrieving and editing various info about different hardware components, drivers, and subsystems in a Linux system. Each directory inside /sys/class represents a different class of PC devices. You can do ls /sys/class to …

Read more

Linux commands to add or change the content of a file

When working with your cloud server, you will need to edit files. There are several commands in Linux that can be used to add or change the content of a file. Some of the most commonly used commands include: More about echo and sed echo echo is a command-line utility on Linux and other Unix-based …

Read more