2019. 6. 21. 19:21ㆍOS/리눅스
#> apt-get install ssh -y
ssh 서버 / 포트 오픈
#> apt-get install wget -y
wget 프로그램 설치
#> vi /etc/apt/sources.list
# deb cdrom:[Ubuntu-Server 16.04.6 LTS _Xenial Xerus_ - Release amd64 (20190226)]/ xenial main restricted
cdrom 부분 주석 처리 | 이 부분이 주석처리가 안되어 있으면 apt-get 사용 시 에러를 뿜으며 걸림
W: The repository 'cdrom://Ubuntu-Server 16.04.6 LTS _Xenial Xerus_ - Release amd64 (20190226) xenial Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: Failed to fetch cdrom://Ubuntu-Server 16.04.6 LTS _Xenial Xerus_ - Release amd64 (20190226)/dists/xenial/main/binary-amd64/Packages Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
E: Some index files failed to download. They have been ignored, or old ones used instead.
#> apt-get update
#> apt-get install python3-pip -y
파이썬 ver3 설치
#> apt-get install -y docker.io
#> apt-get install apt-transport-https ca-certificates curl software-properties-common -y
#> curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
OK 가 출력되어야함
#> add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu bionic stable"
#> apt-get update
#> apt-cache policy docker-ce
#> apt-get install docker-ce -y
#> systemctl status docker
'OS > 리눅스' 카테고리의 다른 글
how to install facebook-ctf(fbctf) on ubuntu-16.04(Xenial Xerus) with docker (1) | 2019.06.26 |
---|---|
how to install jdk or java on centos 7 (0) | 2019.06.25 |
Linux binary (0) | 2019.04.04 |
ubuntu-16.04(Xenial Xerus) -> ubuntu-18.04(Bionic Beaver) (0) | 2019.04.04 |
How to install gdb-8.0 / peda on ubuntu (0) | 2019.04.04 |