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

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

Login to the Ubuntu server & follow the below steps  to install openlitespeed  Step 1:Add OpenLiteSpeed Repository to Ubuntu $ wget -O – http://rpms.litespeedtech.com/debian/enable_lst_debian_repo.sh | sudo bash Step 2: Update the server before installing a new package $ sudo apt update Step 3: Install openlitespeed  $ sudo apt install openlitespeed… Continue Reading How to install OpenLiteSpeed on Ubuntu 18.04 / 20.04  Server

I got the above error when I am executing the bash script with mail command. In the scripts you use -a in the mail commands to attach the logfile. This does not function and results in an error that an invalid header is being added to the mail. Looking in… Continue Reading Invalid header: /var/log/rkhunter.log

Error lfd will not run with TESTING enabled in /etc/csf/csf.conf, at line 83 Date: 24-08-2021 Step 1: Log in to the server via SSH as root. Step 2: Edit csf firewall configuration file /etc/csf/csf.conf by using vi editor. You need to change the line TESTING = “1” to TESTING =… Continue Reading Error lfd will not run with TESTING enabled in /etc/csf/csf.conf, at line 83

How to enable mod_rewrite for Apache in CentOS Date: 10-07-2021 CentOS 7 and later versions have mod_rewrite installed and enabled by default. Open terminal and run the below command to check if mod_rewrite is already enabled in your system.# httpd -M | grep rewriteIf you see the output like below,… Continue Reading How to enable mod_rewrite for Apache in CentOS

In this script you will get information like AZ, instance ID, IP, keyname, etc… Please find the script below. Create a file with name getawsinstance.sh. Copy and paste the below content.nano getawsinstances.sh !/bin/bash echo “Grabbing instances in all regions, please wait..”for region in aws ec2 describe-regions –output text | cut… Continue Reading Bash Script to get the information related to instances of all regions in AWS.

How to Install Remote Desktop (Xrdp) on Ubuntu 18.04 Date: 04-06-2021 Step 1: Login to your ubuntu server via ssh. Step 2: Install XRDP Packages by using below commands.# sudo apt-get update# apt-get install xrdp Step 3: Allow RDP port 3389 in your server firewall if firewall enabled. Step 4:… Continue Reading How to Install Remote Desktop (Xrdp) on Ubuntu 18.04