This post explains how to free up space when files under /var/cache/yum is filling up the disk space. This is normal behavior as the cache would increase its size based on the frequency of syncing with the yum server. Its an administrative task provide adequate space. This should be corrected by either running: # yum […]
Archives for January 2019
How to Configure YUM to connect to Oracle Public Repository in Oracle Enterprise Linux
This post will assist you in configuring an OEL system to connect to the Oracle Public YUM repositories. Your OEL System must have a working connection to the internet for YUM to work correctly. If your system is isolated from the internet due to security policies, you will need to set up a local repository […]
How To Retain Current And Older Linux Packages While Doing Update With ‘yum’ Command
In this post, we shall discuss about how to retain current and older Linux packages while updating the Linux OS with the ‘yum’ command. Note that /etc/yum.conf configuration file contains a [main] section. If required then we can add many additional options under the [main] section. Some of the key-value pairs in the [main] section […]
How to Setup a squid proxy server on CentOS/RHEL 7
Squid is a web proxy application with a variety of configurations and uses. Squid has a large number of access controls and supports different protocols, such as HTTP, HTTPS, FTP, and SSL. In this post, we will see how to use Squid as an HTTP proxy. The Setup Squid is quite an old, mature, and […]
How to Install Gnome Desktop Environment onto Oracle Linux 6.x
This document describes how to install Gnome Desktop environment onto an Oracle Linux 6.x system. The Stpes 1. On Oracle Linux 6.x, Gnome yum group is known as “Desktop“, which was “Gnome Desktop Environment” on Oracle Linux 5.x. Thus, to install Gnome Desktop Environment on Oracle Linux 6.x use the below command: # yum groupinstall […]
How to configure VNC Server on Oracle Linux 6
Here is a short howto on configuring VNC server for Oracle Linux 6. 1. Check if the server is connected to Oracle Linux yum server Or ULN to avoid the dependency issue. # yum repolist 2. Install the vnc server RPMs: # yum install vnc* This installs latest version of RPMs: tigervnc-server-module, tigervnc and tigervnc-server. […]
How to Setup VNC Server for New User in CentOS/RHEL 5
We will be setting up VNC for a new user, using the account name of john as an example. 1. Create the VNC user accounts as root: $ su – # useradd john # passwd john 2. Edit the server configuration file /etc/sysconfig/vncservers, and append john on VNCSERVERS line and set VNCSERVERARGS. # vi /etc/sysconfig/vncservers […]
How to Access VNC Server Through A Web Browser in CentOS/RHEL
This post describes how to access VNC server which is already installed and configured on a CentOS/RHEL server: vnc-server for CentOS/RHEL 5 tigervnc-server for CentOS/RHEL 6 Before starting, it is assumed that the access the VNC console via vncviewer is possible: # vncviewer [Server IP]:5901 But the below message is received when tried to access […]
Understanding the /etc/exports File
The primary configuration for the NFS server is the /etc/exports file. This is the file that you use to specify what directories you want to share with the NFS clients. The syntax of this file is: Directory hostname(options) The value of Directory should be replaced with the name of the directory you want to share […]
How to Automate Startup/Shutdown of Oracle Database and Listener on Linux
In many environments, it’s desirable to have the Oracle database and listener automatically shutdown and startup when the server reboots. If you have that requirement, then follow the next several steps to automate your database and listener shutdown and startup: Steps to configure auto startup/shutdown 1. Edit the /etc/oratab file, and place a Y at […]