All Stories

Linux Mini Mannual

|– FILES/SEARCH/SYSTEM  –|Unique names, remove duplicate names:# cat words.txt | sort | uniq > dictionary.txtremove any words not X size, or from X to Y:# cat dictionary.txt | pw-inspector -m...

accessing database (from perl).

#!\usr\bin\perl#selectstar.plx</p> use warnings;use strict; my $res=`echo "select * from checkin;" |mysql -u juned -p -D RNS_database -t `; print "$res";</div> </div>

Linux Stat command

A very handy command for Linux user which displays all the relevant information for files is stat The command is equivalent to right click properties in windows.</p> It is  useful ...

How to confirm apche has DSO support

To confirm whether your apache was configured with Dynamic Shared Object support check for  mod_so.c in your your httpd</p> [root@nagios php]# /usr/local/apache/bin/httpd -l | grep mod_so.c  mod_so.c To Find out...

Configure VPN Client in Suse Enterprise Linux 10

http://www.novell.com/coolsolutions/tip/17475.html

SSH loging without password with RSA key

if you want to automate a backup task to different server and for that using a bash script one major hurdle is providing password for ssh session.</p> to avoid this...

How to add swap space on the linux server?

root@server12:/var/tmp> free -m   total               used       free     shared    buffers     cachedMem:                32186     ...

Create extra root user account to your Linux box.

Create extra root user account to your Linux box.   The ‘root’ account with user id 0 is the powerful user account in Linux and Unix system.  You can create...

Information about "PS" Command

PID         USER     TTY         VIRT(VSZ)            RES(RSS)             STAT      %CPU    %MEM TIME+   COMMAND</p>...

Change the password of root if forgot // Single User Mode without root password

Change the password of root if forgot // Single User  Mode without root password for Maintenance This method will get you past the "Give root password for maintenance" message, but...

Find command controlling output

Changing the output informationIf you want more than just the names of the files displayed, find's -printf action lets you have just about any type of information displayed. Looking at...

Xen virtualization Documentation

A good document for Xen virtualization in RHEL5

How to Share a Winshare on Linux:-

To mount any windows share/partition in Linux use the below command. Here 192.168.3.60 is the IP of Windows host and ‘download’ is the share name on windows. Then pass on...

What is the difference between "su -" and "su" ?

What is the difference between "su -" and "su" ? </p> The main difference between su - and su is that the former makes the shell a login shell. This...

Instaling Tomcat

IMP LINK - http://www.meritonlinesystems.com/docs/apache_tomcat_redhat.html</p> installing  jakarta-tomcat-5.0.28.tar.gz + httpd-2.59.tar.gz with tomcat-connectors-1.2.26-src.tar.gz 1) Install apache using following steps   - tar -xvzf httpd-2.0.59.tar.gz   - cd httpd-2.0.59   - ./configure --prefix=/usr/local/apache2   - make   - make...

Features of RedHat Linux 6 !!

1) Updated kernel and core technology stack: a completely updated core which includes a newer kernel and associated user-space management tools. Also updated are core applications  like httpd, Samba and...

hadoop Standalone server

Attached is the original document from Apache Hadoop.</p> A very good and detail article is available at http://www.michael-noll.com/wiki/Running_Hadoop_On_Ubuntu_Linux_%28Single-Node_Cluster%29

Samba changes file ownership when a file is saved

Question: “When user B saves a word document that is owned by user A, the updated file is now owned by user B. Why is Samba doing this? How do...

Munin Plugin for rabbitmq-througput

rabbitmq-througput  : This plugin captures the throughput of the rabbitmq server i.e rate of messages (published,acknowledged,deliver and deliver_get) per second. These values are captured from RabbitMQ management plugin.</p> #Authour :...

Installing nginx

Install Nginx cd /optwget http://sysoev.ru/nginx/nginx-0.8.33.tar.gztar -zxvf nginx-0.8.33.tar.gzcd nginx-0.8.33./configure --with-http_stub_status_module Other option complied with configure as per requirement--prefix=/usr \--sbin-path=/usr/sbin/nginx \--conf-path=/etc/nginx/nginx.conf \--error-log-path=/var/log/nginx/error.log \--pid-path=/var/run/nginx/nginx.pid  \--lock-path=/var/lock/nginx.lock \--user=nginx \--group=nginx \--with-http_ssl_module \--with-http_flv_module \--with-http_gzip_static_module \--http-log-path=/var/log/nginx/access.log \--http-client-body-temp-path=/var/tmp/nginx/client/ \--http-proxy-temp-path=/var/tmp/nginx/proxy/...

Install Sun java JDK 1.5

Install JDK 1.5##################################################</p> [root@server ~]# cd /root/ && wget http://72.232.120.3/jdk-1_5_0_15-linux-amd64-rpm.bin[root@server ~]# sh jdk-1_5_0_15-linux-amd64-rpm.bin[root@server ~]# ll /usr/java/jdk1.5.0_15/bin/java[root@server ~]# /usr/sbin/alternatives --install /usr/bin/java java /usr/java/jdk1.5.0_15/bin/java 100[root@server ~]# /usr/sbin/alternatives --install /usr/bin/jar jar /usr/java/jdk1.5.0_15/bin/jar 100[root@server...