您好,登錄后才能下訂單哦!
Linux如何初始化環(huán)境,相信很多沒有經(jīng)驗(yàn)的人對(duì)此束手無策,為此本文總結(jié)了問題出現(xiàn)的原因和解決方法,通過這篇文章希望你能解決這個(gè)問題。
sudo vi /etc/apt/sources.list deb http://raspbian.raspberrypi.org/raspbian/ buster main contrib non-free rpi deb-src https://mirrors.tuna.tsinghua.edu.cn/raspbian/raspbian/ buster main contrib non-free rpi deb-src https://mirrors.neusoft.edu.cn/raspbian/raspbian/ buster main contrib non-free rpi
sudo apt update && sudo apt upgrade
安裝好后,默認(rèn)顯示容量是小于實(shí)際容量的,需手動(dòng)擴(kuò)展文件系統(tǒng):
sudo raspi-config 7 Advanced Options -> A1 Expand Filesystem -> Finish
系統(tǒng)默認(rèn)root用戶是鎖定狀態(tài),因此如需要使用root操作,需要解鎖root:
# 重新設(shè)置root密碼 sudo passwd root # 解鎖root賬戶 sudo passwd --unlock root
sudo apt-get purge tightvnc xrdp sudo apt-get install tightvncserver xrdp
看完上述內(nèi)容,你們掌握Linux如何初始化環(huán)境的方法了嗎?如果還想學(xué)到更多技能或想了解更多相關(guān)內(nèi)容,歡迎關(guān)注億速云行業(yè)資訊頻道,感謝各位的閱讀!
免責(zé)聲明:本站發(fā)布的內(nèi)容(圖片、視頻和文字)以原創(chuàng)、轉(zhuǎn)載和分享為主,文章觀點(diǎn)不代表本網(wǎng)站立場(chǎng),如果涉及侵權(quán)請(qǐng)聯(lián)系站長(zhǎng)郵箱:is@yisu.com進(jìn)行舉報(bào),并提供相關(guān)證據(jù),一經(jīng)查實(shí),將立刻刪除涉嫌侵權(quán)內(nèi)容。