Setting up Plone on Ubuntu 16.04 with Active Directory Authentication

This guide will show you how to set up Plone 5.1.2 on Ubuntu 16.04 with Active Directory integration. Installing Plone: The first step is to get Plone installed on the server – Review packages that will be installed via apt before running the below commands: apt-get install build-essential libjpeg8-dev libjpeg-dev readline-common libssl-dev libxml2-dev libxslt1-dev python2.7 Read more about Setting up Plone on Ubuntu 16.04 with Active Directory Authentication[…]

Set max-file size for Docker Container in docker-compose

On version 2 or greater of docker-compose, add the below to each service in your docker-compose file to set a max file size for each container. This can be in the format of [number]k,m,g for Kb,Mb or Gb as appropriate for your container. When the max size of the log file is hit, it will Read more about Set max-file size for Docker Container in docker-compose[…]

Setting up Filebeat to send Docker logs to ELK from Ubuntu

This is a guide on how to setup Filebeat to send Docker Logs to your ELK server (To Logstash) from Ubuntu 16.04 (Not tested on other versions): Install Filebeat Run the below commands to download the latest version of Filebeat and install to your Ubuntu server: curl -L -O https://artifacts.elastic.co/downloads/beats/filebeat/filebeat-6.4.2-amd64.deb sudo dpkg -i filebeat-6.4.2-amd64.deb Configuring Read more about Setting up Filebeat to send Docker logs to ELK from Ubuntu[…]

List of Atlassian IP addresses for IPTables

This script is handy for generating a list of IPtables ALLOW rules for allowing HTTP access to your server from Atlassian’s IP Address ranges. #!/bin/bash interface=”[Firewall Interface name]” server=”[The internal server IP that requires access from Jira]” port=”[The port required]” # Get list of IP ranges from Atlassian documentation ips=$(curl https://ip-ranges.atlassian.com/?_ga=2.33542779.493446643.1538129155-1643918027.1505292062\ # Split the required Read more about List of Atlassian IP addresses for IPTables[…]

Extending the root filesystem for Ubuntu Servers (Without Restart)

This guide assumes that your Ubuntu server has been configured to use LVM for the root partiton! [email protected]:~# df -h Filesystem Size Used Avail Use% Mounted on udev 2.0G 0 2.0G 0% /dev tmpfs 396M 6.0M 390M 2% /run /dev/mapper/test–ubuntu–1604–2–vg-root 12G 10G 716M 94% / tmpfs 2.0G 0 2.0G 0% /dev/shm tmpfs 5.0M 0 5.0M Read more about Extending the root filesystem for Ubuntu Servers (Without Restart)[…]

Setting up a 3 Node Mongodb Replicaset

This guide shows how to set up a 3 Node Replicaset in Mongodb with a standard Primary, Secondary and Arbiter (Non-data-holding cluster member). I will be using an older OS (Ubuntu 14.04) and Mongodb (2.6.5) version for this guide – Unfortunately this was a requirement of the customer that I completed this setup for as Read more about Setting up a 3 Node Mongodb Replicaset[…]