No Image

XWiki on Ubuntu 16.04 LTS with Nginx Reverse Proxy

February 26, 2018 Andy 0

Install XWiki and all dependant programs on a 4 GB cloud server. This means: 1) Java 2) Tomcat 3) MySQL/MariaDB 4) XWiki 5) Nginx Here we use Nginx as a reverse proxy to firstly redirect all HTTP to HTTPS and then forward all requests on port 80/443 to port 8080 (tomcat) on the localhost. Here I use LetsEncrytp for my SSL certificates. Before we begin… Setup DNS wiki.dummydomains.org.uk ——> 134.213.27.60 Prepare the Server Update Update and reboot the server. Enable the firewall Install Oracle Java This is a requirement before installing Tomcat or XWiki. At the time of writing, Java 8.x is […]

No Image

X2Go on Ubuntu Server 14.04

November 21, 2015 Andy 0

In a previous post, I talked about my experience using X2Go with XFCE4 and Lubuntu. Here is how it was achieved….. On the Server Here I’m using Ubuntu 14.04 LTS but you can install X2Go on just about any Linux distro. Create a User Account Create a regular user to run the desktop session under. For your own sanity, I recommend you setup password-less key-based authentication as soon as possible……go, do it now! Configure SSH Open the main configuration file for the OpenSSH daemon process. Ensure X11 forwarding is enabled. X11Forwarding yes Don’t forget to test for configuration errors and […]

No Image

Minimal Desktop Environment over SSH

November 21, 2015 Andy 0

So I wanted to install a Java desktop application and have it publicly available on a server somewhere. Using a light weight desktop environment on one of my cloud servers made sense – provided that is, I could find something reasonably secure. I came across X2Go and decided to give it a try on one of my Rackspace cloud servers. I used a 2 GB General Purpose v1 server and was surprised at how low the resource usage was – and consequentially how quick and responsive it all felt. X2Go is a remote desktop tool that uses the NX technology […]

No Image

Rackspace DNS

October 21, 2015 Andy 0

Log into the Rackspace cloud control panel and click on on the DNS tab at the top of the screen. Then click on Create Domain, fill out the details, and click Create Domain again to complete. And that’s it! You have created a zone file for your domain. Now we need to add a DNS record. You can do this by clicking Actions –> Add DNS Record… or simply click Add Record. Here we create an A Record. Now all requests for pikedom.com will resolve to the IP address of my web server. I also create an CNAME Record so […]

No Image

Install NewRelic Server Monitoring Agent on Ubuntu 14.04 LTS

April 19, 2015 Andy 0

NewRelic is a real-time monitoring tool that has a number of useful plugins. Here I am installing the server monitoring agent to keep track of my servers health. To install the server monitoring agent, first add the repository… …then install the monitoring agent…. Configure and start server monitoring daemon… And here’s what the server monitoring overview page looks like. Related Documents newrelic.com: New Relic Servers for Linux

No Image

Rackspace Cloud Monitoring Agent

April 11, 2015 Andy 0

The Rackspace cloud monitoring agent allows you to monitor CPU, memory, filesystem usage and system processes. It does this by collecting information about the system and pushing it out to Rackspace Cloud Monitoring web services, where they can be analyzed, graphed, and alerted on. It is this technology that the Rackspace monitoring checks are built upon. Plus you get a nice pretty little bar graph in the server details section of the control panel 🙂 Install the Agent While the instructions used here are for Ubuntu 14.04 LTS, this page lists the exact commands needed for all major distros. If […]

No Image

Protect Your Cloud Infrastructure Servers with Isolated Cloud Networks

March 31, 2015 Andy 0

Create a Private Cloud Network Create an isolated cloud network. Here I am using the supernova client to communicate with the Rackspace OpenStack API. Take note of the id – you’ll need it shortly! Create a Proxy Server and Attach to the Private Network The above creates a server using the CentOS 6.6 image. Other images of interest are: Proxy Bastion Configuration Later we create a cloud server with no public IP, which is protected by sitting behind our proxy bastion. From the bastion side, in order for our protected server to have access to the internet, we need to […]

No Image

Using the Rackspace Nova Client

February 25, 2015 Andy 0

List your Cloud Servers You can list all your servers by simply using the nova client’s list sub-command. Nova Help The nova client comes with a help subcommand. You can find out more about how to use other subcommands by passing their names as arguments to the help subcommand. For example, to find out more about the list subcommand: Build a Server To build a cloud server, you need to have two bits of information to hand: The image ID you want to boot with The ID of the virtual machine (flavour) you want to create Choose an Image To […]

No Image

Getting Started with the Rackspace Nova Client

February 1, 2015 Andy 0

You will need to export some environment variables used by the Nova client. If you have a UK-based Rackspace cloud account, you will need to enter something like this: …And if you have a US, Hong Kong and Sydney (based) account: Because we have our password in a plain text file, it is recommended that we at least lock down the permissions so no other system users can see it: Don’t forget that whenever you make changes to your bash profile that you need to run the below command first for the changes to take affect on your current users […]

No Image

Rackspace Cloud DNS

November 3, 2013 Andy 0

Rackspace provides a great easy to use tool for managing your DNS. The first thing you need to do is create a zone file for the domain you want to manage. To do this, first log into the mycloud.rackspace.co.uk customer portal and navigate to the DNS tab at the top of the page. Click on “Create Domain” and fill out the details from the drop-down menu. Click on “Create Domain” to create the zone file. Now we need to add some DNS records to the zone file. Here I add an A record so the domain dummydomains.org.uk resolves to the […]