WIN7+VMWARE+fedora18 samba服务器的搭建指南
时间:2023-07-26 23:50:08
详细步骤:1.配置root的用户密码(不是必须)2.安装samba服务yum install openssh-server3.查看是否已成功安装openssh-serverrpm -qa | grep openssh-server,感兴趣的朋友可以参考下哈
1.配置root的用户密码(不是必须)
![WIN7+VMWARE+fedora18 samba服务器的搭建指南](https://img.aspxhome.com/file/2023/29/a257846_0.jpg)
2.安装samba服务
yum install openssh-server
![WIN7+VMWARE+fedora18 samba服务器的搭建指南](https://img.aspxhome.com/file/2023/29/a257846_1.jpg)
3.查看是否已成功安装openssh-server
rpm -qa | grep openssh-server
![WIN7+VMWARE+fedora18 samba服务器的搭建指南](https://img.aspxhome.com/file/2023/29/a257846_2.jpg)
4.配置samba服务
![WIN7+VMWARE+fedora18 samba服务器的搭建指南](https://img.aspxhome.com/file/2023/29/a257846_3.jpg)
找到Share Definitions
加入要共享的目录:
![WIN7+VMWARE+fedora18 samba服务器的搭建指南](https://img.aspxhome.com/file/2023/29/a257846_4.jpg)
确保在根目录底下有 task文件夹,并且至少访问权限在755以上,我用的是777
![WIN7+VMWARE+fedora18 samba服务器的搭建指南](https://img.aspxhome.com/file/2023/29/a257846_5.jpg)
5.尼玛的没找到smbpasswd命令
直接
![WIN7+VMWARE+fedora18 samba服务器的搭建指南](https://img.aspxhome.com/file/2023/29/a257846_6.jpg)
终于可以了
![WIN7+VMWARE+fedora18 samba服务器的搭建指南](https://img.aspxhome.com/file/2023/29/a257846_7.jpg)
6.再次确保vi写了以下的,而且wq了保存下来了:
![WIN7+VMWARE+fedora18 samba服务器的搭建指南](https://img.aspxhome.com/file/2023/29/a257846_8.jpg)
7.因为我用的是root登录,用户早已存在,所以直接:
![WIN7+VMWARE+fedora18 samba服务器的搭建指南](https://img.aspxhome.com/file/2023/29/a257846_9.jpg)
8.开启服务
在服务管理上,fedora16推出了新的管理程序,即 systemctl,具体可以查看手册.
执行指令:
systemctl start smb.service
systemctl start nmb.service
![WIN7+VMWARE+fedora18 samba服务器的搭建指南](https://img.aspxhome.com/file/2023/29/a257846_10.jpg)
9.查看服务状态
测试一下 samba 能否打开,如果没有错误提示则证明可以开启。
systemctl is-enabled smb.service nmb.service 来查看两个服务是否已经开启成功
![WIN7+VMWARE+fedora18 samba服务器的搭建指南](https://img.aspxhome.com/file/2023/29/a257846_11.jpg)
10.执行下面的代码,可以让上述两个服务开机自动启动
systemctl enable smb.service nmb.service
![WIN7+VMWARE+fedora18 samba服务器的搭建指南](https://img.aspxhome.com/file/2023/29/a257846_12.jpg)
11.关掉防火墙、设置SELinux
![WIN7+VMWARE+fedora18 samba服务器的搭建指南](https://img.aspxhome.com/file/2023/29/a257846_13.jpg)
并重启linux
![WIN7+VMWARE+fedora18 samba服务器的搭建指南](https://img.aspxhome.com/file/2023/29/a257846_14.jpg)
12.访问测试
![WIN7+VMWARE+fedora18 samba服务器的搭建指南](https://img.aspxhome.com/file/2023/29/a257846_15.jpg)
![WIN7+VMWARE+fedora18 samba服务器的搭建指南](https://img.aspxhome.com/file/2023/29/a257846_16.jpg)
![WIN7+VMWARE+fedora18 samba服务器的搭建指南](https://img.aspxhome.com/file/2023/29/a257846_17.jpg)
标签:win7,samba,fedora18
![](/images/zang.png)
![](/images/jiucuo.png)
猜你喜欢
Win7电脑清理垃圾的运行命令代码是什么?
2023-02-02 19:38:19
![](https://img.aspxhome.com/file/2023/26/a228810_0s.png)
Word2013禁用Web服务器访问怎么解决
2023-11-29 13:28:05
![](https://img.aspxhome.com/file/2023/9/18349_0s.jpg)
Win7电脑dwg格式如何打开?
2023-10-21 16:34:51
![](https://img.aspxhome.com/file/2023/4/a310349_0s.jpg)
Win7笔记本查看内存条型号的技巧
2023-04-28 22:55:21
![](https://img.aspxhome.com/file/2023/27/a232889_0s.jpg)
百度手机输入法皮肤制作教程
2022-07-28 12:40:51
![](https://img.aspxhome.com/file/2023/5/a318461_0s.png)
电脑老系统怎么换新系统?重装系统教程
2022-05-12 19:06:40
![](https://img.aspxhome.com/file/2023/1/a272166_0s.png)
U盘格式化时提示无法完成格式化的解决办法
2023-04-21 05:14:49
![](https://img.aspxhome.com/file/2023/4/a303098_0s.jpg)
在Excel 2007中创建组合图表教程
2023-08-13 05:43:48
![](https://img.aspxhome.com/file/2023/7/38177_0s.gif)
如何给word文档加密?给word文档加密的详细步骤
2022-06-20 03:05:49
![](https://img.aspxhome.com/file/2023/0/21470_0s.jpg)
wps文字怎样设置字体颜色和大小
2022-05-27 09:56:35
被扣费却不知道是什么原因?如何关闭 App Store 订阅内容
2022-02-24 10:19:15
![](https://img.aspxhome.com/file/2023/4/a195104_0s.jpg)
Word中怎么设置中文字体和西文的字体
2023-06-07 10:34:26
![](https://img.aspxhome.com/file/2023/5/31235_0s.png)
微软停止OEM授权!市场上再无Win7/8.1电脑卖
2023-02-27 18:19:53
![](https://img.aspxhome.com/file/2023/5/a317107_0s.jpg)
电脑出现0x00000077蓝屏代码怎么办?
2023-06-15 16:29:08
![](https://img.aspxhome.com/file/2023/6/a326546_0s.jpg)
word简单制作文章结构图详细教程
2023-03-30 11:55:40
![](https://img.aspxhome.com/file/2023/6/22766_0s.jpg)
Win10系统对文件夹进行颜色编码的技巧
2022-06-27 03:54:50
![](https://img.aspxhome.com/file/2023/2/a289259_0s.jpg)
5款U盘必备软件,让U盘用到实处
2023-04-09 09:28:16
![](https://img.aspxhome.com/file/2023/2/a290511_0s.jpg)
windows主题怎么下载? windows获取官方在线主题的方法
2023-04-11 20:10:17
![](https://img.aspxhome.com/file/2023/28/a239635_0s.png)
如何在 iOS 13 上实现通话录音功能?
2022-10-16 08:52:56
![](https://img.aspxhome.com/file/2023/5/a196405_0s.jpg)
WPS演示超链接实现网络相册演示效果
2023-06-10 17:39:01
![](https://img.aspxhome.com/file/2023/5/a169225_0s.gif)