初學debian,下載安裝了這個180MB的debian安裝包安裝在vmware里http://www.debian.org/distrib/netinst根據安裝向導創建了一個新賬戶。只后用新賬戶登錄,安裝nginxapt-getinstallnginx提示:Couldnotopenlockfile/var/lib/dpkg/lock-open(13:permissiondenied)Unabletolocktheadministrationdirectory(/var/lib/dpkg),areyouroot?既然提示沒權限,我就用sudoapt-getinstallnginx,但是就出現了sudo:commandnotfound然后呢,然后我就不知道怎么辦了。。。
安裝debian小型映像,執行包含sudo的命令提示command not found
慕田峪9158850
2019-04-06 08:32:01