安裝ubuntu系統後初始化配置

安裝完成後默認普通用戶登陸 設置root用戶密碼(至少6位):web $ sudo passwd root 設置ssh的root權限:ubuntu # vim /etc/ssh/sshd_config 設置PermitRootLogin爲yes # service ssh restart 關閉防火牆:vim # ufw disable 配置靜態IP:服務器 # ip route show 獲取網卡
相關文章
相關標籤/搜索