Install guide설치 안내

From a box of parts to a running home server in about an hour.부품 상자에서 돌아가는 집 서버까지, 1시간쯤이면 돼요.

Before you start, have the parts ready: ODROID-M1S, an M.2 2280 NVMe SSD and a network cable, plus an HDMI monitor and USB keyboard/mouse for the first setup. This guide follows the M1S; with another board only step 1 and 2 differ.시작하기 전에 준비물을 갖춰 주세요. ODROID-M1S, M.2 2280 NVMe SSD, 랜선, 그리고 처음 설치할 때 쓸 HDMI 모니터와 USB 키보드·마우스예요. 이 안내는 M1S 기준이고, 다른 보드라면 1·2단계만 달라요.

Step 11단계Assemble the hardware하드웨어 조립

  1. Put in the SSDSSD 끼우기

    With the power unplugged, open the case and slide the SSD into the M.2 slot at an angle, press it down and fix it with the screw.전원을 뺀 채로 케이스를 열고, SSD를 M.2 슬롯에 비스듬히 밀어 넣은 뒤 눌러서 나사로 고정하세요.

  2. Attach the 8" screen (optional)8인치 화면 달기 (선택)

    Connect the Vu8S cable to the board's MIPI-DSI connector and mount it with the brackets in its box. You'll switch the screen on in step 2.Vu8S 케이블을 보드의 MIPI-DSI 단자에 꽂고, 상자에 든 받침으로 고정하세요. 화면은 2단계에서 켜요.

  3. Plug in the cables선 연결

    Network cable to your router, HDMI monitor, USB keyboard and mouse. Plug in the USB-C power adapter last: the board turns on by itself.랜선은 공유기에, HDMI 모니터와 USB 키보드·마우스를 꽂으세요. USB-C 전원 어댑터를 마지막에 꽂으면 보드가 저절로 켜져요.

Step 22단계Install the operating system운영체제(OS) 설치

Every board installs its OS a little differently. The steps below are a summary for the ODROID-M1S: for the detailed steps, follow the board maker's guide.OS 설치 방법은 보드마다 조금씩 달라요. 아래는 ODROID-M1S 기준으로 줄인 것이니, 자세한 방법은 보드 제조사 안내를 참고해 주세요.
  1. Use the built-in installer보드에 들어 있는 설치 메뉴 쓰기

    A new M1S shows an installer menu on the HDMI screen. Pick Ubuntu 22.04 and let it install to the built-in eMMC, then reboot when it says so.새 M1S를 켜면 HDMI 화면에 설치 메뉴가 나와요. Ubuntu 22.04를 골라 보드 안의 eMMC에 설치하고, 끝나면 안내대로 재부팅하세요.

    Reinstalling, or the menu doesn't appear? Hardkernel's OS installation guide shows other ways, such as writing the image from a PC over USB.다시 설치하거나 메뉴가 나오지 않으면 하드커널의 운영체제 설치 안내에 PC에서 USB로 이미지를 쓰는 방법 등 다른 길이 있어요.

  2. Using another board?다른 보드라면?

    Install a 64-bit Ubuntu Server (or Debian) image as its maker describes, change the password and note the address as below, then go on to step 3. See other boards for which OS to pick.제조사 안내대로 64비트 Ubuntu Server(또는 Debian)를 설치하고, 아래처럼 비밀번호를 바꾸고 주소를 적어 둔 다음 3단계로 넘어가세요. 어떤 OS를 고를지는 다른 보드를 보세요.

  3. Log in and change the password로그인하고 비밀번호 바꾸기

    Hardkernel's images start with user odroid and password odroid. Change it right away, then bring the system up to date:하드커널 이미지는 사용자 odroid, 비밀번호 odroid로 시작해요. 바로 바꾸고 시스템을 최신으로 올리세요.

    passwd
    sudo apt update && sudo apt upgrade -y
  4. Turn on the 8" screen (only if you attached it)8인치 화면 켜기 (달았을 때만)

    Open /boot/config.ini and add display_vu8s to the overlays line, then reboot. Once the screen is on, the HDMI output is switched off./boot/config.ini를 열어 overlays 줄에 display_vu8s를 더하고 재부팅하세요. 화면이 켜지면 HDMI 출력은 꺼져요.

    sudo nano /boot/config.ini
    #   overlays="i2c0 i2c1"   →   overlays="i2c0 i2c1 display_vu8s"
    sudo reboot
  5. Note the board's address보드 주소 적어 두기

    The first number is the board's address on your home network, for example 192.168.0.20. From now on you can also log in from a PC with ssh odroid@<address>.처음 나오는 숫자가 집 네트워크에서 보드의 주소예요 (예: 192.168.0.20). 이제부터는 PC에서 ssh odroid@<주소>로 들어가도 돼요.

    hostname -I
    Give the board a fixed address in your router's DHCP settings so the dashboard address never changes. You can also set one later under Network settings on the dashboard: if the board can't be reached at the new address, it goes back to the old setting by itself after 2 minutes.공유기 DHCP 설정에서 보드에 고정 주소를 주면 대시보드 주소가 바뀌지 않아 편해요. 나중에 대시보드 네트워크 설정에서 정해도 돼요. 새 주소로 연결이 안 되면 2분 뒤 원래 설정으로 저절로 돌아가요.

Step 33단계Install MicroServer마이크로서버 설치

  1. Run one command명령 한 줄 실행

    curl -fsSL https://www.hongeuichan.com/microserver/install.sh | sudo sh

    This adds two signed package repositories (MicroServer and Cloudflare) and installs:서명된 패키지 저장소 두 곳(마이크로서버, Cloudflare)을 더하고 다음을 설치해요.

    • the dashboard on port 8800 and the automatic attack defense,8800 포트의 대시보드와 자동 공격 방어
    • cloudflared for Cloudflare Tunnel, and Docker,Cloudflare 터널용 cloudflared, Docker
    • a firewall that keeps SSH open and allows port 8800 only from home networks, SSH brute-force protection (fail2ban) and automatic security updates,SSH는 그대로 열어 두고 8800은 집 안 네트워크에만 여는 방화벽, SSH 비밀번호 맞히기 차단(fail2ban), 자동 보안 업데이트
    • the on-screen dashboard, if the 8" screen is on.8인치 화면이 켜져 있으면 화면용 대시보드

    Want to read it first? install.sh is a short script. Added the screen later? Run sudo apt install microserver-kiosk.먼저 읽어 보고 싶다면 install.sh는 짧은 스크립트예요. 화면을 나중에 달았다면 sudo apt install microserver-kiosk를 실행하세요.

  2. Open the dashboard대시보드 열기

    On a computer or phone on your home Wi-Fi, open http://<board-address>:8800. (With the 8" screen, the dashboard appears on it by itself.)집 와이파이에 연결된 컴퓨터나 휴대폰에서 http://<보드 주소>:8800을 여세요. (8인치 화면이 있으면 화면에 저절로 떠요.)

  3. Name the server and set a password서버 이름과 비밀번호 정하기

    The first time, the dashboard asks for a server name and a password (4–32 letters, numbers or _). This password opens the dashboard and the lock screen, and confirms reboot, shutdown and erasing disks. You can change it later in Settings.처음 열면 서버 이름과 비밀번호(영문·숫자·_ 4~32자)를 정해요. 이 비밀번호로 대시보드와 잠금 화면을 열고, 재부팅·종료·디스크 지우기를 확인해요. 나중에 설정에서 바꿀 수 있어요.

    The lock screen shows the system, attacks, disk, CPU · memory and outside access in the top-left corner as green (OK), yellow (worth a look) or red (problem) dots, so you can check the server without unlocking it. In Settings you can turn Auto lock (after 5 minutes) on or off, and on the 8" screen choose whether the Screen power turns off by itself after 30 minutes or stays on.잠금 화면 왼쪽 위에는 시스템·외부 공격·디스크·CPU·메모리·외부 연결 상태가 초록(정상)·노랑(살펴볼 것)·빨강(문제) 점으로 떠요. 그래서 잠금을 풀지 않아도 서버 상태를 알 수 있어요. 설정에서 자동 잠금(5분 뒤)을 켜고 끌 수 있고, 8인치 화면에서는 화면 끄기를 30분 뒤 자동으로 끌지, 항상 켜 둘지 고를 수 있어요.

  4. Prepare the SSDSSD 준비

    In the Data disk (SSD) card press Erase and use and enter the password. The SSD is formatted and mounted at /data, every time the board starts. Everything already on that SSD is deleted.데이터 디스크 (SSD) 카드에서 지우고 사용하기를 누르고 비밀번호를 넣으세요. SSD를 포맷해 /data에 연결하고, 켤 때마다 자동으로 붙어요. 그 SSD에 있던 내용은 모두 지워져요.

Step 44단계Put a service on the internet서비스를 인터넷에 공개

Skip this if the server is only for your home. You need a free Cloudflare account with your domain added to it.집 안에서만 쓸 거라면 건너뛰어도 돼요. 내 도메인을 등록한 무료 Cloudflare 계정이 필요해요.

  1. Create a tunnel터널 만들기

    In the Cloudflare dashboard open Zero Trust → Networks → Tunnels, create a tunnel of type Cloudflared and give it a name. Cloudflare shows an install command that contains a long token: copy it.Cloudflare 대시보드에서 Zero Trust → Networks → Tunnels로 가서 Cloudflared 방식 터널을 만들고 이름을 붙이세요. 긴 토큰이 들어 있는 설치 명령이 나오면 복사하세요.

    The token is a key to your tunnel. Don't share it or post it anywhere.토큰은 내 터널의 열쇠예요. 남에게 주거나 어디에 올리지 마세요.
  2. Connect it on the dashboard대시보드에서 연결

    Paste the token, or the whole command, into the Cloudflare Tunnel card and press Connect. The card turns to Connected within a few seconds.Cloudflare 터널 카드에 토큰(또는 명령 전체)을 붙여넣고 연결을 누르세요. 몇 초 안에 연결됨으로 바뀌어요.

  3. Run a service서비스 띄우기

    Anything that listens on a port works: a web server, your own API, a Docker container. For example, a test web page on port 8080:포트에서 기다리는 프로그램이면 무엇이든 돼요. 웹 서버, 직접 만든 API, Docker 컨테이너 등. 예를 들어 8080 포트에 시험용 웹 페이지를 띄우면:

    sudo docker run -d --name hello --restart unless-stopped -p 8080:80 nginx
  4. Give it a public address공개 주소 붙이기

    In your tunnel's Public Hostname tab add a hostname, for example hello.your-domain.com, with service type HTTP and URL localhost:8080. Open the address in a browser: it already has HTTPS.터널의 Public Hostname 탭에서 호스트 이름을 추가하세요. 예: hello.내도메인.com, 서비스 종류 HTTP, URL localhost:8080. 브라우저로 열면 이미 HTTPS가 붙어 있어요.

    Use HTTP, not HTTPS, for the service: Cloudflare adds HTTPS for visitors, and the tunnel itself is encrypted. Never point a hostname at port 8800 (the dashboard).서비스 종류는 HTTPS가 아니라 HTTP로 하세요. 방문자 쪽 HTTPS는 Cloudflare가 붙이고, 터널 자체도 암호화돼 있어요. 대시보드인 8800 포트에는 절대 연결하지 마세요.

    The address then appears under Public addresses on the dashboard, with the days left on its certificate. Cloudflare renews certificates automatically.그러면 대시보드 공개 주소에 그 주소와 인증서 남은 날이 보여요. 인증서는 Cloudflare가 알아서 갱신해요.

Step 55단계Premium and your phone프리미엄과 휴대폰 연결

The phone app, app statistics and the security tools come with MicroServer Premium. Run this on the board and paste the licence key from your email when it asks:휴대폰 앱·앱 통계·보안 기능은 마이크로서버 프리미엄에 들어 있어요. 보드에서 아래 명령을 실행하고, 키를 물으면 메일로 받은 라이선스 키를 붙여 넣으세요.

curl -fsSL https://www.hongeuichan.com/microserver/install-premium.sh | sudo sh

Then add one more public hostname for the app (service HTTP, URL localhost:8801) and pair your phone with a QR code. See the phone app guide.그다음 앱용 공개 호스트 이름을 하나 더 만들고(서비스 HTTP, URL localhost:8801) QR 코드로 휴대폰을 연결하세요. 휴대폰 앱 안내를 보세요.

Later그 뒤에Updates and removal업데이트와 삭제

MicroServer updates come through apt with the rest of the system. The dashboard shows its version at the bottom.마이크로서버 업데이트는 다른 시스템 패키지와 함께 apt로 받아요. 대시보드 맨 아래에 버전이 나와요.

sudo apt update && sudo apt upgrade -y

To remove it (purge also deletes its settings, the paired phones and its firewall rules):지우려면 아래처럼 하세요 (purge는 설정·연결한 휴대폰·방화벽 규칙까지 지워요).

sudo apt purge microserver-premium microserver microserver-kiosk