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
使用CentOS作為伺服器主機,完整架設流程
Slow HTTP Denial of Service Attack 是以非常緩慢的速度進行http請求,霸佔伺服器服務,達到癱瘓伺服器的目的,解決方式即是設定 Timeout
對於 MySQL 資料庫資料操作的基本語法大全
WAMP出現error msvcr120.dll msvcr110.dll錯誤
Composer在更新時使用GitHub超過速率限制