Category Archives: HOWTO’s

What is: chroot – the system call and utility in Linux

23 March 2019

 chroot() was added to the Version 7 Unix in 1979 and used for filesystem isolation. In fact, it’s the predecessor of the whole current containerization idea, just now there are namespaces and cgroups are used while earlier chroot was used to create an environment which is isolated from a host and can be used for… Read More »

TestRail: QA Test Case Management installation on Linux

22 March 2019

 TestRail – Test Case Management Software for QA and Development Teams. Well – that’s all needed as a description) Below – its installation on Debian Linux with NGINX, Let’s Encrypt, PHP-FPM, MariaDB, and Exim. Project’s homepage – Installation official documentation – here>>>. Setup will be on an AWS EC2. LEMP and SSL Login to… Read More »

Jenkins: Scripted Pipeline – Production environment job confirmation step

19 March 2019

 We have jobs which have to be executed on a Dev and Production environments via a Scripted Pipeline. In such jobs, there are tasks to execute CloudFormation upgrades on an infrastructure or Ansible playbooks to update servers configuration. To avoid an accidental execution of a Production job I want to have some confirmation step before… Read More »

Monit: email alerting on an SSH logins

18 March 2019

 The task is to send an email alert when SSH-login was made from an IP which is now whitelisted. Will use Monit here. Install it: Configure email settings: set localhost (we have a local eximhere), email’s format and email’s receiver. Edit the /etc/monit/monitrc file: … set mailserver localhost set mail-format { from: Monit <monit@$HOST> subject: monit… Read More »

Terraform: creating a project with an AWS EC2, VPC, and AWS cross-region VPC peering connection

18 March 2019

 One of the disappointing surprises in my AWS CloudFormation experience was the fact that it wasn’t able to automatically create cross-region VPC-peering connections. Note: this post originally was written in Rus on 28 June 2018 but now CloudFormation can do it, check the PeerRegion parameter of the AWS::EC2::VPCPeeringConnection resource. As a result – it tries… Read More »

Terraform: main commands, state-files, backend storages, and modules in examples on AWS

17 March 2019

 Examples of how to use Terraform, work with its backends and modules. Here will set up a simple EC2 instance in AWS and will store Terraform’s state-files in an AWS S3 bucket. In short terms – but with real examples and links to documentation. Installation on Arch Linux: For authorization will use an existing AWS… Read More »

NextCloud: installing server on Debian behind NGINX with PHP-FPM and client on Arch Linux

17 March 2019

 After the news that Dropbox adds a new limitation for users by the three devices only – I’m finally ready to install my own NextCloud to store and synchronize data. The sad thing is not exactly the three devices limit (and it will be applied for a new users only – old user who already… Read More »

What is: YAML – its overview, basic data types, YAML vs JSON, and PyYAML

14 March 2019

 YAML – is one of the most popular formats of the… Well, actually, they don’t know the format of what… Originally it was the «Yet Another Markup Language», later it became «YAML Ain’t Markup Language»: Originally YAML was said to mean Yet Another Markup Language,[12] referencing its purpose as a markup languagewith the yet another construct, but it was then… Read More »