Centos系統實例安裝遠端桌面,以GCP服務為例示範
安裝tigervnc
# yum install tigervnc-server -y
複製設定檔
# cp /lib/systemd/system/[email protected] /etc/systemd/system/vncserver@:1.service
設定新的設定檔
vi /etc/systemd/system/vncserver@:1.service
將檔案內改為root
設定密碼
# vncpasswd
啟動
# systmectl daemon-reload
# systemctl enable vncserver@:1.service
開防火牆
# firewall-cmd --permanent --add-port=5901/tcp
# firewall-cmd --reload
查詢目前可用的list
# vncserver -list
下載vncviewer
安裝完成後啟用程式
輸入ip:port
32.155.22.18:5901
如果是使用GCP服務,需要修改root密碼,避免遠端桌面沒有辦法登入
# passwd
WAMP出現error msvcr120.dll msvcr110.dll錯誤
reCAPTCHA是目前針對防範機器人最為有效的方式,廣泛使用在各政府機關、民間網站的網頁設計中,此篇文章教學申請取得金鑰步驟。
對於 MySQL 資料庫資料操作的基本語法大全
php顯示錯誤訊息Class 'ZipArchive' not found解決方式
CentOS 7 安裝後會自帶Python2,如果需要使用Python3則需要再另行安裝,安裝方式