henghost,恒创科技
colocrossing

CentOS 6安裝Xfce桌面、VNC、Firefox、Flashplayer

习惯了windows环境的人可能切换到linux比如centos下的时候不习惯,我们这里就介绍下在centos6.x下面安装桌面环境,具体安装:Xfce桌面、VNC、Firefox、Flashplayer,详细步骤入选:VPS系统为CentOS 6.x安装准备,为了避免在安装过程中出现Yum源下载的问题,请先执行一下升级。

yum -y update

0-4 CentOS 6安裝Xfce桌面、VNC、Firefox、Flashplayer
CentOS 6 VPS主机上安装VNC2.先安装tigervnc客户端,执行下列命令。

yum -y install tigervnc

0 CentOS 6安裝Xfce桌面、VNC、Firefox、Flashplayer

3.再安装tigervnc-server服务器,执行下列命令。

yum -y install tigervnc-server

1482753432554_8871_1482753435246 CentOS 6安裝Xfce桌面、VNC、Firefox、Flashplayer
CentOS 6 VPS主机上安装Xfce桌面4.安装Xfce,执行下列命令。

yum -y groupinstall xfce

1482753504764_1383_1482753507436 CentOS 6安裝Xfce桌面、VNC、Firefox、Flashplayer

CentOS 6 VPS主机上安装Firefox和Flashplayer5.直接执行下列命令即可完成Firefox和Flashplayer安装。

yum -y groupinstall chinese-support yum -y install firefox wget https://fpdownload.macromedia.com/get/flashplayer/pdc/11.2.202.332/install_flash_player_11_linux.x86_64.tar.gz
tar zxvf install_flash_player_11_linux.x86_64.tar.gz
mkdir -p ~/.mozilla/plugins/

cp libflashplayer.so ~/.mozilla/plugins/

1482753570778_3242_1482753573457 CentOS 6安裝Xfce桌面、VNC、Firefox、Flashplayer

开启VNC服务本机远程连接VPS主机6.执行下列命令后开启vncserver服务。第一次开启会要你设置一个密码。

  1. vncserver

1482753633375_8057_1482753636038 CentOS 6安裝Xfce桌面、VNC、Firefox、Flashplayer输入二次。
1482753639845_630_1482753642555 CentOS 6安裝Xfce桌面、VNC、Firefox、Flashplayer

7、执行下列代码,打开vncserver配置。

vim /etc/sysconfig/vncservers

1482753705749_5525_1482753708457 CentOS 6安裝Xfce桌面、VNC、Firefox、Flashplayer

8.在最后添加以下代码,保存。

VNCSERVERS=”1:root”

VNCSERVERARGS[1]=”-geometry 800×600 ”

1482753742719_2524_1482753745405 CentOS 6安裝Xfce桌面、VNC、Firefox、Flashplayer

9.执行以下命名重启vncserver。

service vncserver restart

1482753808616_320_1482753811311 CentOS 6安裝Xfce桌面、VNC、Firefox、Flashplayer
本站QQ群:812451114,discord群:https://discord.gg/YRNaXa4fgU