samba中文乱码问题 常用的配置
来源:互联网 发布:ecshop商城源码下载 编辑:程序博客网 时间:2024/06/14 07:03
vi /etc/samba/smb.conf
根据locales的设置,修改该文件:
1. 如果locale是zh_CN.UTF-8,做如下设置:
display charset = utf8
unix charset = utf8
dos charset = utf8
2. 如果locale是zh_CN.GBK或zh_CN.gb2312,做如下设置:
display charset = cp936
unix charset = cp936
dos charset = cp936
重启samba:
service samba restart
则无论从windows的网上邻居,还是直接用securecrt登陆,均可显示正常中文。
通常使用samba来与windows进行文件共享。下面是常用场景的配置和一些问题。
无需密码,直接访问linux上的共享文件夹/home/xx/share:
修改/etc/samba/smb.conf文件,;这其中最重要的是security = share [...]
[global]
workgroup = home
netbios name = xxcomputer
server string = xxcomputer’s share
security = share
[share]
path = /home/xx/share
writeable = yes
browseable = yes
guest ok = yes
[www]
[dl]
- samba中文乱码问题 常用的配置
- samba中文显示乱码问题
- <!--配置中文乱码的过滤器 -->
- samba的中文问题
- samba中文乱码问题终极篇
- Samba的配置问题
- sublime配置python中文乱码的问题
- Samba和FTP中文乱码的解决方法
- C# 连接 Mysql 中文乱码问题
- 解决mysql 显示中文乱码问题
- oracle 10g 中文乱码的问题(解决…
- jquery ajax 解决中文乱码问题
- 配置中文Tomcat乱码问题
- 关于配置samba的问题
- 关于samba的配置问题
- samba服务器的配置问题
- 中文乱码的问题
- 中文乱码的问题
- domain: node.js的异常捕获利器
- 在 Slackware 上设置环境变量
- 更改远程端口3389为其他的端口号
- Linux下rar命令详解
- ln 命令
- samba中文乱码问题 常用的配置
- linux 网络命令
- 在Tomcat中实现https安全验证
- ThinkPad X61安装SlackWare12.2(1)
- ThinkPad X61安装SlackWare12.2(2)
- ThinkPad X61安装SlackWare12.2(3)
- RHEL5使用CentOS 5.3的yum源
- RedHat Linux AS 5安装oracle
- redhat as5 apache tomcat 整合