Jump to Navigation


154 - To use tmpfs

This not a normal directory on your machine. It is intended to appear as a mounted file system, but one which uses virtual memory
instead of a persistent storage device. The standard /dev/shm grows automatically as more space is needed, but is by default limited
to half of your physical RAM. If you have 8GB, it can grow to 4GB at most.

153 - Resource temporarily unavailable, ORA-12541

You have Oracle WMS and using a lot of mobile devices, sometimes you got an error "ORA-12541" in Oracle DB
or "Resource temporarily unavailable" in Linux with default ulimit settings in Oracle Application EBS Manual.
You need to increase the ulimit settings in /etc/security/limits.conf as the followings.

[root@myserver]# su - oradba
su: cannot set user id: Resource temporarily unavailable

149 - How to solve 'Stale NFS file handle'

This error is typically seen in a system which has active NFS mount point. The NFS protocol doesn’t define any way of communication for
any change of NFS server configuration. In this case, 'df' command starts showing this error ‘Stale NFS file handle’on the screen.
Such problems have no other choice but need to remount the NFS volume as the followings.

# ls mydir

ls: cannot access nfsdir: Stale NFS file handle

147 - Configure RAW Printer

lpadmin configures printer and class queues provided by CUPS. It can also be used to set the server default printer or class.

If you want to configure a printer in the Linux System, it will be very simply to execute the following command.

# lpadmin -p PRINTER-1 -v socket:// -L "Printer for Test" -D "Test Printer" -m raw -E

# accept PRINTER-1

# enable PRINTER-1

146 - Graphical Desk Top Preference

You can set up the default graphical interface between KDE & GNOME.

Edit the following file and change it.

  • /etc/sysconfig/desktop






141- How to set up VNC

Virtual Network Computing (VNC) is a graphical desktop sharing system that uses the RFB protocol to remotely control another computer.
It transmits the keyboard and mouse events from one computer to another, relaying the graphical screen updates back in the other direction,
over a network.

1. Edit /etc/sysconfig/vncservers as root

   Uncomment the line:

2. chkconfig vncserver on

3. su to the user that you will be logging in as

140 - Tomcat Installation on RedHat OS

1. Installation

# yum install tomcat5 tomcat5-webapps tomcat5-admin-webapps

* tomcat5 root directory :  /usr/share/tomcat5

All directory should be symbolic links

139 - How to install Java and configure it

1. Java Installation

You can download it from Oracle Sun Developer Network.

# cp jdk-6u20-linux-i586.bin /usr
# chmod +x jdk-6u20-linux-i586.bin
# ./jdk-6u20-linux-i586.bin

Enter Yes.

* After executed the bin file, jdk1.6.0_20 is created in /usr

136 - Enable ftp on RedHat OS

Starting with the Red Hat Enterprise Linux (and in CentOS Enterprise Linux), the FTP server is no longer available with xinetd.
It has been replaced with vsftp and can be started from /etc/init.d/vsftpd as in the following:

# /etc/init.d/vsftpd start

Starting vsftpd for vsftpd:         [ OK ]

135 - Enable telnet on RedHat OS

Linux is configured to run the Telnet server, but by default, these services are not enabled.
To enable the telnet service, login to the server as the root user account and run the following commands:

# rpm -qa | grep telnet

If you get nothing.


Subscribe to RSS - configuration

Main menu 2

by Dr. Radut