Question: Is it possible to setup a timeout for idle sessions in Solaris 10 ssh to automatically close an ssh session after a specified idle time? Answer: You can setup an idle timer on the ssh server side and this would be active for all users. There is no option to control this for individual users or on the client side. If you want to enable such an idle timeout then you have to edit the file /etc/ssh/sshd_config and set the value of ClientAliveCountMax to 0 and the value of … [Read more...] about Solaris : How to setup session idle timeout for ssh
Archives for February 2017
Oracle ASM (Automated Storage Management) is a data volume manager for Oracle databases. ASMLib is an optional utility that can be used on Linux systems to manage Oracle ASM devices. ASM assists users in disk management by keeping track of storage devices dedicated to Oracle databases and allocating space on those devices according to the requests from Oracle database instances. ASMLib consists of the following components: An open source (GPL) kernel module package: kmod-oracleasm An open … [Read more...] about CentOS / RHEL : Installing and Configuring ASMLib
A TCP/IP network connection may be either blocked, dropped, open, or filtered. These actions are generally controlled by the IPtables firewall the system uses and is independent of any process or program that may be listening on a network port. Beyond the firewall, a program or process (a server or daemon) may be listening on a port or not listening. This can be checked using the netstat or ss programs. Checking to see if a port is open, blocked, dropped, or filtered at the firewall is not … [Read more...] about CentOS / RHEL : How to find if a network port is open or not?
The following is a script that once run will generate another script that will include all the create synonym statements for all those in the database, both private and public. Pre-requisites 1. This script must be run by a user with the DBA role. The script Running this script will in turn create a script to build all the synonyms in the database. This created script, create_synonyms.sql, can be run by any user with the DBA role or with the 'CREATE ANY SYNONYM' and 'CREATE PUBLIC … [Read more...] about Oracle Database : script to create a “CREATE SYNONYM Script”
There are two ways to add another IP address to an interface. The old way creates a new virtual interface named in the style of ethX:Y where X and Y are numbers, for instance, eth0:1. Each interface has one IP address. It appears in ifconfig output as an ordinary interface and in ip output with a label attached. The new way adds a secondary address to the main interface. So, instead of having one interface per IP address, it is possible to add many addresses to the real interface. However, … [Read more...] about CentOS / RHEL 6 : How to add/remove additional IP addresses to a network interface
Question: How to install Apache and configure Apache httpd to run as a service? Answer: Installing the Apache package If you have the apache package downloaded, you can install it using rpm command as root user. # rpm -ivh httpd If you have yum repository configured, use the recommended way of installing Apache httpd, i.e. with "yum install" command. # yum install httpd NOTE: To get a specific version replace httpd with the version you would like. Example: … [Read more...] about CentOS / RHEL : How to install and start the Apache httpd service