Introduction: In this article, We have to learn, how to get instance-id, instance-type, Public key, and Security groups name on an AWS server without AWS console login credentials. Prerequisite: Step1: Login to the Instance with Sudo or root access Step2: Update and install curl on the instance/server with the below… Continue Reading How to get details from the AWS instance?
IntroductionIn this article, we will be using S3FS to mount cloud storage services locally on a CentOS or Ubuntu box. Mounting them locally will allow us to interact with the cloud providers as a local file system. We will be covering three cloud storage providers namely, AWS S3, Wasabi Hot… Continue Reading How to Mount Wasabi Storage Bucket on CentOS and Ubuntu 20 using S3FS
We will be able to ssh from one remote-1 machine into another remote-2 machine without typing its IP and the password in the terminal. Prerequisite A user with sudo privileged access to the remote servers Implementation 1. Log in to a remote-1 server ssh user@ip 2. As a root user… Continue Reading Setting Up Passwordless SSH and Alias For Remote Login – Ubuntu 18.04
Fail2ban is an intrusion detection system that scans the log files to find malicious attacks on your servers. Fail2ban updates firewall rules on its own to block the IP addresses which are trying to exploit the server. Prerequisite A system running Ubuntu 18.04 with a user account with sudo privileges… Continue Reading How to Install and Configure Fail2ban on Ubuntu 18.04 Server
There are two ways of getting Sphinx for Ubuntu: regular deb packages and the Launchpad PPA repository. Deb packages Sphinx requires a few libraries to be installed on Debian/Ubuntu. Use apt-get to download and install these dependencies:$ sudo apt-get install mysql-client unixodbc libpq5 Now you can install Sphinx:$ sudo dpkg… Continue Reading How to install Sphinx packages on Debian and Ubuntu
1. Finding files by ownership. Find a file owned by a specific group. $ find /home -group groupname Find a file owned by a specific user: $ find /home -user username 2. Finding files by permission. Find files of a specific set of permissions, 777 in this example: $ find… Continue Reading How to find files based on permissions and ownership?
Zabbix is a monitoring solution for IT infrastructure. We can monitor most of the devices in the network and most of the services on the servers. To monitor applications, we must have a Zabbix server installed in the network. Zabbix Agent is required on the systems, we need to monitor… Continue Reading How To Install Zabbix Agent on Ubuntu
We want to reset an admin’s password on an Ubuntu system. Step1: When Booting up the machine, we hold down the left Shift or Esc key. Step2: Select Recovery Mode. Use the arrow keys to scroll to the first boot option from the top that contains (recovery mode). Hit Enter. Step3: Select root. Use the arrow keys to… Continue Reading How to Reset Password on Ubuntu Linux
I got the above error when I tried to run “yum update”. Below is the complete error. I got this error on centos-8. Output from the /var/log/dnf.log for more DEBUG information: I have followed the below steps to fix the issue. Step:1:- Go to the /etc/yum.repos.d/ directory. Step:2:- Run the below commands Step:3:- Now… Continue Reading Failed to download metadata for repo ‘AppStream’ [CentOS]
FTP Configuration Dated : 15/11/2018 File Transfer Protocol (FTP) is a standard Internet protocol for transmitting files between computers on the Internet over TCP/IP connections.FTP is a client-server protocol that relies on two communications channels between client and server Step 1 : check whether the ftp is already installed in our… Continue Reading How to setup VSFTP Configuration