전체 글 (30) 썸네일형 리스트형 [Mysql] master, slave - docker를 활용한 실습 Docker를 활용한 mysql 서버 올리기 apt-get install curl curl을 설치한다. curl -fsSL https://get.docker.com -o get-docker.sh curl -fsSL https://get.docker.com -o get-docker.sh ls로 확인한다. 그리고 실행 권한이 있는지 확인한다. 실행권한을 주자. 그리고 도커를 실행한다. set-hostname을 ubuntu로 놓고 재부팅한다. root@ubuntu:~# usermod -aG docker ubuntu root@ubuntu:~# systemctl restart docker root@ubuntu:~# systemctl enable docker root@ubuntu:~# cd dockerdir/ 사용.. MYSQL 연습하기 with w3school - 2 Q51) Categories 테이블에서 CategoryID,CategoryName,Description을 가져올때, Products 테이블에서 ProductID가 1인 ProductName을 가져와라 Select c.CategoryID, c.CategoryName, c.Description, p.ProductName from Products p join Categories c on p.CategoryID=c.CategoryID where p.ProductID=1 Q52) Categories 테이블에서 CategoryID, CategoryName, Description을 가져온다. 이때 (가져올때 조건, 서브쿼리 내용은) Products 테이블에서 ProductName이 Chais인 CategoryID S.. [리눅스] 우분투 ubuntu 마스터 네임서버 설치 및 운영 웹서버의 설정(Server- Ubuntu 20.04 GUI버전) root@server:~# apt -y install apache2 아파치 웹서버 설치 root@server:~# systemctl restart apache2 root@server:~# systemctl enable apache2 Synchronizing state of apache2.service with SysV service script with /lib/systemd/systemd-sysv-install. Executing: /lib/systemd/systemd-sysv-install enable apache2 root@server:~# systemctl status apache2 ● apache2.service - The Apac.. 이전 1 2 3 4 5 6 ··· 10 다음