Archive for August, 2010

edit open files limit on solaris

Posted: 29th August 2010 by admin in Linux How to

add # Hard limit set rlim_fd_max = 65535 # Soft limit set rlim_fd_cur = 65535 to /etc/system

/export/home to /home on solaris

Posted: 28th August 2010 by admin in Linux How to

/export/home to /home on solaris add * -fstype=lofs :/export/home/& to /etc/auto_home

install openldap (compile) on centos x86_64

Posted: 9th August 2010 by admin in Linux How to

install bdb wget http://download.oracle.com/berkeley-db/db-4.8.30.tar.gz tar -xvzf db-4.8.30.tar.gz cd db-4.8.30/build_unix/ ../dist/configure –prefix=/usr/local make make install install openldap wget ftp://ftp.OpenLDAP.org/pub/OpenLDAP/openldap-stable/openldap-stable-20100719.tgz tar -xvzf openldap-stable-20100719.tgz cd openldap-* ./configure make depend make make install

soelim: command not found on centos x86_64

Posted: 9th August 2010 by admin in Linux How to

yum install groff.x86_64

install python 2.7 , gevent on centos 5 x86_64

Posted: 4th August 2010 by admin in Linux How to

# yum install gcc gcc-c++.x86_64 compat-gcc-34-c++.x86_64 openssl-devel.x86_64 zlib*.x86_64 install python 2.7 # wget http://www.python.org/ftp/python/2.7/Python-2.7.tar.bz2 # tar -xvjf Python-2.7.tar.bz2 # cd Python* # ./configure –prefix=/opt/python27 # make # make install # vi ~/.bash_profile replace PATH=$PATH:$HOME/bin with PATH=$PATH:$HOME/bin:/opt/python27/bin reload .bash_profile # source ~/.bash_profile # echo “/opt/python27/lib” > /etc/ld.so.conf.d/python27.conf # ldconfig install setuptool # cd ~ # wget […]