최대 1 분 소요

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

  1. ARP
  2. CDP / VLAN
  3. Frame Relay
  4. Static Routing
  5. VLAN
  6. VTP
  7. Routed Port
  8. AD
  9. Route Selection
  10. FHRP
  11. HSRP
  12. DHCP
  13. DNS
  14. STP
  15. NAT
  16. EtherChannel
  17. DTP
  18. RIP
  19. NTP
  20. Offset List
  21. Password Encryption
  22. ACL
  23. CAR Attack
  24. Broadcast
  25. Port Assignments
  26. IPv6 Static Routing
  27. HSRP for IPv6
  28. Clock Rate
  29. DHCPv6 Guard
  30. EIGRP
  31. Express Forwarding
  32. Routing and Switching
  33. Load Balancing
  34. Ping, Traceroute
  35. Load Balancing
  36. Fast Switching
  37. CEF
  38. DNS
  39. SSH
  40. Regular Expression
  41. OSPF
  42. EIGRP’s SIA

2. Linux

  1. rhel9’s docs
  2. Linux Directory Structure
  3. File Types in Linux
  4. fstab
  5. Vim Cheat Sheet
  6. Protecting GRUB with a password
  7. SELinux
  8. DNS
  9. Samba as a server
  10. DHCP
  11. NFS

3. Web

  1. HTML’s Elements
  2. Emmet
  3. JavaScript
  4. Anchor Tag
  5. Post, Get
  6. Block, Inline Elements
  7. Semantic Web
  8. Semantic Elements
  9. CSS
  10. Viewport_meta_tag
  11. Media_queries

클라우드 엔지니어를 꿈꾸며 공부를 시작한 초보 엔지니어입니다. 틀린점 또는 조언해주실 부분이 있으시면 친절하게 댓글 부탁드립니다. 방문해 주셔서 감사합니다 :)

댓글남기기