samba configuration in archLinux
来源:互联网 发布:dior fix it colour 编辑:程序博客网 时间:2024/05/18 00:11
Samba is a tool to share file through the internet for linux. By applying samba
, users are able to share file between different operating systems, Linux, MacOS and Windows.
Server side
install samba
sudo pacman -S samba
configuration (easy way)
In this step, we need to modify the file /etc/samba/smb.conf
. But you may not find the file in you computer. You could download one as follow:
wget "https://git.samba.org/samba.git/?p=samba.git;a=blob_plain;f=examples/smb.conf.default;hb=HEAD" -O /etc/samba/smb.conf
Then, modify the file /etc/samba/smb.conf
. In that file, we will find the follow sentences.
...#============================ Share Definitions ==============================[homes] comment = Home Directories browseable = no writable = yes...
We modified it to
...#============================ Share Definitions ==============================[homes] comment = Home Directories browseable = yes writable = yes...
start the samba service
sudo systemctl enable smbd # I'm not very sure about this. It may made the smbd.service starts once the machine is start.sudo systemctl start smbd # start the smbd.service immediately.
add a samba password for your user
sudo smbpasswd -a userName # then, input password for samba as asked.
Client side
for Windows
Just open file explorer
, input \\serverIP
in the address bar. In the example, the server IP is 192.168.164.128
.
Then, windows will ask for username and password. Type in what we have just set. Now, we can access the files in archLinux from Windows.
for Linux
In Linux, what typed in the address bar of the file explorer is smb://serverIP
. Ther server could be a Linux computer installed samba
or a Windows computer sharing files. This step will be like this:
reference:
https://wiki.archlinux.org/index.php/Samba
https://wiki.archlinux.org/index.php/Samba_(%E7%AE%80%E4%BD%93%E4%B8%AD%E6%96%87)
- samba configuration in archLinux
- Samba Server Configuration in OpenSuSe 13.1
- Samba Server Configuration in OpenSuSe 13.1
- linux samba server configuration
- samba permission configuration
- Openwrt Samba Configuration
- PGP wrong in archlinux
- Archlinux配置samba,文件共享不成问题
- Can not find so for swat in Samba in Solaris? Try crle command to update runtime linking configuration.
- fedora 14 samba server configuration
- A Samba server configuration example
- Configuration Point in HiveMind
- Configuration Point in HiveMind
- compile configuration in vs2010
- ArchLinux
- Installing samba in sol10
- mount samba in centos
- vfs modules in samba
- Linux下基于Erlang的高并发TCP连接压力实验
- uboot编译错误error:no rule to make target include/stddef.h,needed by 'img2srec.o'
- Android刮刮乐 自定义view
- Android应用开发—ViewPager FragmentPagerAdapter和FragmentStatePagerAdapter下Fragment的生命周期
- 原生JS实现焦点轮播图 完整代码
- samba configuration in archLinux
- MyEclipse 10.x 通用破解教程
- C#--WinForm删除模块--基于学号或对象删除学员对象
- UVA
- R帮助的使用说明
- make工程管理器及gdb调试器 基本知识
- Sicily 1444. Prime Path
- 《超越时空:通过平行宇宙、时间卷曲和第十维度的科学之旅》读书笔记
- python 文件操作中的 file、seek、truncate 用法