Ubuntu Enable & Set up Automatic Unattended Security Updates

In Ubuntu, you can enable and set up automatic unattended security updates using the unattended-upgrades package. Here are the steps to do this: Install the unattended-upgrades package: sudo apt-get install unattended-upgrades Configure the package to automatically download and install security updates by editing the configuration file located at /etc/apt/apt.conf.d/50unattended-upgrades. sudo nano /etc/apt/apt.conf.d/50unattended-upgrades Find the line … Read more

FreeBSD install PHP 7.2 with FPM for Nginx

Here are the steps to install PHP 7.2 with FPM (FastCGI Process Manager) for Nginx on FreeBSD: Install the PHP package using pkg: pkg install php72 Install the PHP-FPM package: pkg install php72-fpm Enable PHP-FPM in the system: sysrc php_fpm_enable=yes Start the PHP-FPM service: service php-fpm start Configure Nginx to use PHP-FPM. Edit the Nginx … Read more

How to add bash auto completion in Ubuntu Linux

Bash auto-completion is a feature that provides suggestions for commands and arguments as you type. To add bash auto-completion in Ubuntu Linux, you can use the following steps: Install the bash-completion package by running the following command: sudo apt-get install bash-completion This package contains the necessary files and scripts to enable bash auto-completion. Once the … Read more

Ubuntu upgrade or update a single package using apt-get

To upgrade or update a single package using apt-get on Ubuntu, you can use the following command: sudo apt-get install –only-upgrade package-name This command will update the specified package to the latest version available in the repositories. Alternatively, you can use the command sudo apt-get update package-name to update the package to the version available … Read more