준비물
서버 PC준비하기
우분투 ISO 다운로드 :
https://www.ubuntu.com/download/desktop
부트가능 USB 만들기
다운로드 받은 ISO를 통해 부팅가능한 USB를 제작합니다.
Rufus는 USB키/펜드라이브, 메모리 스틱등의 USB 드라이버 포맷과 동시에 USB로 부팅할 수 있게 도와주는 유틸리티입니다.
이 프로그램은 다음과 같은 상황에서 유용하게 사용될 수 있습니다:
- 부팅가능한 ISO파일(윈도우, 리눅스, UEFI등)을 USB를 이용해서 설치하는 것이 필요할때
- OS가 설치되지 않은 시스템에서 작업해야 될 필요가 있을때
- 바이오스나 DOS 펌웨어의 플래쉬가 필요할때
- 로우레벨 유틸리티를 실행시키기를 원할때
OS 설치
USB를 통해 OS를 설치합니다.
인스톨은 UI를 통해 진행되며 기본값으로 진행하면 되겠습니다.
설치가 완료되면, 리눅스환경을 UI를 사용하여 활용이 가능하며
브라우져/오피스/탐색기등/gedit등 윈도우환경에서 사용하던
대응되는 어플리케이션들을 실해할수가 있습니다.
개인서버 메인 OS를 우분투를 선택한것은 가볍고/무료/UI 3가지요소를
가지고 있기때문입니다.
TeamView설치
원격처리를 위해서 TeamView를 우분투에 설치합니다.
파일전송및 UI원격제어등 여러모로 편리합니다.
https://www.teamviewer.com/ko/download/windows/
물론 원격에서 제어할 노트북 혹은 개인 PC에도 팀뷰어를 설치를 합니다.
VirtualBox 설치
https://www.virtualbox.org/wiki/Downloads
리눅스구동을 위해서는 우분투로도 충분합니다. 하지만 우리의 서비스는
독립된 가상의 리눅스 환경을 구동할것이며 ( UI가 없는 CentOS)
또한 독립된 가상의 윈도우 환경을(UI가 없는 경량화되고 무료 windowserver등)
홈PC서버 하나에 모두 구동을 시킬것입니다.
Oracle VirtualBox 5.1.20 has been released on Apr 18, 2017. Oracle VirtualBox 5.1.14 is the maintenance release of VirtualBox 5.1 which improves stability and fixes regression. See the ChangeLog for more details.
This article will help you to install Oracle VirtualBox on your Ubuntu 17.04, 16.10, 16.04 LTS, 14.04 LTS, 12.04 LTS and Debian 8/7 systems.
Step 1: Setup Apt Repository
Firstly edit /etc/apt/sources.list file and add one of the following lines according to your distribution to your system. You can find your system distribution codename using “lsb_release -c” command from a terminal.
For Ubuntu 17.04 ("Zesty")
deb http://download.virtualbox.org/virtualbox/debian zesty contrib
For Ubuntu 16.04 ("Xenial")
deb http://download.virtualbox.org/virtualbox/debian xenial contrib
For Ubuntu 14.04 ("Trusty")
deb http://download.virtualbox.org/virtualbox/debian trusty contrib
For Ubuntu 12.04 LTS ("Precise Pangolin")
deb http://download.virtualbox.org/virtualbox/debian precise contrib
For Debian 8 ("Jessie")
deb http://download.virtualbox.org/virtualbox/debian jessie contrib
For Debian 7 ("Wheezy")
deb http://download.virtualbox.org/virtualbox/debian wheezy contrib
Step 2: Setup Oracle public key
After adding required apt repository in your system, download and import the Oracle public key for apt-secure using following commands.
$ wget -q https://www.virtualbox.org/download/oracle_vbox_2016.asc -O- | sudo apt-key add -
$ wget -q https://www.virtualbox.org/download/oracle_vbox.asc -O- | sudo apt-key add -
Step 3: Install Oracle VirtualBox
After completing above steps, let’s install VirtualBox using following commands. If you have already installed any older version of VirtualBox, Below command will update it automatically.
$ sudo apt-get update
$ sudo apt-get install virtualbox-5.1
Step 4: Start VirtualBox
We can use dashboard shortcuts to start VirtualBox or simply run following command from a terminal.
$ virtualbox