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