리눅스/OS 설정

[Ubuntu] Local repository 구성

ㅎㄷㄹㅁㅇ 2021. 7. 20. 10:17
반응형

 

Ubuntu 21.04 Local repository 구성

구성 버전

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=21.04
DISTRIB_CODENAME=hirsute
DISTRIB_DESCRIPTION="Ubuntu 21.04"

 

ISO Image 

ubuntu-21.04-live-server-amd64.iso

 

 

 

Local Repository 구성

root@ubuntu2104:~# mkdir /mnt/repo

root@ubuntu2104:/# mount -o loop /dev/sr0 /mnt/repo/

root@ubuntu2104:/# vi /etc/apt/sources.list
deb file:/mnt/repo hirsute main

E: The repository ‘file:/mnt/repo hirsute Release’ does not have a Release file.

root@ubuntu2104:/# vi /etc/apt/sources.list
deb [trusted=yes] file:/mnt/repo hirsute main # [trusted=yes] add

 

 

반응형
TOP