Tuesday 23 February 2016

How to install Java 7/jdk1.7 in Centos7/RHEL7



Step 1: Download java from oracle official site:

Download “jdk-7u79-linux-x64.rpm” from here and save the package to /opt directory or change the directory where you downloaded the package:

Sunday 21 February 2016

DHCP: DORA Process



It is important to understand how DHCP uses the DORA process to operate. Dynamic Host Configuration Protocol (DHCP) is used to automatically assign IP address to client machines. Without DHCP, you would have to go to each machine and manually enter the address. DHCP is broadcast-based, using ports.

How to install Java8/jdk1.8 in Centos7/RHEL7



Step 1: Download java rpm package from oracle official site:

Download “jdk-8u60-linux-x64.rpm” from here and save the package to /opt directory or change the directory where you downloaded the package:

Tuesday 16 February 2016

How to Install and Configure NTP Server on CentOS 7



Network Time Protocol – NTP- is a networking protocol for clock synchronization between computer systems over packet-switched, variable-latency data networks which runs over port 123 UDP at Transport Layer. In operation since before 1985, NTP is one of the oldest Internet protocols in current use. NTP was originally designed by David L. Mills of the University of Delaware, who still oversees its development.

Thursday 11 February 2016

How to install Apache Tomcat Natives on CENTOS7/RHEL7



Step 1: To install Tomcat Natives first need to install prerequisites compilers and development tools:

Tuesday 9 February 2016

Recover corrupt rpm database on RHEL/Centos/Fedora



First thing take a backup of the existing rpm database. This is located in /var/lib/rpm. Depend on used distribution:

Sunday 7 February 2016

Name based Virtual Hosting



Step 1: Create Dir for Document root to Keep web pages for multiple domains and copy webpagescontents on it:

Saturday 6 February 2016

How to Recover MySQL database server password



Step 1: Stop Mysql Server: 

Friday 5 February 2016

PostgreSQL server allow to connect from remote clients



Step 1: You have to make PostgreSQL listening for remote incoming TCP connections because the default settings allow listening only for connections on the loopback interface. To be able to reach the server remotely you have to add the following line into the file /etc/postgresql/9.3/main/postgresql.conf:
listen_addresses = '*'