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 clean all The above command cleans all cached files from any enabled repository. It is useful to run this from time to time to make sure there is nothing using unnecessary … [Read more...] about /var/cache/yum Constantly Filling Files System in CentOS/RHEL
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 and populate it manually. To configure your OEL system to use the Oracle Public YUM Repository, accomplish the following actions as root. 1. Checking YUM Configuration 1. Change to … [Read more...] about How to Configure YUM to connect to Oracle Public Repository in Oracle Enterprise Linux
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 affect how yum operates. A sample /etc/yum.conf configuration file looks as below: # cat … [Read more...] about How To Retain Current And Older Linux Packages While Doing Update With ‘yum’ Command
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 commonly used piece of software. It is generally shipped as a default package with various Linux distributions. Setup for this post: 192.168.10.2 - is our proxy server. 192.168.10.3 - Will … [Read more...] about How to Setup a squid proxy server on CentOS/RHEL 7
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 "Desktop" "Desktop Platform" "General Purpose Desktop" If the packages need to be re-installed, use the below command: # yum reinstall "@Desktop" "@Desktop … [Read more...] about How to Install Gnome Desktop Environment onto Oracle Linux 6.x
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. # yum install tigervnc-server-module tigervnc tigervnc-server 3. Edit the "/etc/sysconfig/vncservers" file to configure the required displays. The following … [Read more...] about How to configure VNC Server on Oracle Linux 6
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 VNCSERVERS="1:aa 2:john" VNCSERVERARGS[1]="-geometry 640x480" VNCSERVERARGS[2]="-geometry 640x480" Account john will have a 640 by 480 screen resolution. 3. … [Read more...] about How to Setup VNC Server for New User in CentOS/RHEL 5
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 using URL: http://[Server IP]:5901 over web broswer: RFB 003.008 The Steps VNC for HTTP access uses a port number other than the … [Read more...] about How to Access VNC Server Through A Web Browser in CentOS/RHEL
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 (for example, /usr/share/doc). The value hostname should be a client hostname that can be resolved into an IP address. The options value is used to specify how the resource … [Read more...] about Understanding the /etc/exports File
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 the end of the entry for the databases you want to automatically restart when the system reboots. You might need root privileges to edit the … [Read more...] about How to Automate Startup/Shutdown of Oracle Database and Listener on Linux