
CLI에서 우분투 GUI를 설치하는 방법
전제
확실하지 않은 경우 인터넷 등으로 확인하십시오.
CLI에서 Ubuntu GUI를 설치하는 방법만 설명합니다.
이 기사에서 사용한 환경
이름
상세
클라우드 서버
리노드
/리노드 플랜
Nanode 1GB
//우분투
v20.04 LTS
//RAM
1GB
//CPU
1
//스토리지
25GB
도입 절차
우분투 패키지를 업데이트합니다. 최신 보안 패치 및 버그 수정이 적용됩니다.
$ apt-get update && apt-get -y upgrade
# なんか色々と出てくる。もしエラーがでても基本的には問題ないので無視...
사용자를 추가합니다. (이미 사용자가 있는 경우에는 실행하지 않아도 됩니다.)user_name
를 사용자 이름으로 바꿉니다.
$ adduser user_name
Adding user `user_name' ...
Adding new group `user_name' (1002) ...
Adding new user `user_name' (1002) with group `user_name' ...
Creating home directory `/home/user_name' ...
Copying files from `/etc/skel' ...
Enter new UNIX password: # パスワード入力
Retype new UNIX password: # パスワード入力(確認)
passwd: password updated successfully
Changing the user information for user_name
Enter the new value, or press ENTER for the default
Full Name []: # Enter連打
Room Number []:
Work Phone []:
Home Phone []:
Other []:
Is the information correct? [Y/n] Y # Yes
필요한 사람 만 : sudo 그룹에 추가하여 관리자 권한을 부여합니다. (만약 초보자의 경우로 잘 모르는 경우는 셋업 완료해 어쩐지 실행할 때 에러가 발생해 실행할 수 없는 트러블을 피하기 위해 일단 실행해 두는 것을 추천한다)user_name
를 사용자 이름으로 바꿉니다.
$ adduser user_name sudo
ubuntu-desktop
설치
$ sudo apt-get -y install ubuntu-desktop
ubuntu-desktop 설치가 끝나면 다시 시작합니다.
불필요한 소프트웨어 삭제
libreoffice, thunderbird가 필요하지 않은 경우 다음과 같이 실행
sudo apt purge libreoffice*
sudo apt purge thunderbird*
sudo apt -y autoremove
sudo apt autoclean
GUI 표시하는 방법
표시하는 몇 가지 방법이 있습니다.
$ apt-get update && apt-get -y upgrade
# なんか色々と出てくる。もしエラーがでても基本的には問題ないので無視...
$ adduser user_name
Adding user `user_name' ...
Adding new group `user_name' (1002) ...
Adding new user `user_name' (1002) with group `user_name' ...
Creating home directory `/home/user_name' ...
Copying files from `/etc/skel' ...
Enter new UNIX password: # パスワード入力
Retype new UNIX password: # パスワード入力(確認)
passwd: password updated successfully
Changing the user information for user_name
Enter the new value, or press ENTER for the default
Full Name []: # Enter連打
Room Number []:
Work Phone []:
Home Phone []:
Other []:
Is the information correct? [Y/n] Y # Yes
$ adduser user_name sudo
$ sudo apt-get -y install ubuntu-desktop
sudo apt purge libreoffice*
sudo apt purge thunderbird*
sudo apt -y autoremove
sudo apt autoclean
