当前位置:网站首页>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
边栏推荐
- Share the HR experience of the first and second tier companies
- Nftscan and nftplay have reached strategic cooperation in the field of NFT data
- 7、实时数据备份和实时时钟相关定义
- 全国985院校考研信息汇总整理
- Getting started with crawlers (1) -- requests (1)
- 软件架构与设计(七)-----互动架构
- 正则表达式(4)
- Framework定制系列(六)-----屏蔽FallbackHome手机启动中弹窗直接进入Launcher
- 详解.NET的求复杂类型集合的差集、交集、并集
- 2022年最火的十大测试工具,你掌握了几个
猜你喜欢

有奖活动分享:使用WordPress搭建一个专属自己的博客后最高可领取iPhone13

PXE网络装机

Communication between client and server based on rsocket protocol

Rongyun real-time community solution

最小堆提升每次排序的效率

融云实时社区解决方案

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

爆肝整理 JVM 十大模块知识点总结,不信你还不懂

一文了解 Rainbond 云原生应用管理平台

MIT pointed out that the public pre training model should not be used indiscriminately
随机推荐
samba服务器如何配置
关于Simulink如何生成模型覆盖率报告
如何搭建openGrok代码服务器
Problem of fetching combinatorial numbers
Qt信号与槽的五种连接方式
数牍 X Rust,那些不得不说的事
Heap operation
屏下指纹价格战再起,二线厂商今年有望拿下30%市场?
关于word文档中插入的图片只显示下面一部分
NFTScan 与 NFTPlay 在 NFT 数据领域达成战略合作
有道云笔记去除底部广告
Among the three "difficult and miscellaneous diseases" of machine learning, causal learning is the breakthrough | Liu Li, Chongqing University
Getting started with crawlers (1) -- requests (1)
How many of the top ten test tools in 2022 do you master
Deutsche Telekom denied strengthening its cooperation with Huawei and said it had reduced its cooperation with Huawei in the past three years
软件架构与设计(十)-----架构技术
String (3)
Vs dynamic library debugging
关闭独立窗口对其他窗口同时关闭的问题
flowable工作流所有业务概念