How to update Debian or Ubuntu Linux containers (lxc) VM

To update a Debian or Ubuntu Linux container (LXC) virtual machine, you can use the following steps: Log in to the container: lxc exec container-name bash Update the package list: sudo apt-get update Upgrade all installed packages: sudo apt-get upgrade Upgrade the distribution to the latest version: sudo apt-get dist-upgrade Remove any unused packages: sudo … Read more

How To Find the WiFi Password on Mac OS X

To find the WiFi password on Mac OS X, follow these steps: Open the Keychain Access application, which can be found in the Applications > Utilities folder. Search for the network name in the search bar and select the network from the list. Right-click (or Control-click) on the network name and select “Get Info”. In … Read more

Debian 8 and Ubuntu 14.04 LTS Install Suhosin PHP Extension To Protect Your Server

To install the Suhosin PHP extension on Debian 8 and Ubuntu 14.04 LTS, you need to perform the following steps: Add the PPA repository for Suhosin: sudo add-apt-repository ppa:ondrej/php Update the package list: sudo apt-get update Install the Suhosin extension: sudo apt-get install php-suhosin Restart the Apache web server: sudo service apache2 restart Verify the … Read more

How To: Temporarily Clear Bash Environment Variables on a Linux and Unix-like System

You can temporarily clear environment variables in the Bash shell on a Linux or Unix-like system by using the following command: env -i bash –norc –noprofile This will start a new instance of the Bash shell with a clean environment, without any environment variables set. The -i option specifies that the environment should be cleared, … Read more