12일차
VirtualBox 변동사항 있을때마다 스냅샷
기본 설정 DNS 서버 : 192.168.0.99
보조 DNS 서버 : 168.126.63.1
cmd -> nslookup + 도메인 주소
내부접속=학원
외부접속=집(외부)
내부접속시 155번을 통해 100번으로 접속해야함
계정 추가 방법:
Xshell 192.168.0.155에 master로 접속후 cd /home -> ls -> su -> password -> adduser + 도메인 이름 -> password -> enter
155번 접속후 ssh 192.168.0.100
EditPlus FTP 접속시 디렉토리: /home/byzeroh/public_html
192.168.0.100/~byzeroh/
외부접속 설정: whois.co.kr -> My 후이즈 -> 도메인 관리 -> 네임서버 고급설정 -> A레코드 관리 -> ip 입력(125.246.95.152)
Start Bootstrap 사이트에서 메인 다운로드
압축풀고 index.php, header, footer에 복붙
static 폴더 생성후 다운로드한 메인에서 assets, css, js 모아서 압축한뒤 알드라이브에 업로드
ls -> cd public_html/ -> ls -> cd static/ -> ls -> unzip static.zip -> ls -> cd .. -> chmod 755 static