Thoughts, stories and ideas.

Installing Steam on Ubuntu 16.04 64bit

Gaming on Linux is now possible with Steam. They maintain a database of Linux compatible games at SteamOS & Linux Products on Steam

To install Steam on Ubuntu 16.04 64bit

  1. Download the latest client from Steam
  2. Open the Terminal application and go to the Downloads folder
  3. Run the command sudo dpkg -i steam_latest.deb
  4. Run the command sudo ap-get install -f to install the dependencies for curl and python-apt which the Steam Launcher requires
  5. Steam will then be added to the Games Sub Menu. Accept the license as usual
  6. Steam will need to install more libraries and will prompt for your password.

Installing Google Chome on Ubuntu 16.04 64bit

Google Chrome is fairly easy to install on Ubuntu 16.04. There is just a simple trick to get it to work correctly.

  1. Go to the  Google Chrome Page and download the .deb file for 64bit Ubuntu
  2. Open the Terminal application and go to your Downloads folder and run the command sudo dpkg -i google-chrome-stable_current_amd64.deb
  3. The system will show an error which includes the line: Package libappindicator1 is not installed.
  4. This is easy fixed, now run the command *sudo apt-get install -f . *This will then install the missing dependencies.
  5. Google Chome is now installed

Quick Tip: Finding if a Linux server has a pending reboot

Linux servers generally don’t need to reboot that often. Normally they should only reboot after the kernel is patched or is upgraded. To determine if there is a pending reboot on a Linux server, just check if the following file exists.


If it doesn’t exist, then the server does not need to be rebooted.

A nice easy Bash script can also check for this:

if [ -f /var/run/reboot-required ]; then
* echo ‘System needs to be rebooted’*

Locking down an Ubuntu Web Server with UFW

The Internet is full of hackers looking to break into an unprotected server on the internet to use for their own evil uses. Updating the server automatically is a good start but firewalling the server will also protect your server from multiple problems.

One way to secure a Web Server is to use UFW or Uncomplicated Firewall. UFW is a simple and easy to use firewall application that uses iptables for configuration according to Wikipedia.


UFW should be installed by just in case, run to ensure that it is:

sudo apt-get install ufw

Once that is done, run  sudo ufw status to confirm that it is installed and running. You should get the output

Status: inactive

Now run the command  sudo nano /etc/default/ufw –  this will open the configuration file in the nano editor. Look for the line


If it is set to no, change it to yes. This enables UFW for IP6 as well as IP4.

Firewall Configuration
UFW has some default rules built-in by default to make life a little easier. These rules deny all incoming connections and allow all outgoing connections.What this means is that nobody can connect to your server but software installed on your server can connect out to the world

*sudo ufw default deny incoming *

sudo ufw default allow outgoing

Now the server is totally secure since nobody can connect, but its not very useful.
So to allow us to connect to the server via SSH for administration purposes, run the command
*sudo ufw allow ssh *

This allows connection to SSH on its standard port of 22. However, If you have moved SSH to a different port, then to allow SSH to connect, run the command
sudo ufw allow XXXX/tcp where XXXX is the port number.

Now since we are securing a web server, it would help if the firewall would allow browsers to connect to the webserver, so to allow web connection, you run the commands: sudu ufw allow 80/tcp (For regular web traffic)sudo ufw allow 443/tcp (For encrypted web traffic/SSL)

Now run to enable the new firewall rules, run the command

sudo ufw enable

Checking that the firewall is active

You can then check if the rules are active by running

sudo ufw status

or if you want even more details

sudo ufw status verbose