<11일차>

리눅스 접속
IP+PORT
명령어
외부 접속
본인의 컴퓨터 번호
ipconfig
192.168.1.5
192.168.0.201~~

master@vbox
master.계정(사용자)
vbox:컴퓨터 이름
ip201.jeonjucom.kr
~:위치

ip addr
ping 168.126.63.1

외부 접속 방법 이해
프로그램 설치
su #root로 변경
cd/etc/skel # cd change directory 디렉토리 변경
mkdir public_html
cd public_html
mkdir include
cd include
touch header.php
touch footer.php
cd..

ip adress: 10.0.2.15/24 brd 10.0.2.255

sudo nano /etc/hostname:이름바꾸기
su
root@vbox~ : vi /etc/hostname
i >> INSERT
esc >> INSERT
:wq
write
quite
ctrl+z
ps fng
kill -9 xxx(dnf만)
vi /etc/resolv.conf
nameserver 168.126.63.1
su > root 잠금
root@IP202~
vi /etc/resolv.conf
nameserver 168.126.63.1
이름 해석
dnf -y update

reboot
dnf -y update(작동불가)
ctrl+c, ctrl+z(일시정지)

dnf -y install nano

IP17..jeonjucom.kr
168.168.63.1은 kt
8.8.8.8는 구글
xxx.xxx.xxx.xxx는 LG