当前位置:网站首页>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
边栏推荐
猜你喜欢

Matlab导出高清图片、且Word中压缩不失真、转换PDF不失真

软件架构与设计(四)-----数据流架构

About how Simulink generates model coverage reports

关于word文档中插入的图片只显示下面一部分

Execution process of SQL statement

Heap operation

如何获取及嵌入Go二进制执行包信息

How to obtain and embed go binary execution package information

ECCV 2022 | ssp: a new idea of small sample tasks with self-supporting matching

Sharing of award-winning activities: you can get up to iphone13 after using WordPress to build your own blog
随机推荐
融云实时社区解决方案
德国电信否认加强与华为合作,并称过去3年已缩减与华为的合作
数牍 X Rust,那些不得不说的事
Deutsche Telekom denied strengthening its cooperation with Huawei and said it had reduced its cooperation with Huawei in the past three years
22、电文处理任务实现
try...except异常处理语句(6)
MATLAB不覆盖导入EXCEL
MIT pointed out that the public pre training model should not be used indiscriminately
Heap operation
FTP文件传输协议
给你一个链表,删除链表的倒数第 n 个结点,并且返回链表的头结点。
QCustomPlot绘图工具常用方法
软件架构与设计(七)-----互动架构
8. Realization of real-time data backup and real-time clock function
Rxdart is used instead of stateful in fluent
Camera连拍自动化测试shell脚本
Pytorch - sequential and modulelist
4.8 hd-gr GNSS navigation software source code
[delete specified number leetcode]
全国985院校考研信息汇总整理