IT/리눅스&서버

VirtualBox로 Linux환경 구성하기 (CentOS)

린지:) 2021. 10. 12. 21:57

1. VirtualBox 설치

https://www.virtualbox.org/wiki/Downloads

 

Downloads – Oracle VM VirtualBox

Download VirtualBox Here you will find links to VirtualBox binaries and its source code. VirtualBox binaries By downloading, you agree to the terms and conditions of the respective license. If you're looking for the latest VirtualBox 6.0 packages, see Virt

www.virtualbox.org

Windows hosts 클릭 -> 다운로드 후 설치

 

 

1-1. 설치 후 VirtualBox 기본 설정 셋팅

환경설정 -> 입력 -> 가상머신(M)탭 선택 -> 호스트 키 조합 "Ctrl+Alt" 값으로 셋팅

 

업데이트 -> 업데이트 찾기 체크박스 체크 해제

 

 

네트워크 ->네트워크 추가 (별도 셋팅 X)

 

확인!

 

2. CentOS 설치

 

https://www.centos.org/download/

 

Download

As you download and use CentOS Linux or CentOS Stream (What's the difference?), the CentOS Project invites you to be a part of the community as a contributor. There are many ways to contribute to the project, from documentation, QA, and testing to coding c

www.centos.org

7(2009)탭 -> x86_64 클릭

 

 

..navercorp.. 클릭

 

CentOS-7-x86_64-Minimal-2009.iso 다운로드

 

2-1. virtualbox에 CentOS 만들기

새로만들기 -> Linux 서버정보 입력후 다음

 

 

하드디스크 -> 지금 새 가상 하드 디스크 만들기

 

VHD(가상 하드 디스크) 선택 -> 다음

 

 

동적 할당 선택 -> 다음 하면 리눅스 서버 생성

 

2-2. CentOS 추가 설정하기

설정 -> 일반 -> 고급

클립보드 공유 / 드래그 앤 드롭 양방향 셋팅

 

시스템 -> 마더보드 부팅순서에서 플로피 지우기

 

 

시스템 -> 프로세서 CPU 4개로 늘림

 

 

저장소 -> 광학드라이브 -> 디스크파일 선택

다운받은 CentOS iso 파일 선택 -> 확인

 

 

네트워크 위와같이 셋팅

 

셋팅을 다 마치고 시작을 누르면

 

위와같이 뜨게되면 설치되기 시작함 / english 선택

date & time 서울로 변경

 

installation destination 클릭 -> done

 

Network & Host name -> Ethernet On으로 변경 -> Done -> Begin Installation 클릭 후 설치

 

ROOT PASSWORD 셋팅

 

 

설치 완료 후 Reboot 클릭!

 

linux 나온 화면에서 root / 설정한 비밀번호 입력하면 CentOS 설치 및 로그인 완료!