No Image

Install Ansible on Arch Linux and Run Playbooks Locally

February 26, 2018 Andy 0

Installation is pretty simple…. Useful dependencies: Optional dependencies for ansible sshpass: for ssh connections with password python2-passlib: crypt values for vars_prompt python2-netaddr: for the ipaddr filter python2-systemd: log to journal python2-pywinrm: connect to Windows machines python2-dnspython: for dig lookup python2-ovirt-engine-sdk: ovirt support python2-boto: aws_s3 module python2-jmespath: json_query support We need sshpass for password-based authentication using Ansible. Run Ansible Locally Create an inventory hosts file: My one currently has just localhost as the control machine: [control] 127.0.0.1 You’ll also need to make sure the SSH daemon process is running: Also, because by default SSH uses Host key checking which is not […]

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 […]