Saturday, March 31, 2012

 

ruby 1.9.2 on rhel 5.x


echo insecure >> ~/.curlrc
curl -L get.rvm.io | bash -s stable
source /usr/local/rvm/scripts/'rvm'
yum --disableexcludes=all install m4 make gcc -y
cd /tmp
wget http://ftp.gnu.org/gnu/autoconf/autoconf-2.63.tar.gz
tar -xvvzf autoconf-2.63.tar.gz
cd autoconf-2.63
./configure
make -j4
make install
ln -s /usr/local/bin/autoconf /usr/bin/autoconf
autoconf --version
rm -rf autoconf-2.6.3

rvm pkg install zlib
rvm pkg install openssl
rvm install 1.9.2

/usr/local/rvm/rubies/ruby-1.9.2-p320/bin/gem install chef

mkdir -p /etc/chef/




reference:
http://blog.nexcess.net/2011/08/28/installing-rvm-on-centos-5/

Monday, March 12, 2012

 

aix disk space

# find / -xdev -type file -ls | sort +rn6 | head

Then do research on each of the larger
files, and find out what you need to do to
trim/truncate them.

lspv shows the physical volume attrs

also.. to change size of the filesystem

chfs -asize=+1G /some/FS


and for jfs2, you can also decrease size:

chfs -asize=-500M /file/system


without + or -, you set the desired size:

chfs -asize=2G /some/other/FS

This page is powered by Blogger. Isn't yours?