ESC CenterOS 安裝圖形化介面
阿新 • • 發佈:2018-11-27
預設ESC CenterOS 是沒有安裝圖形化介面的,這裡我們採用官方安裝圖形化方法 install_vnc_server.sh 指令碼
1.下載install_vnc_server.sh指令碼
可以在阿里官方去下載,這個指令碼是針對大多是Linux核心系統的,不只是CenterOS
2.下載putty
輸入ESC的公網地址進入CenterOS系統,輸入使用者名稱和密碼進入控制檯介面
3.執行install_vnc_server.sh指令碼檔案
a.新建install_vnc_server.sh檔案 vi install_vnc_server.sh
b.將下載的install_vnc_server.sh檔案內容拷貝到新建的install_vnc_server.sh檔案中去,儲存
c.執行install_vnc_server.sh指令碼 bash install_vnc_server.sh
這樣 就開始不斷的下載所需要的檔案
4.VNC配置
a.啟動vncserver 命令vncserver
b.配置vnc password 命令 vncpasswd
5.連線vnc圖形化介面
a.下載vnc viewer
b.輸入公網的IP地址和對應 的密碼就連線成功
6.安裝Apache
a.檢查Apache時候存在 rpm -qa httpd(Apache在Linux名字)
如果沒有返回資訊說明沒有安裝,有的話檢查資訊看是否安裝
b.yum install httpd -y 安裝Apache