2011年8月3日 星期三

Nvidia Linux 64 bit driver installation on Fujitsu SH561 with CentOS 6

My office give me a new Fujitsu SH561 laptop. The preinstallation OS is Windows 7 profession. So I take the free HD space to make CentOS 6 installation. To build a twin system laptop.

But when the CentOS is installed, the display driver is set by the CentOS official's. The resolution is only 800x600 and make me bad view. So, I decide to take the Nvidia official drivers.

First, to go the Nvidia official site and the driver download page.
http://www.nvidia.com/Download/index.aspx?lang=en-us
Choosing your display card series,ex. GeForce 500M, card name, mine GT520M, operation system, mine Linux 64 bit, and the language.

Second, you need to close the GUI level 5 and run level 3 on the text mode. System calls close X server.

2011年7月12日 星期二

Karesansui (KVM, XEN web interface management tools) installation on Scientific Linux 5

To edit the install python file
[root@vt-121 ~]# vim Karesansui/installer/install.py



   # distribution check
    if ret is True:
        from installer.utils import get_distrubution
        type,version = get_distrubution()

        supported_os = False
        for _d,_v in SUPPORTED_DISTROS:
            #if type == "%s-release" % _d and version[0:len(_v)] == _v:
            #if type == "%s-release" % _d and re.compile(_v).search(version):
            supported_os = True
                #break
        #if supported_os is False:
            #print >>sys.stderr, _("ERROR: Your distribution is not supported by Karesansui.")
            #ret = False


2011年6月9日 星期四

homebrew uninstallation commands on mac OSX


cd `brew --prefix`
rm -rf Cellar
brew prune
rm -rf Library .git .gitignore bin/brew README.md share/man/man1/brew
rm -rf ~/Library/Caches/Homebrew

2011年6月8日 星期三

Git Newbie command

Global setup:

Download and install Git
  git config --global user.name "Your Name"
  git config --global user.email losehole@gmail.com
        

Next steps:

mkdir test
  cd test
  git init
  touch README
  git add README
  git commit -m 'first commit'
  git remote add origin git@github.com:YOURNAME/test.git
  git push -u origin master
      

Existing Git Repo?

cd existing_git_repo
  git remote add origin git@github.com:YOURNAME/test.git
  git push -u origin master
      

Add and Commit your new file

    git add NEWFILENAME
git commit -m 'NEW commit'  
    git push -u origin master

Gravatar- an avatar in your web account management


Maybe after the Avatar fever, the Gravatar is an avatar that can use the one avatar to log in or sign up different website service.

2011年6月3日 星期五


What is lxml?
lxml is a python tool that can process XML and HTML.
For the reason that I need to use the XMLRPC function, I use the lxml to process 
the requests and responses to call server function and feedback message.   
There are lazy script here:

#sudo port install libxml2 libxslt
#export PATH=/opt/local/bin:$PATH
#export CFLAGS='-flat_namespace'
#sudo easy_install lxml

2011年5月23日 星期一

Ubuntu install ganglia easy steps

At first, you need to build a LAMP architecture in your ubuntu server.

Luckily, we can easy install LAMP step by step and click option when the

Ubuntu installation.  LAMP = Linux Apache MySQL PHP


#sudo apt-get install ganglia-monitor ganglia-webfrontend
#sudo service gmetad start
#sudo service ganglia-monitor start


#sudo ln -s /usr/share/ganglia-webfrontend/ /var/www/ganglia


or


#sudo mv /usr/share/ganglia-webfrontend/ /var/www/ganglia

open browser and type URL   YOURIPorDOMAIN/ganglia


It work~!
 
創用 CC 授權條款