当前位置:网站首页>RHCE Course Summary
RHCE Course Summary
2022-08-09 14:47:00 【palm nine】
SAMBA+DHCP experiment
1. Configure multi-user mount and share the directory /devops on the server through SMB, and meet the following requirements:
1) The shared name is devops;
2) The shared directory devops can only be accessed by 192.168.43.0/24 network segment used by clients;
3) The shared directory devops must be browseable =Yes;
4) The user xixi must be able to access this share in read mode, and the access password is redhat;
5) User heihei must be able to read and write access to this share, the access password is redhat This share is permanently mounted in the /devops/ directory on 192.168.171.144, and uses user
xixi as authentication Any user can pass user heiheiTemporarily obtain write permission;
2. Configure dhcp to realize dynamic allocation and manual allocation;
Task 1.
Server>>
1. Mount and install
2. Turn off the firewall, selinux
3.Start service
4. Configuration file
[[email protected] ~]# vim /etc/samba/smb.conf

Create file resource:
Modify permission:

5. Add user
Change password

6. Restart the service
Create a shared file:


Client>>
1. Mount and install
2. Turn off the firewall, selinux
3.Auto mount at boot

4. Create a mount point directory





Test:
Task two,
1. Dynamic allocation
Mount installation:

Configuration info:

Reboot:

Check port status:
NetworkMa 1131 root 25uIPv4 34221 0t0 UDP 192.168.43.130:bootpc->192.168.43.254:bootps
2. Manual assignment



Experiment completed
边栏推荐
猜你喜欢
随机推荐
C语言 函数问题
【LeetCode】1413. 逐步求和得到正数的最小值
如何用vs新建Asp.net项目(Web页面)
C语言中的 递归问题 以及将递归改写成非递归。(解析常见的几个递归题目及代码) 求阶乘、求斐波那契、汉诺塔、
Three kinds of ThreadLocal, play with thread variable storage and transmission
Firewalld防火墙基础
*2-2 OJ 1163 导弹拦截之测试版
Column of openharmony container component
System Scalability Thinking
三子棋的代码实现
11. cuBLAS Development Guide Chinese version--Level-1 functions amax() and amin() in cuBLAS
dpkg:错误:无法新建文件 ‘/var/lib/dpkg/info/format-new’: 没
(PC+WAP)带手机端pbootcms模板农业种植类网站
vs怎么用一个Button链接到另一个页面
汇编语言学习(六)课程设计一
Talking about CQRS Mode
*1-5 OJ 642 俄式乘法
String为什么是不可变的?
冒泡排序(详细)
202五一杯数学建模ABC三题









