If you have ever found yourself launching multiple terminal / command line windows and then losing the window you needed, or find that your remote session to your Linux device has lost connectivity which means an active process also ending then tmux may be of help to you. tmux is a terminal multiplexer that allows … Continue reading The Basics Of tmux – The Terminal Multiplexer (Linux)
Category: Linux
Ansible’s Copy and Fetch Modules
If you are moving files between computers then you may be doing this by transferring the files to a physical medium (e.g. a USB pen drive), via email or via scp. However, there are other options including Ansible which has two modules to help, Copy and Fetch. Copy The Copy module can be used to … Continue reading Ansible’s Copy and Fetch Modules
Installing And Configuring NGINX As A Reverse Proxy Via An Ansible Playbook
Today I am looking at installing and configuring NGINX with an Ansible playbook. In my previous blog posts I have looked at using an Ansible playbook to install the ELK (Elasticsearch, Logstash, Kibana) stack across three different computers, and then how Ansible roles can be used to organise a playbook. Note: The files for this … Continue reading Installing And Configuring NGINX As A Reverse Proxy Via An Ansible Playbook
Using Ansible Roles, aka ELK Stack Ansible Playbook (V2)
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)
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)
You must be logged in to post a comment.