In this section, we will learn how to secure your ssh connection with MFA using Google authenticator app. Before we start go ahead and download the google authenticator app to your mobile device. After you successfully downloaded and install the google authenticator app on your mobile device go to your Linux server and install the … Continue reading SSH to your Linux Server using Google Authenticator app
Remotely Connect to Linux Servers with SSH key-pairs SSH: Authentication with Key-pairs On your client machine: Create ssh key pair by using the command ssh-keygenIt will create 2 files (Private key and Public key) in the .ssh folder. [menit@fedora .ssh]$ ls id_rsa id_rsa.pub It is recommended that you will use a passphrase to encrypt your … Continue reading SSH Key-Pairs.
In this post i will give you the basic commands to run and troubleshoot basic docker containers Install Docker First This is a simple command to run a Nginx docker container: docker container run --publish 844:80 --detach --name Mynginx nginx -- Detach = Run container in the background-- name = name of the containernginx = … Continue reading Creating and Using Docker Containers
Zabbix Server depends on the following software applications: MySQL database serverApache web serverPHP with required extensionsFor this installation I used this image CentOS-8.2.2004-x86_64-minimal If you’re not a fan of SELinux, I recommend to you set it in Permissive mode. setenforce 0 && sed -i 's/^SELINUX=.*/SELINUX=permissive/g' /etc/selinux/config Install and configure Zabbix server for your platform a. … Continue reading Install Zabbix Server 5.0 LTS on CentOS 8.
In this blog post, we will create s3 bucket with a policy that only allow us to connect to a specific folder in the bucket and from specific ip. The Main Advantages of this service: Unlimited storageLow CostAbility to transfer data to Cold/Archive StorageLimit Access by IP and FolderHave backup/redundancyCan be created in any region. Disadvantages Hard … Continue reading AWS S3 Bucket – Secure File Sharing
https://miro.medium.com/max/3172/1*y6CvfE6WUgoIdT8Mp0Ev_g.png Bind Volumes: How Map folders in your Docker host to your container First lets create folder in our docker host root@master:~# mkdir mysql root@master:~# ls index.html mysql snap Map the new folder to the folder in the container root@master:~# docker run -d -v /mnt/mysql:/var/lib/mysql --name some-mysql -e MYSQL_ROOT_PASSWORD=my-secret-pw mysql Now, Lets enter to the … Continue reading All That you need to know about Docker Volumes.