1. 패키지 업데이트

etc/apt/source.list - 패키지 들어있는 소스

source.list -> https://gist.github.com/h0bbel/4b28ede18d65c3527b11b12fa36aa8d1 

:%s/kr.archive.ubuntu.com/ftp.daumkakao.com

 

2. ubuntu tui - 데스크탑 설치

 -  1. sudo apt install tasksel - 우분투 gui 환경설정 창

 -  2. sudo apt install lubuntu-desktop - 우분투 gui 설치

       (2번 방법으로 설치 다하고 재부팅하면 루분투 설치 완료)

       (3번 방법은 tasksel GUI로 체크 해서 설치하는 방식 2번 완료하면 할 필요 없음)

-   3. $ tasksel - 실행 lubuntu-desktop 체크 확인 -> 재부팅


 

3. 레이드 마운트

3.1 sudo parted /dev/sdb - 디스크 선택

3.2 mklabel gpt - 2테라 이상 - gpt

                       2테라 미만 - fdisk

3.3 mkdir - 마운트 시킬 폴더 생성

3.4 blkid - 생성 되었는지 확인

3.5 sudo mkfs.exe4 /dev/sdb1 - 만든 파티션 포맷

블로그 이미지

_B_G_

,


업데이트 서버는 기본적으로


Kr.archive.ubuntu.com 으로 되어있으나


그대로 사용 할 경우 서버 통신이 안되는 경우가 있음 그래서


다른 주소로 업데이트 받을것.


주소 변경 파일


sudo vi /etc/apt/sources.list


":"를 눌러서 명령어 입력모드 


:%s/현재있는문자열/바꾸고싶은문자열

:%s/kr.archive.ubuntu.com/ftp.daumkakao.com


하면 끝.

 

 

--------------------------18.04 서버 sources.list 내용-----------------------------

 

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://us.archive.ubuntu.com/ubuntu/ bionic main restricted
# deb-src http://us.archive.ubuntu.com/ubuntu/ bionic main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://us.archive.ubuntu.com/ubuntu/ bionic-updates main restricted
# deb-src http://us.archive.ubuntu.com/ubuntu/ bionic-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://us.archive.ubuntu.com/ubuntu/ bionic universe
# deb-src http://us.archive.ubuntu.com/ubuntu/ bionic universe
deb http://us.archive.ubuntu.com/ubuntu/ bionic-updates universe
# deb-src http://us.archive.ubuntu.com/ubuntu/ bionic-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu 
## team, and may not be under a free licence. Please satisfy yourself as to 
## your rights to use the software. Also, please note that software in 
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://us.archive.ubuntu.com/ubuntu/ bionic multiverse
# deb-src http://us.archive.ubuntu.com/ubuntu/ bionic multiverse
deb http://us.archive.ubuntu.com/ubuntu/ bionic-updates multiverse
# deb-src http://us.archive.ubuntu.com/ubuntu/ bionic-updates multiverse

## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
# deb http://us.archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse
# deb-src http://us.archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu bionic partner
# deb-src http://archive.canonical.com/ubuntu bionic partner

deb http://security.ubuntu.com/ubuntu bionic-security main restricted
# deb-src http://security.ubuntu.com/ubuntu bionic-security main restricted
deb http://security.ubuntu.com/ubuntu bionic-security universe
# deb-src http://security.ubuntu.com/ubuntu bionic-security universe
deb http://security.ubuntu.com/ubuntu bionic-security multiverse
# deb-src http://security.ubuntu.com/ubuntu bionic-security multiverse

 

블로그 이미지

_B_G_

,

명령어 dmesg | grep -i eth

나온 결과 중 "renamed from eth0" 확인

 

명령어 sudo vi /etc/default/grub

GRUB_CMDLINE_LINUX=""     <- 공간에

GRUB_CMDLINE_LINUX="net.ifnames=0 biosdevname=0" 추가

 

명령어 sudo grub-mkconfig -o /boot/grub/grub.cfg

 

---------------------------------------------------------------------


& sudo vim /etc/netplan/50-cloud-init.yaml

network: ethernets: enp0s3: //위의 네트워크 설정을 해주었다면 위와 동일하게 이름 바꿔줘야함 dhcp4: false addresses: [192.168.0.100/24] // 아이피/넷마스크 gateway4: 192.168.0.1 //게이트웨이 nameservers: addresses: [8.8.8.8,8.8.4.4] //네임서버


sudo netplan apply

 

블로그 이미지

_B_G_

,