Testing whether a proxy is set This command will show if there is a proxy server configured on the system: Raw echo $http_proxy Proxy setting for command line programs The http_proxy environment variable is used to specify proxy settings to client programs such as curl and wget. No username and password required: Raw export http_proxy=http://SERVER:PORT/ Username and password authentication: Raw […]
Category: Uncategorized
EPOCH time – Nagios Time convert
The Unix epoch (or Unix time or POSIX time or Unix timestamp) is the number of seconds that have elapsed since January 1, 1970 (midnight UTC/GMT), not counting leap seconds (in ISO 8601: 1970-01-01T00:00:00Z). to convert epoch time: perl -le ‘print scalar localtime $ARGV[0]’ 1510686308 Tue Nov 14 14:05:08 2017 to See nagios logs in Human Readable […]
RHEL7: Interrupt the boot process in order to gain access to a system
RHEL7: Interrupt the boot process in order to gain access to a system. credit: CERTDEPOT Note: This is a critical RHCSA 7 exam objective (if you can’t take control of a VM through a reboot at the beginning of the exam, you will fail it entirely). Presentation In RHEL 7, the procedure to get access to a system during […]
WEBLOGIC install
Installation of Weblogic Application Server Copy the install files to the Linux machine, using Winscp or the mv command as mentioned in the basic commands section Grant all permissions to the file : chmod a+x wls1033_linux32.bin Run the bin file to start the installation ./wls1033_linux32.bin Until the Choose the Home Directory option comes, Choose the […]
How to remove ghost LUN in Solaris
sometimes we have leftover phantom or ghost luns: Removing a ghost LUN in Solaris – First make sure it’s not in use First thing I do is make sure that the disk isn’t under control of STMS or Veritas. The two most likely disk management packages. # stmsboot -L or # vxdisk list whatever_disk If the disks are […]
Centos – SSH fail /dev/null character device
issue: ssh daemon Fails to start on server trying to start the ssh service results: # /etc/init.d/sshd start Starting sshd: [ OK ] # /etc/init.d/sshd status openssh-daemon is stopped Looking at /var/log/secure logs ; the following error is noted: sshd[19546]: fatal: daemon() failed: No such device This is related to /dev/null – should be a […]