Permissions are too open

Permissions are too open

If you SSH to a Linux machine and encounter the following error: lyle@lyle-laptop:~/Downloads$ ssh -i key-test.pem lyle@10.0.0.6 Permissions 0640 for ‘key-test.pem’ are too open. It is required that your private key files are NOT accessible by others. This private key will be ignored. lyle@lyle-laptop:~/Downloads$ ll *.pem -rw-r—– 1 lyle lyle…

Install Sentry on Ubuntu 12.04 or 14.04 – Updated

Install Sentry on Ubuntu 12.04 or 14.04 – Updated

Distribute setup has been removed from the Python support so the installation has changed a little: Sentry makes life so much easier for a Sys Admin. It will tell you when there are errors on a web server. Everyone has had one of those days where the QA team just…

How To Set Up Apache Virtual Hosts on Ubuntu 14.04 LTS

How To Set Up Apache Virtual Hosts on Ubuntu 14.04 LTS

We’re going back to basics with this post. How To Set Up Apache Virtual Hosts on Ubuntu 14.04 LTS. Everyone had to start somewhere as a beginner. This tutorial will guide you through installing Apache and setting up two virtual hosts on that server. Virtual hosts exist so that you…

Bash Bug (Shellshock) and how to patch it.

Bash Bug (Shellshock) and how to patch it.

There’s been a huge uproar about the bug that was found in bash recently. The bug has gone unnoticed since 1989. So it gets a little difficult to patch on legacy systems which I found on our network. Ubuntu 10 and up is straight-forward to update and takes little to…

Installing Cacti on Ubuntu 14.04 LTS

Installing Cacti on Ubuntu 14.04 LTS

You’ve got a couple servers that you want to monitor using a graphical representation. There are a few options but my favourite is Cacti, it’s pretty straight-forward to work with and most changes can be done on the admin section of the web interface. So installing Cacti on Ubuntu 14.04…

Create Self-Signed SSL Certificates in Ubuntu for Apache

Create Self-Signed SSL Certificates in Ubuntu for Apache

You will need to be able to create self-signed SSL certificates in order to host a secure website. I needed this for setting up a few externally accessible Cacti and Nagios servers in the past. Most recently I’ve actually needed to revisit some old notes on how to do this…

Install ownCloud on Ubuntu 14.04 LTS

Install ownCloud on Ubuntu 14.04 LTS

Firstly this step-by-step guide will help you install ownCloud on Ubuntu 14.04 LTS and should also work on 12.04. With all the iCloud security problems lately, most people don’t feel they can trust their content is safe in the cloud. There’s a solution to that… host your own cloud using…

Basic Linux document viewing

Basic Linux document viewing

Quick commands to view config files or just plain text files… or any file really. First in the list of basic linux document viewing would be cat. If we want to view the network config file on a Debian/Ubuntu system $ cat /etc/network/interfaces You will get the following output: Share…