How to fix “bash: add-apt-repository: command not found” error on Ubuntu/Debian Linux

The “bash: add-apt-repository: command not found” error occurs when the add-apt-repository command is not found on your Ubuntu or Debian Linux system. This command is used to add a PPA (Personal Package Archive) to your system, allowing you to install software from a specific repository. To fix this error, you will need to install the … Read more

Debian 11 Set Up OpenVPN Server

Setting up an OpenVPN server on Debian 11 can be done in just a few minutes by following these steps: Install OpenVPN: sudo apt update sudo apt install openvpn Generate the necessary encryption keys and certificates: sudo easyrsa init-pki sudo easyrsa build-ca sudo easyrsa build-server-full server nopass This will create the necessary keys and certificates … Read more

file_get_contents(): https:// wrapper is disabled in the server configuration

The “file_get_contents(): https:// wrapper is disabled in the server configuration” error message occurs when the function file_get_contents() is used to access a file over HTTPS, but the server configuration does not have the https wrapper enabled. This error occurs because PHP needs to access the file over a secure connection, but the server does not … Read more

How to install aws cli on Linux

The AWS Command Line Interface (CLI) is a unified tool to manage your AWS services. You can install the AWS CLI on Linux using pip, a package manager for Python. Here’s an example of how to install the AWS CLI on Linux: Install pip: curl -O https://bootstrap.pypa.io/get-pip.py python3 get-pip.py –user Install the AWS CLI: pip3 … Read more

How to backup & restore a list of installed FreeBSD packages

On FreeBSD, you can use the pkg command to backup and restore a list of installed packages. Backup installed packages: To create a backup of the currently installed packages, you can use the command pkg backup -d backup_directory. This command will create a file called “pkg-backup.txz” in the specified directory (in this case “backup_directory”) that … Read more