ABOUT ME

-

Today
-
Yesterday
-
Total
-
  • Ubuntu에 설치할 개발 툴
    기타 2016. 7. 4. 07:37
    728x90

    AWS에서 서버를 한대 얻었으니, 설치된 ubuntu에 필요한 것들을 설치합입니다

    OS : Ubuntu 14.04 LTS

    • git / 빠질 수 없겠죠 ^^
      • sudo apt-get install git
    • python / python은 2/3 모두 설치되어 있네요.
      • python <- python2
      • python3 <- python3
    • JDK : 오라클의 jdk는 apt-get 으로 설치할 수가 없으니, 따로 설치해야 합니다
      • sudo add-apt-repository ppa:webupd8team/java
        • jdk8을 지원하는 저장소를 추가합니다
      • sudo apt-get update
      • sudo apt-get install oracle-java8-installer
    • docker
      • sudo apt-get install docker
        • 이렇게 설치해서 쉽게 쓰면 좋겠지만, docker search 가 안되는 버그가 있는 이전버전이 설치됩니다. - -ㅋ
      • curl -s https://get.docker.com/ | sudo sh
        • 이렇게 최신버전 설치
      • sudo usermod -aG docker skysign
    • maven
      • sudo apt-get install maven
    • firefox : selenium을 실행하는대 필요합니다
      • sudo apt-get install firefox
    • skysign 사용자를 추가
      • adduser skysign
      • .ssh/auxxxx 파일 카피 or 키를 만들어주고
      • sudo usermod -aG adm skysign
      • sudo usermod -aG sudo skysign
    • 서버 시간 설정
      • http://ora-sysdba.tistory.com/entry/Cloud-Computing-Amazon-EC2-%EC%9D%B8%EC%8A%A4%ED%84%B4%EC%8A%A4%EC%9D%98-TIMEZONE-%EB%B3%80%EA%B2%BD
    • Samba 설정
      • 을 해보려고 했으나, 어디서 안되는지 잘 모르겠어서.. ftp 로 변경
    • ftp 설정
      • security group 에 port 21번 열고
      • http://ggang9.tistory.com/25
    • locale 설정
      • AWS는 en_US가 기본으로 되어 있음
      • https://jhseo64.wordpress.com/2012/10/26/ucloud-server%EC%97%90-%EC%9A%B0%EB%B6%84%ED%88%AC-%EC%84%A4%EC%B9%98-%ED%9B%84-utf-8-%ED%95%9C%EA%B8%80-%EC%84%A4%EC%A0%95%ED%95%98%EA%B8%B0/
      • 설정하고 나서, 다시 로그인 해야함
    • putty 설정
      • ppk키로 ssh로그인 하는건, aws문서에 잘 설명 되어 있는대, 한글 깨지는 것에 대한 설명이 없음
      • Window -> Translation -> Remote character set : 기본값이 usb font encoding 임
      • 이것을 UTF-8 로 변경해야함, 당연히 바로위에서 적었듯이, locale UTF-8로 변경하고 해야함
    • vim 인코딩 utf-8로 변경
      • ~/.vimrc 에 2줄 추가
      • set encoding=utf-8
      • set fileencodings=utf-8
    • XWindow실행 후, 윈도우에서 접속하기
      • https://medium.com/@joseison/running-ubuntu-desktop-gui-aws-ec2-instance-on-windows-3d4d070da434#.vi8ivvbgb
      • vncserver의 해상도는 기본 1024x768
      • vncserver -geometry 1280x1024 :1
        • 1280x1024로 해상도 변경하기
    • cron 로그 켜기
      • 기본적으로 크론으로 실행되는 명령의 로그는 syslog 에 추가 되지 않고,
      • 크론 명령이 실행되었다는 것만, syslog 에 추가된다
      • http://askubuntu.com/questions/56683/where-is-the-cron-crontab-log


    728x90
Designed by Tistory.