当前位置:网站首页>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
边栏推荐
- 蓝桥杯电子类嵌入式第十届省赛
- Go json. Decoder Considered Harmful
- Machine learning -- handwritten English alphabet 2 -- importing and processing data
- Pyqt5 rapid development and practice 4.13 menu bar, toolbar and status bar and 4.14 qprinter
- Tensorflow 知识点
- 10_ue4进阶_添加倒地和施法动作
- Codeforces Round #614 (Div. 2) B. JOE is on TV!
- 3. MapReduce explanation and source code analysis
- SemEval 2022 | 将知识引入NER系统,阿里达摩院获最佳论文奖
- Qt生成.exe文件 并 在无Qt环境下运行(Enigma Virtual Box进行绿色可执行软件封装)图文教程
猜你喜欢

Semeval 2022 | introducing knowledge into ner system, aridamo academy won the best paper award

10_ue4进阶_添加倒地和施法动作

GKVoronoiNoiseSource

Redis-day01 common sense supplement and redis introduction

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

Machine learning -- handwritten English alphabet 1 -- classification process
c语言进阶篇:指针(一)

Markdown to word or PDF

Yan reports an error: exception message: /bin/bash: line 0: fg: no job control

How to play a ball game with RoboCup 2D
随机推荐
C language input string with spaces
3. MapReduce explanation and source code analysis
GKBillowNoiseSource
Codeforces Round #614 (Div. 2) B. JOE is on TV!
Development environment configuration of nodemcu
20200229 training match L1 - 2 delete the substring in the string (20 points)
Using k-means clustering to classify tariff models of different industries
蓝桥杯电子类嵌入式第十届省赛
Semeval 2022 | introducing knowledge into ner system, aridamo academy won the best paper award
20200229 training race L2 - 2 tree species Statistics (25 points)
GKBillowNoiseSource
ACM winter vacation training 6
PyQt5快速开发与实战 4.11 拖曳与剪贴板
Characteristics and installation of non relational database mongodb
GKConstantNoiseSource
从零开始Blazor Server(2)--整合数据库
7. MapReduce custom sorting implementation
GKRandom
Yarn报错:Could not find any valid local directory for nmPrivate/
Qt生成.exe文件 并 在无Qt环境下运行(Enigma Virtual Box进行绿色可执行软件封装)图文教程