준비물 - 집에 남는 PC 

CPU - i5 750 (4core)

RAM - 12GB

HDD - 1TB

설치 버전 - ubuntu 20.04

설치 step1. ubuntu iso 다운로드 - https://ubuntu.com/download/desktop

설치 step2. rufus 다운로드 - https://rufus.ie/en/

설치 step3. rufus로 iso를 선택해서 설치용 usb 만듬

설치 step4. 설치 진행 - 이건 따로 적을게 없음.. 찾아보면 많기도 하고..

단지 나는 따로 파티션 안잡고 1TB를 ext4로 통으로 잡아서 진행함 

설치 완료 후 초기 세팅

 

패키지 업데이트

# apt-get update

 

vi설치(기본으로 깔려있는건 이상함)

# apt install vim

 

방화벽 해제
# ufw disable

 

netstat이 안되서 깔음
# apt install net-tools -y

 

ssh 설치(root 로긴할라믄 root passwd 만들어줘야함)
# apt install openssh-server
# systemctl enable ssh
# systemctl start ssh
# vi /etc/ssh/sshd_config
PermitRootLogin yes
# systemctl restart ssh

 

리모트데스크탑 설치(포트 3389)
# apt install xrdp
# systemctl enable xrdp
# systemctl start xrdp
# adduser xrdp ssl-cert
# vi /etc/xrdp/startwm.sh
 32 unset DBUS_SESSION_BUS_ADRESS
 33 unset XDG_RUNTIME_DIR
# systemctl restart xrdp

 

vnc도 깔아봤는데 기본적으로 내가 보고있는 화면이 아니라 vnc용 세션이 따로 만들어져서 화면 공유가 안됨.

그럴바에야 rdp쓰는것이 나을듯

'K8S' 카테고리의 다른 글

4. vm들 세팅  (0) 2022.04.05
3. bridge network 사용하기  (0) 2022.04.04
2. KVM 설치  (0) 2022.04.04

+ Recent posts