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

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

First Attempt at Searching for Failed SSH Logins

February 9, 2015 Andy 0

Nobody likes to log into their server to see there have been over 31,00 failed login attempts in a few days!! [andy@bashful ~]$ ssh root@ssh.dummydomains.org.uk Last failed login: Sun Feb 8 16:31:28 UTC 2015 from 218.65.30.73 on ssh:notty There were 31673 failed login attempts since the last successful login. Last login: Tue Feb 3 19:26:42 2015 [root@bashful ~]# I clearly need to make some improvements here! However first I want to record the number of failed login attempts so I can compare later, after my changes. Failed SSH login attempts are logged in /var/log/secure. Here we use a number of […]