Custom Search

Friday, January 20, 2012

netbeans Solved Editor Garbled Text

Add  "-J-Dsun.java2d.pmoffscreen=false" to 
"netbeans_default_options"
in netbeans.conf file

Usa locate command to find netbeans.conf
[saju@localhost ~]$ locate netbeans.conf
/usr/local/netbeans-6.5/etc/netbeans.conf

Before
netbeans_default_options="-J-client -J-Xverify:none -J-Xss2m
-J-Xms32m -J-XX:PermSize=32m -J-XX:MaxPermSize=200m
-J-Dapple.laf.useScreenMenuBar=true
-J-Dsun.java2d.noddraw=true"

After
netbeans_default_options="-J-client -J-Xverify:none -J-Xss2m
-J-Xms32m -J-XX:PermSize=32m -J-XX:MaxPermSize=200m
-J-Dapple.laf.useScreenMenuBar=true
-J-Dsun.java2d.noddraw=true -J-Dsun.java2d.pmoffscreen=false"

Friday, January 6, 2012

how to upgrade to new version of eucalyptus

1) Stop all services
# service eucalyptus-common stop
# service eucalyptus stop
# service eucalyptus-nc stop
# service eucalyptus-dc stop
# service eucalyptus-sc stop
# service eucalyptus-cc stop

2) Remove eucalyptus 2.0.2 (old version)
# apt-get remove eucalyptus-common
# apt-get remove eucalyptus*

3) add reop of new eucalyptus 2.0.3
http://wiki.almende.com/index.php/Eucalyptus
# vim /etc/apt/sources.list
deb http://eucalyptussoftware.com/downloads/repo/eucalyptus/2.0.3/debian/
squeeze main

4) do update
# apt-get update

5) Install eucalyptus 2.0.3
# apt-get install eucalyptus-cloud eucalyptus-cc eucalyptus-walrus eucalyptus-sc

6) Check version
# vim /etc/eucalyptus/eucalyptus-
version

7) Some usefull commands

# apt-get -f install
# sudo killall -9 dpkg
# sudo killall -9 apt-get
# apt-get update
# dpkg --configure -a