Posts

Showing posts with the label Centos 7 VPS

Install and configure rsyslog Centralized logging server in CentOS

 Install and configure rsyslog Centralized logging server in CentOS 6.5 In this tutorial we will learn, how to install and configure rsyslog 7.6 version on RHEL 6.5/CentOS 6.5 .The scenario is, install and setup rsyslog Centralized Logging Server in RHEL/CentOS 6.5. All the logs from client servers will be sent to Centralized logging server i.e rsyslog server. Check Pre-installed rsyslog package Step 1: First of all check the rsyslog package is installed in your system.Generally by-default we get rsyslog version 5.x , after minimal installation of CentOS 6.x / RHEL 6.x We will install the latest rsyslog package. At the time of writing this post, rsyslog stable version 7.6 was available. You can find the latest package information from rsyslog official website Note: By default, RHEL 6.x and CentOS 6.x has rsyslog version 5.x. So here we will update the rsyslog with new version. You can get the rsyslog version information, by using below given two commands rpm -qa|grep rsy...

How to Install GlassFish on a CentOS 6 VPS

Image
You can download the JDK here:  http://www.oracle.com/technetwork/java/javase/downloads/index.html I'm using the latest, which is JDK 8, update 24. The JDK is specific to 32 and 64 bit versions. My CentOS box is 64 bit, so I'll need: jdk-8u45-linux-x64.tar.gz. Download the appropriate JDK and save it to a directory. I'm saving it to /root. Move (mv) or copy (cp) the file to the /opt directory: Create the directory /usr/java. 1.            [root@testserver ~]# mkdir /usr/java 2.            [root@testserver ~]# cd mkdir /usr/java 3.            [root@testserver ~]# tar -xvf /root/jdk-8u45-linux-x64.tar.gz 4             [root@testserver jdk1.8.0_45]# pwd /usr/java/jdk1.8.0_45 Set the JAVA_HOME path. This is where we installed...