Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
titleService 등록
[ec2-user@ip-xxx-xxx-xxx-xxx ~]$ sudo systemctl enable docker
Created symlink from /etc/systemd/system/multi-user.target.wants/docker.service to /usr/lib/systemd/system/docker.service.
Code Block
titleDocker-compose Install
[ec2-user@ip ~]$ sudo curl -L https://github.com/docker/compose/releases/latest/download/docker-compose-$(uname -s)-$(uname -m) -o /usr/local/bin/docker-compose
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 42.4M  100 42.4M    0     0  6584k      0  0:00:06  0:00:06 --:--:-- 9534k
[ec2-user@ip ~]$ sudo chmod +x /usr/local/bin/docker-compose
Code Block
titleGit Install
[ec2-user@ip ~]$ sudo yum install git -y