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 …
Category: Important Stuff !
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 …
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 …
Maria DB – How to reset root password ?
If you come across a situation where you do not remember to master password (root password) of Maria DB then following simple steps will be helpful to reset the root password. First stop MariaDB Server. # systemctl stop mariadb Edit Read More …
Know more about your CPU in Linux
There are two ways to gather information about CPU in Linux. 1. You can check file /proc/cpuinfo to CPU information as below. You may see following output which contains most vital information about CPU. # cat /proc/cpuinfo processor : 0 Read More …
Listing PCI devices in Linux
There are many devices in Linux that follow PCI architecture. You can gather list of all such devices using lspci command in linux. Below is a step by step guide. 1. You should install pciutils software first. # yum install pciutils -y Read More …
Howto install PHP 7.2 in CentOS 7 ?
Before you install PHP 7.2, please make sure that your yum tool is properly configured and working. Below are the simple steps to install PHP 7.2 in CentOS 7. 1. Install EPEL repo. # yum install epel-release -y 2. Install Remi Read More …
Redirect website using refresh Meta Tag in html
Normally all servers read index.html as first file on web site. You can use following code to redirect your site to some different site. For example consider that your site is http://abc.com and if somebody visits http://abc.com then it should Read More …