Posts Tagged: Linux

I recently got asked to configure a Wiki that can easily handle MS Word documents, where you can simply upload or display an existing document without having to convert it into a new Wiki page. After some research I found MediaWiki, for which there is a Office plugin that can convert your documents into Wiki articles. This… Read Article →

With Part I and Part II out of the way we should now have a running Foreman setup, as well as Puppet Agent installed on all our clients. Because we named the puppet master “puppet”, our agents will try to connect to this by default. This means that when we go to the Foreman dashboard… Read Article →

We now continue the guide, as we are done installing Foreman (Part I can be found here). In this shorter part of the guide it is time to install the puppet agent on our three clients. As all my Linux clients are running Ubuntu I will use the Apt install method. For the most up to date… Read Article →

I recently tried to set up a puppet master server with two nodes to manage under Ubuntu 16.04. I used a guide by Digital Ocean that was written in 2014. While I was able to get Puppet installed and working properly I ran into some trouble when I then tried to install Foreman, something about… Read Article →

I recently had to replace a lot of words inside a bunch of text files, and I found myself referencing the recursive replace script that I originally posted here. However, I thought that it could use some work, as it was annoying to have to change the word to replace manually each time I wanted… Read Article →

Cron is the handy Linux/FreeBSD scheduler which can be used to run programs or scripts at regular intervals. The syntax can be a bit confusing however, and I’ve found myself searching for “cron run task every 10 minutes” more than once. Here is a list of some common schedule tasks. You can copy this list… Read Article →

I needed a simple backup script that compressed a folder and saved it on a locally mounted network share. I found the following script on this Github page, which I then modified to suit my needs. I run this script daily through Cron (make sure to use bash to run it, sh does not work)…. Read Article →

When I configured this web server (apache) I wanted a simple visitor counter that could keep track of daily unique visitors. While this is something that has been done time and time again I though it would be interesting to try and write my own. I originally wrote it to run on FreeBSD, but have… Read Article →

I realized that I had only done Windows guides so far, so I figured I would show Linux some love. I had a guide laying around that shows how to setup a web server that runs DokuWiki, an Open Source Wiki that is easy to setup and maintain. The guide was originally created with the… Read Article →

Scroll To Top