2012년 4월 6일 금요일

Android 소스 받기

일단...안드로이드 사이트에 잘 정리 되어 있다.
http://source.android.com/source/downloading.html




  • Make sure you have a bin/ directory in your home directory, and that it is included in your path:
    $ mkdir ~/bin
    $ PATH=~/bin:$PATH
    
  • Download the Repo script and ensure it is executable:
    $ curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo > ~/bin/repo
    $ chmod a+x ~/bin/repo


  • 이하는 생략....

    아래 명령어 실행에서 에러가 나는 경우가 있다.

    repo init -u https://android.googlesource.com/platform/manifest


    git가 설치 되지 않아서 발생하는 문제이다.

    sudo apt-get install git 로 git 설치후 문제 해결!




















    2012년 4월 3일 화요일

    우분투 서버 초기 설정

    1. 고정IP 설정
    sudo vi /etc/network/interfaces
    ----------------------------------------------------------------------------------
    # and how to activate them. For more information, see interfaces(5).

    # The loopback network interface
    auto lo
    iface lo inet loopback

    # The primary network interface
    auto eth0
    #iface eth0 inet dhcp
    iface eth0 inet static
    address 192.168.0.71
    gateway 192.168.0.1
    netmask 255.255.255.0
    dns-nameservers 168.126.63.1 168.126.63.2
    ----------------------------------------------------------------------------------

    아래 실행하여 변경 내용 반영
    sudo /etc/init.d/networking restart

    2. SSH설정
    sudo apt-get install openssh-server
    sudo /etc/init.d/ssh restart
    sudo vi /etc/hosts.allow

    ----------------------------------------------------------------------------------
    #                   See the manual pages hosts_access(5) and hosts_options(5).
    #
    # Example:    ALL: LOCAL @some_netgroup
    #             ALL: .foobar.edu EXCEPT terminalserver.foobar.edu
    #
    # If you're going to protect the portmapper use the name "portmap" for the
    # daemon name. Remember that you can only use the keyword "ALL" and IP
    # addresses (NOT host or domain names) for the portmapper, as well as for
    # rpc.mountd (the NFS mount daemon). See portmap(8) and rpc.mountd(8)
    # for further information.
    #
    sshd 192.168.0.2

    ----------------------------------------------------------------------------------

    3. ssh툴에서 언어 UTF-8로 변경


    4. sudo apt-get install mysql-server

    5. sudo vi /etc/mysql/my.cnf
    bind address 찾아 주석 처리

    6. FTP설정
    sudo apt-get install vsftp

    필요한 옵션 편집
    sudo vi /etc/vsftpd.conf
    local_eable=YES

    서비스 재시작
    sudo /etc/init.d/vsftpd restart

    2024년 첫번째 도서 리뷰 GPT-4를 활용한 인공지능 앱 개발

     "한빛미디어 <나는 리뷰어다> 활동을 위해서 책을 제공받아 작성된 서평입니다." 24년 첫 도서 리뷰이다. 작년까지? 한참 핫 했던 인공지능 서비스 Chat GPT에 관한 책이다. 핑계지만 어쩌다보니 GPT에 대한 접근이...