INSTALLATION DOCUMENTS BY RAVI

Showing posts with label LINUX. Show all posts
Showing posts with label LINUX. Show all posts

Sunday, April 26, 2020

How to check whether port is open or not in Linux

Syntax:

echo > /dev/tcp/[host]/[port] && echo "Port is open"
echo > /dev/udp/[host]/[port] && echo "Port is open"


Example:

echo > /dev/tcp/172.16.11.45/7091 && echo "Port is open"
















 echo > /dev/tcp/172.16.11.45/7091 && echo "Port is open"

















Monday, June 17, 2019

sendEmail[18533]: ERROR => No TLS support! SendEmail can't load required libraries. (try installing Net::SSLeay and IO::Socket::SSL)


Getting the below error while trying to send mail using sendEmail on Linux:
sendEmail[18533]: ERROR => No TLS support!  SendEmail can't load required libraries. (try installing Net::SSLeay and IO::Socket::SSL)








Resolution:
To resolve this install the below rpms
yum install 'perl(Net::SSLeay)




yum install 'perl(IO::Socket::SSL)'






















































Now try to send the mail again




















It is failed with below error:
at ./sendEmail line 1906.
invalid SSL_version specified at /usr/share/perl5/vendor_perl/IO/Socket/SSL.pm line 444.

To resolve this error modify sendEmail file as below




















Now try to send the mail again, we will get a successful message


Sunday, November 25, 2018

Creating user and making it as a owner to a specified directory in linux

Creating groups:







Creating user and assigning groups to it:








Creating a directory:







Making user as the owner of the newly created directory:




Login with user and check


Saturday, November 10, 2018

Step by Step installing Apache Subversion

Prerequisite:


Httpd:








Installing Subversion:
























Configuring Subversion with HTTP:

















Save and close the file.

Creating the SVN repository:





Creating users for authentication:







Restart the httpd server:






Accessing Repository in the browser:





































Tuesday, July 3, 2018

Finding files that use the most disk space in linux

Command to list the top 10 largest directories from the current path


du -sh * | sort -hr | head -n10



















Command to unzip all the zip files in a directory in Linux

Below is a directory containing 5 zip files






To extract all the zip files at a time run the below command
#unzip \*.zip

























Saturday, May 5, 2018

Installing vnc server on centos 7

Installing Gnome Desktop

Connect to the server as root user in putty

Use yum to install Gnome Desktop package




Enter "y" to install all the dependencies and package
















Wait until the package got installed, it  will take some time

Installing Tiger vnc server

Install vnc server as below using yum



















Start the vnc server













Here  vnc session started with session id "1"

Connecting to the server using vnc viewer

Open the vnc viewer and provide server ip and session id











Click on ok








Provide the password and click on ok




















Monday, March 26, 2018

How to skip prerequisite check while installing oracle softwares on linux operating system

Installing obiee software on linux throwing prerequisite check failed error














To install the software by ignoring the prerequisite check , issue the command as below
























Saturday, February 17, 2018

Changing your Python version with Anaconda ( Installing Anaconda Python )


Checking the current python version





Installing Anaconda Python:

Searching for available python modules in anaconda

Installing python using conda







































Type y to continue installation

Installation completed .

Now check for the updated python version






  Opatch reports 'Cyclic Dependency Detected' error when patching ODI   Issue: When applying a Patch Set Update (PSU) to WebLogic Se...