Script to add tomcat to start automatically upon reboot

We need to place the script to add tomcat to start automatically upon reboot inside the init.d directory. Follow the below steps: cd etc/init.d/ touch  tomcat vi tomcat Modify the java version and path as required marked in red in the content which will be pasted in tomcat file, and also the home directory where tomcat start… Read More »

How to Address the “User(s) With Blank Password” Vulnerability

Details of the Vulnerability THREAT: The user ((local service account) has blank password in the shadow file, which allows to connect to the system without entering a password. IMPACT: An attacker may connect to the system by knowing just the username. SOLUTION: Set a password for the user(local service account). ( Many companies security policy… Read More »

Step by Step Tutorial for installing OpenVPN on the Amazon EC2 Cloud

Step by step tutorial to install OpenVPN on redhat/centos 6.X servers in the Amazon EC2 Cloud. Login to the Amazon EC2 Cloud Install the following # yum install gcc make rpm-build autoconf.noarch zlib-devel pam-devel openssl-devel -y Next download LZO RPM and the repo RPMForge has to be configured # wget http://openvpn.net/release/lzo-1.08-4.rf.src.rpm Prior to adding correct… Read More »

Red Hat Training Day 1

We shall start from Linux Administration ( Fundamentals) What is Linux Linux is an operating system, unlike other operating systems. We shall see how it is different from other operating systems. Linux is free Linux is portable to any hardware platform Linux was made to keep  running on and on Linux is secure and versatile Linux… Read More »

How to setup yum repository in centos

Yum Detailed configuration according to specific requirement: Introduction: YUM (Yellowdog Updater Modifier) is the package manager which contains the RPM package files for Linux. RPM package file is a Red Hat Package Manager file that enables easy software installation on Red Hat/CentOS Linux. YUM Repositories hold RPM package files and enable download and installation of… Read More »

Connecting to a Virtual Server on the Public Cloud

You have subscribed to a cloud service and build a Linux Virtual Machine (VM) from an existing image on the cloud …now you need to connect to your linux machine using a putty ( ssh client)…but most of the could providers provide a private key with the .pem extension  which putty cannot authenticate directly as… Read More »