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

Install Apache on Ubuntu Server 13.10

November 3, 2013 Andy 0

First you need to prepare the machine that you are going to use. I’m using a Rackspace cloud server. In which case, all I need to do is spin up a server and update the Operating System software. Install Apache2 Installing Apache is easy, simply run apt-get install apache2 as the root user. root@apache:~# apt-get install apache2 Reading package lists… Done Building dependency tree Reading state information… Done The following extra packages will be installed: apache2-bin apache2-data libapr1 libaprutil1 libaprutil1-dbd-sqlite3 libaprutil1-ldap ssl-cert Suggested packages: www-browser apache2-doc apache2-suexec-pristine apache2-suexec-custom apache2-utils openssl-blacklist The following NEW packages will be installed: apache2 apache2-bin apache2-data […]

No Image

Update Ubuntu Rackspace Cloud Server

November 3, 2013 Andy 0

Assuming you’ve already “spun-up” a Linux cloud server of your choice, the first thing to do is update the system. Here I’m using Ubuntu Server 13.10. SSH onto your box with the below command, replacing the IP address with that of your server. You will need to accept the key when prompted. andy@work-pc:~$ ssh root@162.12.137.166 The authenticity of host ‘162.12.137.166 (162.12.137.166)’ can’t be established. ECDSA key fingerprint is 12:af:51:e2:bf:ed:b8:2c:dc:89:de:ca:55:a7:36:6a. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added ‘162.12.137.166’ (ECDSA) to the list of known hosts. root@162.12.137.166’s password: Then update the system and reboot if needed. […]

No Image

Delete Unused Rackspace Cloud Servers

October 24, 2013 Andy 0

To avoid any unnecessarily high Rackspace bills, make sure you delete any unused cloud servers or products. Here I have three servers. One is in production, another is occasionally used for testing and development. I am half-way through setting the last one up but it is not yet in production. You might think that you can just power-off the server to stop being billed for it….but you’d be wrong! If you simply shut down the server, you will still be billed per hour for it’s use. If like me, you have any servers that are not currently in use, either […]

“Spinning up” a Rackspace Cloud Server

July 1, 2013 Andy 0

Assuming you’ve already created yourself a Rackspace cloud account and that you’ve just logged in, you will see a list of cloud servers (if you have any yet). These are your current servers. If a server is listed here, you will be getting charged for it at an hourly rate. Even if you shutdown your server through the Operating System! To avoid getting charged for something you are not using, take a snapshot and then delete it. You can always build a new server instance from that snapshot at a later point in time when it is required. To create […]