当前位置:网站首页>Samba learning
Samba learning
2022-07-28 10:49:00 【[email protected]】
VMware Network Adapter VMnet0: Host and virtual machine IP The address is in the same network segment For example The host IP Address 192.168.2.3 Then the operating system on the virtual machine IP The address is 192.168.2.4 ( The above figure does not show , Because it needs to be configured manually )
VMware Network Adapter VMnet1: This is a Host Used with Host-Only Virtual network for communication -----( Host only )
network card .
VMware Network Adapter VMnet8 : This is a Host Used with NAT Virtual network card for communication .----=-(Nat) Host and virtual machine IP The address is not in the same segment ,IP The address is virtual , Through the virtual network card to achieve broadcast
2、 Another problem is Bridging mode Only host mode and Nat The difference between patterns
( 1 ) NAT The Internet . This is a VMware One of the most commonly used networking modes in , This connection uses VMnet8 Virtual switch . In the same place NAT The system in network mode passes through VMnet8 The switch communicates .NAT In the network mode IP Address 、 Subnet mask 、 Gateway and DNS Servers are all through DHCP The distribution of . The system in this mode uses virtual when communicating with the outside world NAT The server .
( 2 ) Bridged Networking . This pattern is easy to understand , A system that chooses to use a bridging network is like a separate host in a local area network , It's as like as two peas , And it's also connected to this real network . So if you want this system to be networked , This system needs to be set up in the same way as the external real host .
( 3 ) Host only mode . This pattern and NAT The pattern is similar , The hosts in this networking mode are interconnected , But the default is not connected to the external network , This is a network experiment ( Especially worms ) You don't have to worry about spreading to the outside .
VMnet1, Host only mode ,Linux Only with Windows Connect ,Linux Have no access to the Internet
VMnet8,NAT Pattern ,Linux You can talk to Windows Connect ,Linux Internet access .
System installation and basic use
Shared resources :
File server :NFS(Linux Between ),SAMBA( The server Linux, The client WINDOWS)
FTP
WWW
One 、 Network erection ( Network mode )
Two 、 Service installation (rpm -qa |grep nfs/smb)----->yum install nfs -y( The fifth chapter )
Four 、 Resource establishment ( file )
5、 ... and 、 Service configuration + Service to restart
6、 ... and 、 test (showmount -e 192.168.1.10)
The client mount 192.168.1.10: common /mnt/nfs
1、 All users can access
2、 Can read but write
zs lisi
1、 Directories accessible to everyone (777)common
2、 Different users log in , Have their own private homes homes
3、 Project team directory :zs,lisi,( Write , Delete )770
analysis :(1) user (2) Group
(1) Catalog (2) jurisdiction
samba:
who :public( Whether to let everyone access )public=yes == guest ok=yes ---->valid users=zs,@projecta
What for? :read only=yes (no) read only=no ===>writable=yes
writable=yes ----> write list=zs,@projecta
The position of :path=
版权声明
本文为[[email protected]]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/209/202207281025239206.html
边栏推荐
- GKSphereObstacle
- Codeforces Round #614 (Div. 2) A. ConneR and the A.R.C. Markland-N
- Install mysql5.7 under centos7
- 6. MapReduce custom partition implementation
- Two years of crud, two graduates, two months of preparation for the interview with ALI, and fortunately won the offer grading p6
- GKCylindersNoiseSource
- 蓝桥杯嵌入式-HAL库-LCD
- SemEval 2022 | 将知识引入NER系统,阿里达摩院获最佳论文奖
- SQL Server 2016 learning records - single table query
- Yan reported an error: could not find any valid local directory for nmprivate/
猜你喜欢

markdown转成word或者pdf

Django celery redis send email asynchronously

GKVoronoiNoiseSource

SemEval 2022 | 将知识引入NER系统,阿里达摩院获最佳论文奖

蓝桥杯嵌入式-HAL库-USART_TX

Two years of crud, two graduates, two months of preparation for the interview with ALI, and fortunately won the offer grading p6

GKNoiseMap

爱可可AI前沿推介(7.28)

Excel word simple skills sorting (continuous update ~)

Shortest path topic
随机推荐
GKPerlinNoiseSource
QT generation Exe file and run without QT environment (enigma virtual box for green executable software packaging) graphic tutorial
SQL Server 2016 learning records - set query
SDUT 2446 final ranking
GKCoherentNoiseSource
Codeforces Round #614 (Div. 2) A. ConneR and the A.R.C. Markland-N
Pyqt5 rapid development and practice 4.11 drag and clipboard
JDBC各个类的解释
GKNoiseMap
10_ue4进阶_添加倒地和施法动作
PyQt5快速开发与实战 4.12 日历与时间
GKLinearCongruentialRandomSource
Batch Normlization
GKSpheresNoiseSource
20200229 training race L2 - 2 tree species Statistics (25 points)
GKVoronoiNoiseSource
GKCircleObstacle
clo*******e:项目管理随记
Sleeping barber problem
Go memory model (version on May 31st, 2014)