当前位置:网站首页>Samba Server Setup Guide
Samba Server Setup Guide
2022-07-28 15:43:00 【Liu Yiyi】
One :samba Build and configure
install samba Software
sudo apt-get install system-config-samba -yRestart samba service
sudo /etc/init.d/samba restart
perhaps
sudo /etc/init.d/smbd restart && sudo /etc/init.d/nmbd restartConfigure related shared directories ( Configuration here work Catalog )
sudo vim /etc/samba/smb.conf
[work]
comment = share folder
browseable = yes
read only = no
path = /home/ubuntu/work
create mask = 0777
directory mask = 0777
valid users = liujiaxing
write list = @ubuntu
public = yes
available = yes
Two : Problem summary
- windows There is a problem mapping the network drive on
reinstall libtalloc2
sudo apt-getremove samba libtalloc2
sudo apt-get autoremove
sudo apt-get install samba libtalloc2
If it doesn't fit Install first sudo apt-get install aptitude
after sudo aptitude install libtalloc2
- Shared directory permission problem
a. establish samba user
sudo useradd liujiaxing
sudo passwd liujiaxing
smbpasswd -a liujiaxing
b. By the following command will samba user liujiaxing Add to group ubuntu Inside
( You need to check which group you belong to )
sudo usermod -g ubuntu liujiaxing
Next configure samba Of smb.conf file .
sudo vim /etc/samba/smb.conf
[work]
comment = share folder
browseable = yes
read only = no
path = /home/ubuntu/work
create mask = 0777
directory mask = 0777
valid users = liujiaxing
write list = @ubuntu
public = yes
available = yes
边栏推荐
- Framework定制系列(一)-----SystemUI NavigationBar导航栏上滑返回Launcher
- Some operations of bit operation
- Vs dynamic library debugging
- 2、开源GPS项目HD-GR GNSS的自叙
- Close independent windows and close other windows at the same time
- Regular expression (4)
- 爆肝整理 JVM 十大模块知识点总结,不信你还不懂
- How to build opengrok code server
- samba服务器如何配置
- Summary and arrangement of postgraduate entrance examination information of 985 colleges and universities nationwide
猜你喜欢
随机推荐
有奖活动分享:使用WordPress搭建一个专属自己的博客后最高可领取iPhone13
QCustomPlot绘图工具常用方法
Five connection modes of QT signal and slot
语音社交系统——完善有声系统产业链
Stateflow逻辑系统建模
Easyexcel complex header export (one to many)
19. Channel assignment task definition
2022年最火的十大测试工具,你掌握了几个
Rongyun real-time community solution
多线程
Minimum heap improves the efficiency of each sort
关于Simulink如何生成模型覆盖率报告
How to build opengrok code server
软件架构与设计(一)-----关键原则
有道云笔记去除底部广告
Among the three "difficult and miscellaneous diseases" of machine learning, causal learning is the breakthrough | Liu Li, Chongqing University
File and directory operations (5)
文件及目录操作(5)
Editor in ArcGIS Pro
关闭独立窗口对其他窗口同时关闭的问题









