Ubuntu 18.04 및 Package 설치
- reference
- ubuntu 18.04 설치
- 설치 파일 다운로드
- http://releases.ubuntu.com/18.04/
- http://releases.ubuntu.com/18.04/ubuntu-18.04.3-desktop-amd64.iso
- ubuntu 설치.
- storage : 40 GB ( > 32 GB)
- memory : 2 GB ( > 1 GB)
- 필요 package
- apparmor-utils
- apt-transport-https
- avahi-daemon
- ca-certificates
- curl
- dbus
- jq
- socat
- software-properties-common
- network-manager
- bash
- docker-ce
- package 설치
- sudo apt-get install apparmor-utils apt-transport-https avahi-daemon ca-certificates curl dbus jq socat software-properties-common network-manager
- bash
- docker-ce
- https://docs.docker.com/install/linux/docker-ce/ubuntu/
- docker-ce에 필요한 package 설치
- docker apt-key 설치 및 확인
- docker 설치를 위한 apt-repository 추가
- docker-ce package 설치 및 확인
- docker group에 user 추가
- images, containers, volumes, or customized configuration files on
- $ sudo apt-get update
- $ sudo apt-get install apt-transport-https ca-certificates curl gnupg-agent software-properties-common
- $ curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
- $ sudo apt-key fingerprint 0EBFCD88
- $ sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
- $ sudo apt-get update
$ sudo apt-get install docker-ce docker-ce-cli containerd.io
$ sudo docker run hello-world
- $ sudo usermod -aG docker account_name
- /var/lib/docker
- Hass.io installation
- prepare (install docker-ce with script) * docker-ce를 설치했으면 다시 실행할 필요 없음.
- install $ sudo -i
- $ sudo -i
- $ apt-get install software-properties-common
- $ add-apt-repository universe
- $ apt-get update
- $ apt-get install apparmor-utils apt-transport-https avahi-daemon ca-certificates curl dbus jq network-manager socat
- $ curl -fsSL get.docker.com | sh
- $ curl -sL "https://raw.githubusercontent.com/home-assistant/hassio-installer/master/hassio_install.sh" | bash -s
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.