linux系統:Centos6.5 1.首先確定是不是圖形化界面: yum -y groupinstall Desktop "X Window System" chinese-support 2.先備份數據: cd /etc/yum.repos.d/(進入對應文件夾)→mv CentOS-Base. ...
linux系統:Centos6.5
1.首先確定是不是圖形化界面:
yum -y groupinstall Desktop "X Window System" chinese-support
2.先備份數據:
cd /etc/yum.repos.d/(進入對應文件夾)→mv CentOS-Base.repo CentOS-Base.repo.bak(備份文件)
3.下載對應版本的rpm包,我的是64位的所以是這樣:
rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
32的就是:rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
4.生成緩存:
yum clean all →yum makecache
5.開始安裝:
yum -y install xrdp tigervnc-server
6.啟用服務:
/etc/init.d/xrdp start
service xrdp start
到現在Windows就可以遠程連接linux了,但是一般防火牆會攔截,所以把防火牆關掉就可以了
關閉防火牆:service iptables stop