• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer navigation

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • Solaris
    • Oracle Linux
    • VCS
  • Interview Questions
  • Database
    • oracle
    • oracle 12c
    • ASM
    • mysql
    • MariaDB
  • DevOps
    • Docker
    • Shell Scripting
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

Archives for February 2017

Solaris : How to setup session idle timeout for ssh

by admin

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 […]

Filed Under: Solaris

CentOS / RHEL : Installing and Configuring ASMLib

by admin

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 […]

Filed Under: ASM, Linux, oracle

CentOS / RHEL : How to find if a network port is open or not?

by admin

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 […]

Filed Under: Linux

Oracle Database : script to create a “CREATE SYNONYM Script”

by admin

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 […]

Filed Under: oracle

CentOS / RHEL 6 : How to add/remove additional IP addresses to a network interface

by admin

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 […]

Filed Under: Linux

CentOS / RHEL : How to install and start the Apache httpd service

by admin

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. […]

Filed Under: CentOS/RHEL 6, CentOS/RHEL 7, Linux

CentOS / RHEL : How to prevent disabled repositories from being downloaded into the yum cache

by admin

Question: How to prevent disabled repositories from being downloaded into the yum cache Answer: Yum does not fetch content from disabled repositories, but the yum cache may still hold a record of these repositories. The command “yum clean all” does not try to remove content from disabled repositories. So, to entirely get rid of them, […]

Filed Under: Linux

Linux / UNIX OS service : autofs

by admin

Service Name autofs Description This executes auto-mount daemon for filesystem mounting. The “auto-mount” daemon “mounts a filesystem when a client sends a request to this daemon” and “unmount it when there’s no request for a long time”. There are two types of automounters in Linux, autofs and AMD. AMD is implemented in user space and […]

Filed Under: Linux Services

CentOS / RHEL : Configure yum automatic updates with yum-cron service

by admin

yum-cron is an optional package starting from Red Hat Enterprise Linux 6, this is a plugin for yum. From man page of yum-cron : yum-cron is a simple way to call yum commands from cron. It provides configuration to keep repository metadata up to date, and to check for, download, and apply updates. The yum-cron […]

Filed Under: CentOS/RHEL 7, Linux

Linux / UNIX OS service : Bluetooth

by admin

Service Name Bluetooth Description This executes Bluetooth wireless communication daemon. Bluetooth services for service discovery, authentication, Human Interface Devices, etc. Nature The bluetooth has three daemons: # /etc/init.d/bluetooth status hcid is stopped sdpd is stopped hidd is stopped hcid – “Host Controller Interface Daemon” Manages all the Bluetooth devices. sdpd – “SDP daemon” Allows Bluetooth […]

Filed Under: Linux Services

Next Page »

Primary Sidebar

Recent Posts

  • ncat Command Examples in Linux
  • ncat: command not found
  • nautilus Command Examples in Linux
  • namei: command not found

© 2023 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright