Yum: prevent a updating the packages

When you are running the new servers, the one thing you do not want to do – is upgrade the kernel. Because that is the only Linux update operation that requires a reboot once it is done — and in a production environment you often can’t have downtime....

Setup Oracle Java jre 1.7 on Centos 6.(1,2,3,4…)

Download the rpm file from java.com. Install using the rpm command: rpm -Uvh jre-7u17-linux-x64.rpm Use alternatives to config: # alternatives --config java There are 2 programs which provide 'java'. Selection Command ----------------------------------------------- * 1 /usr/java/latest/jre/bin/java + 2 /usr/java/jre1.7.0_17/bin/java Enter to keep the current selection, or type selection number: Select the java you want...

Fedora, RHEL / Centos set default gateway

There is no specific command on CentOS to set the default route or gateway, there are several ways to do this on CentOS (as there often are). The method I am showing you will work on all versions of CentOS with or without a GUI and involves directly editing the network configuration file using...

Облачные и VPS виртуалки: Как определить, какая система виртуализации на вашем хостинге.

Frequently, customers want to install software in a virtual machine. This can be OK, but frequently they hit a CPU,memory, or IO limit caused by running in a constrained virtual environment.When this happens, we really like to know if they’re running under virtualization when we try to support them. Here’s some tricks to detect,...

Scroll to top