หลังจากติดตั้งใหม่ (ไม่เคยใช้ Debian มาก่อน) ค่อนข้างงงนิดหน่อย
สั่ง apt แล้วนิ่ง พบปัญหา
debian apt unable to locate package
หรือ อื่น ๆ
สรุปว่าต้องเพิ่ม List Server โดยเข้าไปแก้ไขไฟล์นี้
/etc/apt/sources.list
แล้วทำการเพิ่มข้อมูลชุดนี้
deb http://deb.debian.org/debian buster main contrib non-free deb-src http://deb.debian.org/debian buster main contrib non-free deb http://deb.debian.org/debian-security/ buster/updates main contrib non-free deb-src http://deb.debian.org/debian-security/ buster/updates main contrib non-free deb http://deb.debian.org/debian buster-updates main contrib non-free deb-src http://deb.debian.org/debian buster-updates main contrib non-free
ลองลงสั่ง
#apt update
#apt upgrade
ก็จะสามารถสั่ง ติดตั้ง ssh server ได้
#apt install openssh-server
ไม่มีความคิดเห็น:
แสดงความคิดเห็น