config Samba service on Redhat 5
来源:互联网 发布:南京泛成生物 知乎 编辑:程序博客网 时间:2024/06/03 12:57
My T60 laptop running out of Harddisk, today plan to config a samba service on my redhat5 linux for storing some files not often used.
Steps:
1. /etc/init.d/smb start
Starting SMB services: [ OK ]
Starting NMB services: [ OK ]
pgrep nmbd
10207
[root@dgswxl init.d]# netstat -tlnp |grep smgb
[root@dgswxl init.d]# netstat -tlnp |grep smb
tcp 0 0 0.0.0.0:139 0.0.0.0:* LISTEN 10203/smbd
tcp 0 0 0.0.0.0:445 0.0.0.0:* LISTEN 10203/smbd
2. close the firewall if needed.
iptables -F
3. add samba user,
smbpasswd -a wxl
New SMB password:
Retype new SMB password:
Added user wxl.
4. in /etc/smb.conf, add the following,
[wxlsdir]
comment = wxl's Service
path = /home/wxl/pcfile
valid users = wxl
public = no
writable = yes
printable = no
5. Restart the service,
/etc/init.d/smb restart
6. Check the samba status,
smbclient -L localhost -U wxl
omain=[DGSWXL] OS=[Unix] Server=[Samba 3.0.23c-2]
Sharename Type Comment
--------- ---- -------
wxlsdir Disk wxl's Service
IPC$ IPC IPC Service (Samba Server)
wxl Disk Home Directories
Domain=[DGSWXL] OS=[Unix] Server=[Samba 3.0.23c-2]
Server Comment
--------- -------
Workgroup Master
--------- -------
WXL DGSWXL
7. Then from the Windows to access the linux by, //{hostip}
- config Samba service on Redhat 5
- samba service on ubuntu 14.10
- Redhat 5 配置Samba服务器
- redhat samba
- RedHat 5 配置VNC config
- samba config
- samba config
- redhat 5 Samba 服务器的配置
- redhat enterprise linux 5 samba相关问题
- samba service
- config Tomcat service on ubuntu14 server as daemon thread
- RedHat配置 Samba 服务器
- Redhat Samba服务配置
- redhat samba 配置(转)
- REDHAT配置Samba
- redhat linux dns+samba
- RedHat : SAMBA 服务
- RedHat samba服务器搭建
- 数据的传递:TCP/UDP数据格式
- mysql获取数据库和表中信息及常用优化
- 数据的传递:TCP的建立和关闭
- 数据库操作:java连接ORACLE实例代码演示
- module_param
- config Samba service on Redhat 5
- 数据库操作:java连接DB2实例代码演示
- 数据的传递:TCP传输策略
- C# 控制手机号码的输入
- 文本行的读取和排序
- tomcat5.0 目录结构
- LIST
- 基本代码知识
- 使用Catalog或者ArcGIS Manager创建Map Cache(切片)