I have a working Ansible Playbook that installs the ELK stack (Elasticsearch, Logstash, Kibana and for this example, Filebeat) across three different computers. I have tested the playbook several times and it works each time which is a great sign, however the playbook itself is a little messy. Note: All the files for my ELK … Continue reading Using Ansible Roles, aka ELK Stack Ansible Playbook (V2)
Category: Linux
Creating An ELK Stack Via An Ansible Playbook (V1)
I'm currently spending time learning more about the ELK stack, which is made up of ElasticSearch, Logstash, Kibana (ELK) and Beats. The ELK stack can be created and run within containers (e.g. Docker) but I am going to use an Ansible Playbook to install and configure the ELK stack. You may ask why? Well I'm … Continue reading Creating An ELK Stack Via An Ansible Playbook (V1)
The Power Of History (Linux)
When using the terminal or command line in a Linux operating system you can recall your previous commands using the up arrow but did you know that you can also potentially recall commands from a lot further back? This functionality is provided via a command called history. "I go into my library and all history … Continue reading The Power Of History (Linux)
Chown, Stat, Id And Some More Permissions (Linux)
With an understanding on how permissions work in Linux, and how to change them, it is probably time for a blog post on chown. Before jumping into chown, let's look at the permission of an object in more detail using stat, and a little bit of an overview on Linux IDs as this will be … Continue reading Chown, Stat, Id And Some More Permissions (Linux)
Changing Permissions Via Chmod (Linux)
In my previous blog post I discussed how Linux file permissions work, and now I am going to discuss how to change permissions using chmod. Note: Only the object owner, superuser or root account can change the permissions of a file/folder. chmod chmod is the command used to change the permissions of an object, and … Continue reading Changing Permissions Via Chmod (Linux)
Viewing Permissions (Linux)
Permissions on Linux can be a little confusing if you are new to Linux. Today my aim is to write a blog post to help with a discussion on viewing permissions and how permissions work. Viewing Permissions I personally use the command ls -ahl which should return all the files/folders within a directory (folder), alongside their … Continue reading Viewing Permissions (Linux)
File Checking With File (Linux)
It does not take much for a file / folder structure to become a bit messy, especially if it is a folder containing downloads. One of the common issues that can occur is for file extensions being lost or wrote over by mistake. For todays post I am going to use the MagPi magazine PDFs … Continue reading File Checking With File (Linux)
Encrypting Files With Ansible Vault (Linux)
Ansible is a piece of configuration management software that can be used to manage a few computers or a lot of computers and as it does not install a client on the end device it (it's configuration, playbooks and settings) can all be maintained on one computer which acts as the Ansible controller. But how … Continue reading Encrypting Files With Ansible Vault (Linux)
Downloading Multiple Files Via Wget (Linux)
When I first started my website I discussed some of the options of using the command line / terminal to download content from the internet without using a web browser. Recently I started looking through some of my partially wrote blog posts / ideas for posts and decided to finish / post them. This evenings … Continue reading Downloading Multiple Files Via Wget (Linux)
Copying Files & Folders Via SCP (Linux)
I'm working on a few projects at the moment and using SCP. I thought I had covered SCP in a post before, but my site's search engine says otherwise. So here is a post on SCP. Secure Copy (SCP) can be used, as the name suggests, to securely copy files from one destination to another. … Continue reading Copying Files & Folders Via SCP (Linux)
You must be logged in to post a comment.