Migrate GitLab Instance to new Host

May 17, 2018 Andy 0

Here I migrate a GitLab installation from one server to another. The hostname and IP addresses will be different. Both were installed from the Omnibus version. However, currently the exact version numbers differ. In order to migrate successfully, both versions must be exactly the same type and version. For example, both installed using the Omnibus version and exactly the same version number. If you are unsure whether you installed the Omnibus version, you can confirm with the below command. This will fail if not. If it returns output similar to the below, you have the Omnibus version. It also shows […]

Install and Configure GitLab on Ubuntu 16.04

May 17, 2018 Andy 0

Dependencies Run to the below command to install the GitLab dependencies. When prompted, select Internet Site when configuring Postfix. Enter the FQDN. Installing GitLab GitLab provides a bash script that add their repository for you. Just download it and run it. Now you can install the GitLab package using the apt-get package manager. Configuring GitLab You need to first edit the configuration file. I added the following line to define my primary hostname and URL. I also enabled letsencrypt. If you do, make sure the DNS is setup already. This will auto-renew at 3:30 AM every seventh day. Now run […]

No Image

Apache not Logging Correct IP when behind Incapsula WAF

March 26, 2018 Andy 0

Incapsula is a great resource to help protect your web site from unwanted traffic and attacks. It is a cloud-based application delivery platform, providing among other things: Content Delivery Network (CDN) Distributed Denial of Service (DDoS) Mitigation Web Application Firewall (WAF) Incapsula acts as a proxy, sitting in front of the nodes its protecting. The DNS points to Incapsula which hides the IP address to your site.  Incapsula analyses the traffic and removes any unwanted requests before passing it on to the web node. As with any proxy-based system, the proxy rewrites the the X-Forwarded-For header information with the originating […]

No Image

Installing Ansible on Ubuntu 14.04 LTS

November 28, 2015 Andy 0

Take a look at the official installation guide. The simplest way to install Ansible on Ubuntu is add the PPA repository and install via apt-get. If not already installed, you will need the software-properties-common package. Then add the repository and install ansible. Presumably you’ve already got an external server that you want to configure with Ansible. You will need SSH access, and if you’ve not already done so, you’re gonna want to setup key-based authentication. Assuming you’ve done that, you can test things are working with: I also need to tell ansible to connect as the root user. Enter the […]

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 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

Installing Oracle Java on Ubuntu 14.04 LTS

April 9, 2015 Andy 0

You will need to run the following as the root user. To install Java 7… …and for Java 8… You will have to agree and accept the following licenses: You can quickly test both java and javac with the following…. …or you may want to check out one of my previous posts here. Related Documents https://salayhin.wordpress.com/2014/04/23/install-oracle-java-78-jdk-and-jre-in-ubuntu-14-04/ https://www.digitalocean.com/community/tutorials/how-to-install-java-on-ubuntu-with-apt-get http://askubuntu.com/questions/521145/how-to-install-oracle-java-on-ubuntu-14-04

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

Streaming BT Sport on Linux

August 1, 2014 Daryl Millist 0

There are many browser plugins out there which allow us to stream good quality video content, such as Flash and Silverlight. Traditionally we would need to install these manually through Wine – which can get messy!! Unfortunately I need Silverlight in order to watch BT Sport…which is a Microsoft project – so its quite unlikely they’ll be releasing a Linux version in the future 😉 I have recently come across a nifty little program called Pipelight, which takes the pain out of things. It does have a dependency on Wine so, if not already installed, you’ll need to do so. […]