분류 전체보기
-
(manual 이 아닌) genkernel을 사용해 자동으로 Linux kernel을 빌드하고 설치해보자. Installing the sources 적절한 kernel 소스를 선택하고 설치한다. (chroot) root # emerge --ask sys-kernel/gentoo-sources 먼저, 모든 설치된 kernel 목록을 확인하자 (chroot) root # eselect kernel list Available kernel symlink targets: [1] linux-5.15.19-gentoo 한 개뿐이다. 의심하지 마라. 한 개 설치했으면 한 개만 있다. linux라 불리는 symbolic link를 생성한다. (chroot) root # eselect kernel set 1 (chroot..
[Gentoo] Gentoo Handbook: Installation (5) Configuring the Linux kernel(manual 이 아닌) genkernel을 사용해 자동으로 Linux kernel을 빌드하고 설치해보자. Installing the sources 적절한 kernel 소스를 선택하고 설치한다. (chroot) root # emerge --ask sys-kernel/gentoo-sources 먼저, 모든 설치된 kernel 목록을 확인하자 (chroot) root # eselect kernel list Available kernel symlink targets: [1] linux-5.15.19-gentoo 한 개뿐이다. 의심하지 마라. 한 개 설치했으면 한 개만 있다. linux라 불리는 symbolic link를 생성한다. (chroot) root # eselect kernel set 1 (chroot..
2022.06.24 -
Chrooting Copy DNS info root # cp --dereference /etc/resolv.conf /mnt/gentoo/etc/ Mounting the necessary filesystems (자세한 설명은 Handbook 참고) root # mount --types proc /proc /mnt/gentoo/proc root # mount --rbind /sys /mnt/gentoo/sys root # mount --make-rslave /mnt/gentoo/sys root # mount --rbind /dev /mnt/gentoo/dev root # mount --make-rslave /mnt/gentoo/dev root # mount --bind /run /mnt/gentoo/run..
[Gentoo] Gentoo Handbook: Installation (4) Installing base systemChrooting Copy DNS info root # cp --dereference /etc/resolv.conf /mnt/gentoo/etc/ Mounting the necessary filesystems (자세한 설명은 Handbook 참고) root # mount --types proc /proc /mnt/gentoo/proc root # mount --rbind /sys /mnt/gentoo/sys root # mount --make-rslave /mnt/gentoo/sys root # mount --rbind /dev /mnt/gentoo/dev root # mount --make-rslave /mnt/gentoo/dev root # mount --bind /run /mnt/gentoo/run..
2022.05.18 -
Installing a stage tarball Setting the date and time date: 현재 날짜와 시간을 확인한다. root # date Mon Oct 3 13:16:22 PDT 2021 Automatic ntpd: 자동으로 system clock을 UTC time으로 sync한다. root # ntpd -q -g Choosing a stage tarball Handbook을 읽어보고 본인에게 적당한 stage tarball을 선택하면 된다. 나는 Multilib, OpenRC를 선택했다. Downloading the stage tarball /mnt/gentoo: root file system이 mount된 곳으로 이동한다. root # cd /mnt/gentoo Command-li..
[Gentoo] Gentoo Handbook: Installation (3) Installing stage 3Installing a stage tarball Setting the date and time date: 현재 날짜와 시간을 확인한다. root # date Mon Oct 3 13:16:22 PDT 2021 Automatic ntpd: 자동으로 system clock을 UTC time으로 sync한다. root # ntpd -q -g Choosing a stage tarball Handbook을 읽어보고 본인에게 적당한 stage tarball을 선택하면 된다. 나는 Multilib, OpenRC를 선택했다. Downloading the stage tarball /mnt/gentoo: root file system이 mount된 곳으로 이동한다. root # cd /mnt/gentoo Command-li..
2022.05.17 -
🚀 도전하자 🔥 바쁘게 살자 🐌 열심히 살자 🌼 1학기 ☑ 개인 프로젝트 완성 (진행중) ☑ 개발 공부 - Spring(or boot) (진행중) ◻ solved.ac 골드 3 레벨 달성하기 ☑ C++ 공부하기 ◻ 리눅스 마스터 자격증 ☑ 전공 과목들 학점 각 B0 이상 ☑ 학점 평점평균 B+ 이상 ☑ 젠투 핸드북 정리하기 ([Gentoo] Gentoo Handbook: Installation)
2022년 상반기 목표🚀 도전하자 🔥 바쁘게 살자 🐌 열심히 살자 🌼 1학기 ☑ 개인 프로젝트 완성 (진행중) ☑ 개발 공부 - Spring(or boot) (진행중) ◻ solved.ac 골드 3 레벨 달성하기 ☑ C++ 공부하기 ◻ 리눅스 마스터 자격증 ☑ 전공 과목들 학점 각 B0 이상 ☑ 학점 평점평균 B+ 이상 ☑ 젠투 핸드북 정리하기 ([Gentoo] Gentoo Handbook: Installation)
2022.03.18 -
가장 중요한 부분이라고도 할 수 있는 partition을 설정하는 파트이다. 이 파트의 설명은 Handbook을 한 번쯤 읽어보는 것도 좋다. Introduction to block devices Partition tables Linex 시스템에 분할되지 않은 disk를 그냥 사용할 수도 있지만, 실제로 거의 그렇게 하지는 않는다. 대신, disk block devices 더 작고 더 관리하기 쉬운 block devices로 분할된다. amd64(x86, ...) 시스템에서, 이것을 partition이라 부른다. 현재, 2가지 표준 partitioning 기법이 사용되고 있다: MBR(DOS disklabel)과 GPT이다. 각각 legacy BIOS boot 그리고 UEFI boot process를 적..
[Gentoo] Gentoo Handbook: Installation (2) Preparing the disks가장 중요한 부분이라고도 할 수 있는 partition을 설정하는 파트이다. 이 파트의 설명은 Handbook을 한 번쯤 읽어보는 것도 좋다. Introduction to block devices Partition tables Linex 시스템에 분할되지 않은 disk를 그냥 사용할 수도 있지만, 실제로 거의 그렇게 하지는 않는다. 대신, disk block devices 더 작고 더 관리하기 쉬운 block devices로 분할된다. amd64(x86, ...) 시스템에서, 이것을 partition이라 부른다. 현재, 2가지 표준 partitioning 기법이 사용되고 있다: MBR(DOS disklabel)과 GPT이다. 각각 legacy BIOS boot 그리고 UEFI boot process를 적..
2022.03.07 -
Automatic network detection ifconfig command 네트워킹이 설정되었다면, ifconfig 명령어로 네트워크 인터페이스를 확인할 수 있다. root # ifconfig Testing the network ping을 통해 네트워크를 테스트한다. ping -c 3 www.gentoo.org Automatic network configuration 네트워크가 즉시 실행되지 않는다면, 설치를 해준다. Default: Using net-setup root # net-setup eth0 ifconfig에서 확인한 네트워크 인터페이스의 이름을 eth0 자리에 넣는다. net-setup 이 끝나면, 네트워크 연결은 잘 작동할 것이다. 네트워크 연결을 테스트하고, 결과가 정상이라면 Prep..
[Gentoo] Gentoo Handbook: Installation (1) Configuring the networkAutomatic network detection ifconfig command 네트워킹이 설정되었다면, ifconfig 명령어로 네트워크 인터페이스를 확인할 수 있다. root # ifconfig Testing the network ping을 통해 네트워크를 테스트한다. ping -c 3 www.gentoo.org Automatic network configuration 네트워크가 즉시 실행되지 않는다면, 설치를 해준다. Default: Using net-setup root # net-setup eth0 ifconfig에서 확인한 네트워크 인터페이스의 이름을 eth0 자리에 넣는다. net-setup 이 끝나면, 네트워크 연결은 잘 작동할 것이다. 네트워크 연결을 테스트하고, 결과가 정상이라면 Prep..
2022.03.07