The sosreport is a tool that collects the configuration and diagnostic information from Redhat Enterprise Linux Machine. The sosreport will collect information like the running kernel version, loaded modules,system configuration files and other system related information to archive file.
Archive for the ‘Applications’ Category
Sometimes you feel it is necessary or to be handy to have a local yum server in your network.So let’s try to create a local yum server in your network.
important uses of LSOF Command – lsof is a Linux utility which lists the information about files opened by processes.LSOF is one of the powerful tool available for troubleshooting problems.
Here we are trying to find out how to convert Linux man pages to PDF. Man Pages are most reliable reference available for Linux users and man command remains the easiest way to access those reference pages.
Autoconf is a set of tools which makes your project configurable and portable for running in Linux distributions. Simply, autoconf will help you to create configure script and Makefile for your code. Before going to generate configure script using autoconf, we need to define set of rules and dependencies. We are defining that rules and dependencies in two files, configure.in and Makefile.in. Create default Makefile and keep in project directory.We can genarate the configure.in based on the rules specified in [...]
Environment variables in Unix are a set of dynamic named values that can affect the way running processes will be have on a computer
script is one of the powerful tool available to record a unix terminal session.Start the recording of Unix terminal session with script command.And start doing your important configurations, it will recorded in a file. After completing the task ,you can exit the recording with exit command Example procedure: [root@core-22 ~]# script Script started, file is typescript [root@core-22 ~]# service httpd stop Stopping httpd: [ OK ] [root@core-22 ~]# service httpd start Starting httpd: [ OK ] [root@core-22 ~]# exit exit [...]
Let see how to install and configure mrtg with this article. Required packages mrtg-2.10.15-1.i386.rpm net-snmp net-snmp-utils Prerequisite: snmp should be configured and running Change the permissions of the directory #chmod 777 /var/www/mrtg Generate a configuration file #cfgmaker –output=/etc/mrtg/mrtg.cfg -ifref=ip –global “workdir: /var/www/mrtg” –global ‘options[_]: growright,bits’ email@example.com Edit the configuration file and make the necessary changes. #vi /etc/mrtg/mrtg.cfg then run mrtg #export env LANG=C (add this entry to /etc/profiles to export this entry on boot time) #/usr/bin/mrtg /etc/mrtg/mrtg.cfg Create an html [...]
virtusertable is used to do aliases to virtual domains hosted on the same server. In this case we use mail1.domain.org as main host and mail2.domain.org as virtual host. Before creating virtusertable mapping ,you need to create a file virtusertable in /etc/mail/.In virtusertable each entry should be a single line.The entry in left hand side denotes the original recipient address.And the right hand side entry denotes the mapping address. Here is the sample of virtusertable firstname.lastname@example.org john email@example.com David The original [...]
Asterisk is a software implementation of a telephone private branch exchange (PBX) originally created in 1999 by Mark Spencer of Digium. Like any PBX, it allows attached telephones to make calls to one another, and to connect to other telephone services including the public switched telephone network (PSTN) and Voice over Internet Protocol (VoIP) services. Basic Requirements openSSL and its development libraries ncurses and ncurses-devel (for the CLI) zlib (compression library) newt and newt-devel libraries (for DAHDI utilities) curl (to [...]
Synergy is software client/server application for several operating systems (GNU/Linux, Mac OS X, Microsoft Windows and more) which allows you to control multiple computers through the same keyboard and mouse. Moreover, your computers will be able to share their clipboards among themselves, enabling you,like, to copy text from a Linux application and paste it into a Windows application. Install synergy using yum yum install synergy then create the configuration file synergy.conf in /etc/ with following lines section: screens host1: host2: [...]
1. Download jdk from http://java.sun.com/javase/downloads/ into /root/Downloads/ 2. Create a directory ‘java’ in /usr mkdir /usr/java cd /usr/java cp /root/Downloads/jdk-6u<version>-linux-i586.bin . 3. Make the file executable chmod a+x jdk-6u<version>-linux-i586.bin 4. Run java self extracting binary ./jdk-6u<version>-linux-i586.bin The binary code licence is displayed , prompted to agree to its terms.The installer copy files into jdk-6u<version> directory. 5. Add the following lines to /etc/profile to set JAVA_HOME and its PATH export JAVA_HOME=/usr/java/jdk-6u<version> export PATH=$PATH:$HOME/bin:$JAVA_HOME/bin Done…