Hostname is a name given to machine. You can check the machine’s hostname using following command. # hostname Using the same command you can set hostname also. # hostname station1.example.com Basically Linux maintains host in /etc/hostname file. You can edit Read More …
Author: S. Sharad
Redirecting Tomcat Port 8443 to Port 80 For CentOS 7
It is very simple process using iptables firewall. Below is a single step. # iptables -t nat -A PREROUTING -p tcp –dport 443 -j REDIRECT –to-port 8443 All request coming on port 443 are forwarded to Port 8443 of Tomcat. Read More …
SSL Certificate Installation On Tomcat For CentOS7
Below are the steps. Here we are using Let’s Encrypt SSL Certificate to secure the Tomcat Server. For this example, I am using demo.ssharad.com as domain name for Tomcat. Before I move ahead, please make sure that your server must Read More …
Installing Apache Tomcat On CentOS 7
Below are the steps. 1. Install OpenJDK for java as below. # yum install java-1.8.0-openjdk -y 2. Check Java # which java # java -version openjdk version “11.0.12” 2021-07-20 LTS OpenJDK Runtime Environment 18.9 (build 11.0.12+7-LTS) OpenJDK 64-Bit Server VM Read More …
Xen Server – Set Up an Additional Hard Drive
Below are steps 1. Using SSH Login to your server. You can use putty software to login to server from Windows Machine. 2. For example : Consider you wish to add /dev/sdb drive which is newly attached to system. If Read More …
My YouTube Channel Url
You can visit to my YouTube Channel by clicking following link. MyChannel
Installing htop Command on CentOS 7
htop is an interactive text-mode process viewer for Linux. On CentOS 7, you can install as below. Step 1 : Download htop # wget http://download-ib01.fedoraproject.org/pub/epel/7/x86_64/Packages/h/htop-2.2.0-3.el7.x86_64.rpm Step 2 : Install htop # yum localinstall htop-2.2.0-3.el7.x86_64.rpm Step 3 : Now run htop Read More …
Check SHA256 (256-bit) Checksums
Using sha256sum command in Linux you can check SHA 256 Bit Checksum. Below are the steps. Suppose you have setup.exe file then you can check the SHA 256 Bit Checksum as below. # sha256sum setup.exe b7e8dabcaf825a65085564a63791355f37a18d5df5b3da71d4c0002ee40522f6 setup.exe The text “b7e8dabcaf825a65085564a63791355f37a18d5df5b3da71d4c0002ee40522f6” Read More …
Howto install Plesk on CentOS 7 ?
It is very simple . . . Below are the steps ! Install wget in your machine. # yum install wget -y Download Plesk Installer from Plesk site. # wget http://autoinstall.plesk.com/plesk-installer Update execute permission. # chmod +x plesk-installer Now run Read More …
Test Internet Connection Speed Using CLI
You can check internet connection speed in Linux using speedtest-cli tool. Below are the steps. (Tested On – AlmaLinux 9.4) 1. Install package epel-release as below # dnf install epel-release -y 2. Install speedtest-cli package as below. # dnf install Read More …