How to enable rc.local shell script on systemd while booting Linux system

To enable an rc.local shell script on a systemd-based Linux system during boot, you can follow these steps: Create a file named “rc-local.service” in the “/etc/systemd/system” directory. Open the file in your text editor and paste the following content: [Unit] Description=/etc/rc.local compatibility [Service] Type=forking ExecStart=/etc/rc.local start TimeoutSec=0 StandardOutput=tty RemainAfterExit=yes SysVStartPriority=99 [Install] WantedBy=multi-user.target Make the file … Read more

How to install VirtualBox on Ubuntu 20.04 Linux LTS

To install VirtualBox on Ubuntu 20.04 LTS, follow these steps: Add the VirtualBox repository to your system by running the following command in the terminal: sudo add-apt-repository “deb [arch=amd64] https://download.virtualbox.org/virtualbox/debian focal contrib” Download and add the Oracle public key for apt-secure using the following command: wget -q https://www.virtualbox.org/download/oracle_vbox_2016.asc -O- | sudo apt-key add – Update … Read more

How to restart CentOS or RHEL server safely

The “shutdown -r now” command is used to safely reboot a CentOS or RHEL server. The “-r” flag indicates that the system should reboot after shutting down all processes. The “now” argument tells the system to initiate the shutdown and reboot immediately. Before running the command, it’s a good practice to check if there are … Read more

How to configure Intel Wifi on Debian Linux when you get firmware: failed to load iwlwifi-8265-36.ucode error

To fix the “firmware: failed to load iwlwifi-8265-36.ucode” error when configuring Intel WiFi on Debian Linux, you can try the following steps: Make sure that the non-free firmware package is installed by running apt-get install firmware-iwlwifi If the package is already installed, try reinstalling it by running apt-get –reinstall install firmware-iwlwifi If step 1 and … Read more

OpenSUSE install Brotli module for Nginx

To install the Brotli module for Nginx on OpenSUSE, you will need to first add the Nginx repository to your system by running the following command: sudo zypper addrepo -f https://nginx.org/packages/opensuse/15/x86_64/ nginx Then, you can install the Nginx package with the Brotli module included by running: sudo zypper install nginx-module-brotli After that, you will need … Read more

How to set up FreeBSD 12 VNET jail with ZFS

Here are the general steps to set up a VNET jail on FreeBSD 12 using ZFS: Create a ZFS dataset for the jail: zfs create -o mountpoint=/jails zpool/jails/jailname Create the jail with VNET enabled: jail -c name=jailname host.hostname=jailname vnet vnet.interface=igb0 Install the base system in the jail: jail -m path=/jails/jailname name=jailname /usr/sbin/jail -i Configure the … Read more

How to configure Intel Wifi on Debian Linux when you get firmware: failed to load iwlwifi-8265-36.ucode error

To fix the “firmware: failed to load iwlwifi-8265-36.ucode” error when configuring Intel WiFi on Debian Linux, you will need to install the firmware-iwlwifi package. Try running the following command as root: apt-get update && apt-get install firmware-iwlwifi Then reboot the system. Alternatively, you can download the package from the official Debian package repository and install … Read more