How to achieve network disk by samba in linux?
来源:互联网 发布:java软件开发培训费用 编辑:程序博客网 时间:2024/04/29 09:42
0. install samba
sudo yum install samba
1. amend samba conf in '/etc/samba/smb.conf'
append this coding behind your smb.conf
[share] # [important] disk name, define it by yourself, use it to login your windows
comment = share all # descirption, enjoy yourself
path = /tmp/samba # the path which you want to share, be careful the permissions
browseable = yes # default
public = yes # default
writable = no # default
2. add user with pdbedit
useradd user1
pdbedit -a user1
3. start your samba server
sudo /etc/init.d/smb start
4. set your network disk with mark by your configure
use format: \\ip\disk name
for example: \\20.30.50.60\share
5. input your password
阅读全文
0 0
- How to achieve network disk by samba in linux?
- How to achieve Long click in Uiautomator
- How to achieve success in a particular field
- How To Achieve Ultimate Blog Success In One Easy Step
- How to resize disk partitions in ubuntu
- How to mount encrypted linux disk/diskIMGfile
- How to visualize disk usage on Linux
- ccah-500 第9题 How would you tune your io.sort.mb value to achieve maximum memory to disk I/O ratio?
- How to use Samba on Linux?
- How to make linux boot from network
- How to configure the network for Linux
- How to disable Network Manager on Linux
- How to fix “Firefox is already running” error by Matt Cutts on January 2, 2007 in How to,Linux/Ubu
- How to clean up disk space on Linux
- How to screenshot in Linux
- How to Daemonize in Linux
- How to Daemonize in Linux
- How to achieve low latency with the 10Gbps Ethernet
- 轻松学习 JavaScript(5):简化函数提升
- angularJS监听路由变化改变页面内容
- CentOS 7 YUM 10分钟快速安装 LNMP 环境详细教程
- Android视频解码容器
- Visual Studio 2013 编译错误【error C4996: 'scanf': This function or variable may be unsafe. 】的解决方案
- How to achieve network disk by samba in linux?
- stm32 总线与内存分布
- 完全掌握Android Data Binding(一)
- 大数据资料全解析(352个案例+大数据交易白皮书+国内外政策汇篇)
- Android.mk
- 树莓派安装homebridge
- mybatis配置顺序导致报错
- Spring@Autowired注解与自动装配
- HttpURLConnection 的doGet 和doPost