MongoDB: Allow Remote Access

Out of the box, MongoDB doesn’t allow remote connections, because by default it has no authentication enabled and is listening on localhost only. If you try to connect to MongoDB without remote access being allowed, you will get this error: Error: couldn’t connect to server $MongoDB:$Port, connection attempt failed:SocketException: Error connecting to $MongoDB:$Port :: caused […]

Install Jenkins – Ubuntu, CentOS

What is Jenkins? Jenkins is a well-known open source CI/CD (Continuous Integration and Continuous Delivery) automation server written in Java. In this tutorial i will show how to install Jenkins on Ubuntu-18.04, 16.04 and Centos-7, 6 and how to perform initial Jenkins configuration. Jenkins requires Java, so firstly it needs to install OpenJDK-8 JRE/JDK (Java […]

Prometheus: Apache Exporter – Install and Config – Ubuntu, CentOS

What is Apache Exporter? Apache Exporter is a Prometheus exporter for Apache metrics that exports Apache server status reports generated by mod_status with the URL of http://127.0.0.1/server-status/?auto. In this article I’ll show how create Apache server status page, how to build Apache Exporter with go get and how to configure it using a systemd service […]

Vagrant: Copy File ( To | From ) – ( Host | Guest VM ) – Vagrant SCP

Very common situation when you need to perform one-time operation of copying some file or a directory between Vagrant host and guest VM and you don’t want to waste time on mounting shared volumes or performing traditional provisioning with built-in file provisioner or some configuration management tool. In the following article i will show the […]