About

Welcome, My name is Anuj Singh, I am an opensource enthusiasts.

I am working on clusters and SAN, I also work as a freelancer and support. You can contact for my services on anuj.unix@gmail.com

I like using various flavours of UNIX and helping others, sharing ideas and shell scripting. I manage a small Linux Users Group in the area. Lucknow Linux Users Group

Posted in Misc | Leave a comment

ruby Object Oriented Scripting language

ruby a language from Japan, is pure object oriented scripting language that runs on most personal computer operating systems including Linux, Mac OS/X, BSD and Windows. Ruby also runs on most commercial Unix based operating systems as well.

Try on line.

Book

Posted in Programming | Tagged | Leave a comment

zimbra mail server enable archive for mails

as zimbra user

[zimbra@node2 ~]$ zmarchiveconfig enable user1@node2.example.com

Recovering mail from archive.

[zimbra@node2 ~]$ zmmailbox
mbox> authenticate user1@node2.example.com user1us
mailbox: user1@node2.example.com, size: 265.24 KB, messages: 51, unread: 2
mbox user1@node2.example.com> addMessage INBOX /opt/zimbra/store/0/5/msg/0/575-468.msg
424 (/opt/zimbra/store/0/5/msg/0/575-468.msg)
mbox user1@node2.example.com> quit

Posted in Linux | Leave a comment

cluster for redhat enterprise linux 5. source download

Source code of cluster suite and GFS (Global file system) Redhat Enterprise Linux 5 can be downloaded using Git (Git is an open source version control system designed to handle very large projects with speed and efficiency.)

  1. Download Git from http://git.or.cz/
  2. run following commands
    git clone git://sources.redhat.com/git/cluster.git
    cd cluster
    git checkout -b rhel5 origin/RHEL5

Faq Redhat Cluster

  • You can download binary packages for the same from the Centos site. To download all the packages automatically, Save the following lines in a file say cluster_download.sh and then do chmod 755 cluster_download.sh ; ./cluster_download.sh
    #!/bin/bash
    #ricci
    wget -c http://linux.en.com.sg/centos/5.1/os/i386/CentOS/ricci-0.10.0-6.el5.centos.1.i386.rpm
    #conga
    wget -c http://linux.en.com.sg/centos/5.1/os/i386/CentOS/luci-0.10.0-6.el5.centos.1.i386.rpm
    #system-config cluster 
    wget -c http://linux.en.com.sg/centos/5.1/os/i386/CentOS/system-config-cluster-1.0.50-1.3.noarch.rpm
    #lvm2 
    wget -c http://linux.en.com.sg/centos/5.1/os/i386/CentOS/lvm2-2.02.26-3.el5.i386.rpm
    #lvm2-cluster
    wget -c http://linux.en.com.sg/centos/5.1/os/i386/CentOS/lvm2-cluster-2.02.26-1.el5.i386.rpm
    #system config lvm
    wget -c http://linux.en.com.sg/centos/5.1/os/i386/CentOS/system-config-lvm-1.0.22-1.0.el5.noarch.rpm
    #cman download
    wget -c http://linux.en.com.sg/centos/5.1/os/i386/CentOS/cman-2.0.73-1.el5.i386.rpm
    #cman updated
    wget -c http://linux.en.com.sg/centos/5.1/updates/i386/RPMS/cman-2.0.73-1.el5_1.1.i386.rpm
    #cman-devel
    wget -c http://linux.en.com.sg/centos/5.1/os/i386/CentOS/cman-devel-2.0.73-1.el5.i386.rpm
    #cman devel updated
    wget -c http://linux.en.com.sg/centos/5.1/updates/i386/RPMS/cman-devel-2.0.73-1.el5_1.1.i386.rpm
    #rgmanager
    wget -c http://linux.en.com.sg/centos/5.1/os/i386/CentOS/rgmanager-2.0.31-1.el5.centos.i386.rpm
    #gnbd
    wget -c http://linux.en.com.sg/centos/5.1/os/i386/CentOS/gnbd-1.1.5-1.el5.i386.rpm
    #GFS
    wget -c http://linux.en.com.sg/centos/5.1/os/i386/CentOS/gfs-utils-0.1.12-1.el5.i386.rpm
    #gfs2 utils
    wget -c http://linux.en.com.sg/centos/5.1/os/i386/CentOS/gfs2-utils-0.1.38-1.el5.i386.rpm
    wget -c http://linux.en.com.sg/centos/5.1/os/i386/CentOS/modcluster-0.10.0-5.el5.centos.i386.rpm
    wget -c http://linux.en.com.sg/centos/5.1/os/i386/CentOS/oddjob-0.27-7.i386.rpm
    wget -c http://linux.en.com.sg/centos/5.1/os/i386/CentOS/oddjob-devel-0.27-7.i386.rpm
    wget -c http://linux.en.com.sg/centos/5.1/os/i386/CentOS/oddjob-libs-0.27-7.i386.rpm
    wget -c http://linux.en.com.sg/centos/5.1/os/i386/CentOS/device-mapper-1.02.20-1.el5.i386.rpm

Anuj.

Posted in Linux | Tagged | Leave a comment

Hello World!!

JAI BAJRANGBALI.

Hello world.

Posted in Anuj | Tagged | Leave a comment