文章标签 » centos

backup:install virtualbox and vnc server on readhat/centos 6

__WIKI__
==Install pkg from yum==

yum install make gcc gcc-c++ kernel-devel qt qt-x11 libXmu SDL libXt
wget "http://download.virtualbox.org/virtualbox/4.2.4/VirtualBox-4.2-4.2.4_81684_el6-1.x86_64.rpm"
rpm -ivh Virtual*.rpm
yum install wqy-zenhei-fonts.noarch gnome-terminal gnome-session tigervnc-server

==VNC Server Config==
vim /etc/sysconfig/vncservers

#connect vnc with host:5902
VNCSERVERS="2:root"
VNCSERVERARGS[2]="-geometry 800x600"

set password for vnc server

vncpasswd

use gnome for X system

vim ~/.vnc/xstartup

#xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
#twm &
gnome-session &
gnome-terminal &

install proxy65 on centOS 5

再次对centos的python版本表示无语

wget http://www.python.org/ftp/python/2.6.6/Python-2.6.6.tar.bz2
tar jxvf Python-2.6.6.tar.bz2
cd Python-2.6.6
./configure --prefix=/opt/python26
make
make install

cd ..
#试过10.2.0版本,不能用。。。
wget http://tmrc.mit.edu/mirror/twisted/Twisted/10.1/Twisted-10.1.0.tar.bz2
tar jxvf Twisted-10.1.0.tar.bz2
cd Twisted-10.1.0
/opt/python26/bin/python setup.py install

cd ..
wget http://www.zope.org/Products/ZopeInterface/3.3.0/zope.interface-3.3.0.tar.gz
tar zxvf zope.interface-3.3.0.tar.gz
cd zope.interface-3.3.0
/opt/python26/bin/python setup.py install

cd ..
wget http://proxy65.googlecode.com/files/Proxy65-1.2.0.tar.gz
tar zxvf Proxy65-1.2.0.tar.gz
cd Proxy65-1.2.0
/opt/python26/bin/python setup.py install

#OK
/opt/python26/bin/python /opt/python26/bin/twistd proxy65 --jid=proxy.xxx.com --secret=secret --rhost=127.0.0.1 --rport=5347 --proxyips=127.0.0.1:7777

———–
post by gmail~