Skip to content

Instantly share code, notes, and snippets.

@rurumimic
Last active September 18, 2019 07:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rurumimic/0f9be69e031983665e35d59ef399a51f to your computer and use it in GitHub Desktop.
Save rurumimic/0f9be69e031983665e35d59ef399a51f to your computer and use it in GitHub Desktop.
Setup Ubuntu Server

우분투 설치할 것

  1. apt install aptitude
  2. aptitude update, upgrade
  3. build-essential
  4. emacs
  5. tree
  6. git

우분투 서버 맥에 연결하는 법

  1. 우분투 서버 설치
  2. VM Setting - Network Adapter - Internet Sharing - Share with my Mac
  3. openssh-server 설치
  4. ifconfig로 ip확인
  5. 맥 터미널에서 ssh username@ip 로 접속

우분투 한글 설정

  • sudo aptitude install language-pack-ko
  • sudo emacs /etc/environment
    • LANG="ko_KR.UTF-8"
    • LANGUAGE="ko_KR:ko:en_US:en"
  • sudo emacs /etc/profile
    • LANG="ko_KR.UTF-8"
    • export LC_ALL=ko_KR.UTF-8
  • sudo emacs /etc/default/locale
    • LANG="ko_KR.UTF-8"
    • LANGUAGE="ko_KR.UTF-8"
    • LANG_ALL="ko_KR.UTF-8"
  • sudo dpkg-reconfigure locales
  • 다시 로그인을 해보자!
@rurumimic
Copy link
Author

rurumimic commented Feb 2, 2018

export LC_ALL=ko_KR.UTF-8를 프로파일에서 해줘야 하나
아니면 locale 설정에 LC_ALL=ko_KR.UTF-8 만 넣어도 되려나

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment