linux ftp不能用 用smb进行共享 实现文件共享
root用户登录
1.查看smb服务状态
[root@localhost root]# service smb status
smbdisstopped
nmbd is stopped2.开启smb服务
[root@localhost root]# service smb start
StartingSMBservices:[OK]
Starting NMB services: [ OK ]3.设置共享文件夹
vi cd /etc/samba/smb.conf
;[myshare]
;comment=Mary'sandFred'sstuff
;path=/usr/somewhere/shared
;validusers=maryfred
;public=no
;writable=yes
;printable=no
;createmask=0765
[gslw]
comment=gslw
path=/home/gslw
publicok=yes
guestok=yes
writelist=root
read list=gslw4.重启服务
[root@localhost samba]# service smb restart
ShuttingdownSMBservices:[OK]
ShuttingdownNMBservices:[OK]
StartingSMBservices:[OK]
Starting NMB services: [ OK ]5.win+r 输入ip即可访问设定的共享文件夹
相关推荐
joyssh 2015-03-06
amorfait 2008-01-03
kyssfanhui 2007-07-09
airfish000 2007-05-01
Attend 2008-04-21
yczgh 2011-05-19
ECSHOP专属建设 2016-10-17
旭灿 2014-11-30
linjava 2012-03-17
dqcoffee 2012-03-16
thone00 2011-08-25
newdye 2014-08-14
ningningmingming 2010-08-28
86477414 2010-05-26
ftafta 2010-02-26
thone00 2010-01-28
六六哥 2009-02-07
wyjq 2019-06-25
dantesite 2008-10-07