[KEDUIT] 클라우드 컴퓨팅과 보안솔루션을 활용한 DC 엔지니어 양성교육 - Day45
1. 서론
오늘은 Linux 서버를 NFS Server, DHCP Server로 설정하는 방법을 배워보았다.
2. 본론
1. Linux
//Linux as a NFS server
//Linux as a DHCP server
# dnf install -y dhcp*
# firewall-cmd --add-service=dhcp --permanent
# firewall-cmd --reload
# systemctl disable dnsmasq
# ps -ef | grep dnsmasq
# pkill -9 PSNUM
# vim /etc/dhcp/dhcpd.conf
subnet 192.168.10.0 netmask 255.255.255.0 {
range 192.168.10.1 192.168.10.99;
option routers 192.168.10.254;
option subnet-mask 255.255.255.0;
option domain-name "kedu.edu";
option domain-name-servers 192.168.10.100;
default-lease-time 10000;
max-lease-time 50000;
}
# systemctl enable --now dhcpd
//Linux as a DHCP relay agent
# dnf install -y dhcp-relay
# systemctl enable --now dhcrelay
# vim /lib/systemd/system/dhcrelay.service
ExecStart=/usr/sbin/dhcrelay -d --no-pid IPADD -i INTERFACE //끝에 ip주소, -i, interface이름 추가
# systemctl restart dhcrelay
# systemctl status dhcrelay
3. 결론
4. 참고자료
1. Cisco Docs
- ARP
- CDP / VLAN
- Frame Relay
- Static Routing
- VLAN
- VTP
- Routed Port
- AD
- Route Selection
- FHRP
- HSRP
- DHCP
- DNS
- STP
- NAT
- EtherChannel
- DTP
- RIP
- NTP
- Offset List
- Password Encryption
- ACL
- CAR Attack
- Broadcast
- Port Assignments
- IPv6 Static Routing
- HSRP for IPv6
- Clock Rate
- DHCPv6 Guard
- EIGRP
- Express Forwarding
- Routing and Switching
- Load Balancing
- Ping, Traceroute
- Load Balancing
- Fast Switching
- CEF
- DNS
- SSH
- Regular Expression
- OSPF
- EIGRP’s SIA
2. Linux
- rhel9’s docs
- Linux Directory Structure
- File Types in Linux
- fstab
- Vim Cheat Sheet
- Protecting GRUB with a password
- SELinux
- DNS
- Samba as a server
- DHCP
- NFS
3. Web
- HTML’s Elements
- Emmet
- JavaScript
- Anchor Tag
- Post, Get
- Block, Inline Elements
- Semantic Web
- Semantic Elements
- CSS
- Viewport_meta_tag
- Media_queries
클라우드 엔지니어를 꿈꾸며 공부를 시작한 초보 엔지니어입니다. 틀린점 또는 조언해주실 부분이 있으시면 친절하게 댓글 부탁드립니다. 방문해 주셔서 감사합니다 :)
댓글남기기