samba-4.2.4原始碼安裝及配置
[[email protected] samba-4.2.4]#cd /data/gg/samba-4.2.4
[[email protected] samba]# ./configure
[[email protected] samba]# make
[[email protected] samba]# make install
2.配置並檢查/etc/samba/smb.conf
改三個地方:
修改security = user
加上map to guest = Bad User (samba 4以上是配置這兩個產生,配置security = share無效)
加上[share]
comment = share all
path = /data/gg
guest ok = Yes
檢查配置檔案
[
Load smb config files from /etc/samba/smb.conf
Processing section "[homes]"
Processing section "[printers]"
Processing section "[share]"
Loaded services file OK.
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions
[global]
server string = Samba Server Version %v
map to guest = Bad User
log file = /var/log/samba/log.%m
max log size = 50
idmap config * : backend = tdb
cups options = raw
[homes]
comment = Home Directories
read only = No
browseable = No
[printers]
comment = All Printers
path = /var/spool/samba
printable = Yes
print ok = Yes
browseable = No
[share]
comment = share all
path = /data/gg
guest ok = Yes
3.將/etc/samba/smb.conf 拷貝/usr/local/samba/etc/smb.conf,程式預設讀後者
4.啟動服務
[[email protected] sbin]# /usr/local/samba/sbin/smbd -D
[[email protected] sbin]# /usr/local/samba/sbin/nmbd -D
相關推薦
samba-4.2.4原始碼安裝及配置
1. 安裝samba [[email protected] samba-4.2.4]#cd /data/gg/samba-4.2.4 [[email protected] samba]# ./configure [[email protected] samba]# make [[
windows下 hadoop2.4.0 eclipse 外掛安裝及配置
一、環境說明 hadoop 版本:2.4.0 hadoop 安裝環境:centos6 centos主機IP地址:192.168.0.207 eclipse版本:Luna eclipse 安裝環境:windows10
從零開始搭建系統2.7——Quartz安裝及配置
get AR blank 安裝 pos html uart body cnblogs 從零開始搭建系統2.7——Quartz安裝及配置從零開始搭建系統2.7——Quartz安裝及配置
從零開始搭建系統2.3——Cat安裝及配置
AR lan tar gpo 從零開始 系統 .com .html log 從零開始搭建系統2.3——Cat安裝及配置從零開始搭建系統2.3——Cat安裝及配置
從零開始搭建系統2.5——Apollo安裝及配置
logs OS get html .cn apol blog class AR 從零開始搭建系統2.5——Apollo安裝及配置從零開始搭建系統2.5——Apollo安裝及配置
從零開始搭建系統2.1——Nexus安裝及配置
安裝 nexus pos HR class .html ref 系統 href 從零開始搭建系統2.1——Nexus安裝及配置從零開始搭建系統2.1——Nexus安裝及配置
php-7.2.0原始碼安裝及擴充套件安裝
一、安裝環境ubuntu 16.04 一、原始碼安裝前準備工作 1.1、下載原始碼下載地址:http://www.php.net/downloads.php可自行選擇版本,這裡我選擇的最新版本PHP 7.2.0,下載地址為:http://cn2.php.net/distri
3-opencv 2.4.9安裝及配置
技術 build bsp 安裝 -1 images http 9.png .cn 1- 2- 3- 4- C:\Program Files\opencv\build\x86\vc12\bin 5- 3-opencv 2.4.9安裝及配置
從零開始搭建系統2.4——Jenkins安裝及配置
AR gpo blank .cn 安裝 jenkin cnblogs 搭建 pro 從零開始搭建系統2.4——Jenkins安裝及配置從零開始搭建系統2.4——Jenkins安裝及配置
從零開始搭建系統1.4——MySql安裝及配置
get com class sql安裝 lan mysql安裝 ref logs sql 從零開始搭建系統1.4——MySql安裝及配置從零開始搭建系統1.4——MySql安裝及配置
2-4 虛擬環境的安裝和配置
pip install virtualenv 安裝 django pip install -i https://pypi.douban.com/simple/ django 新建 虛擬環境 virtualenv scrapytes
Apache2.4.34 + php 7.28 + MySQL8.0.12 安裝及配置
服務端的學習 Apache2.4.34 的安裝及配置 1.基本安裝 最新的 Apache 已經不提供 Windows 的安裝版本,所以我們這裡使用的是解壓版 安裝方式如下 1.注意:需要使用管理員身份執行命令列!!! 2. 切換到 Apache 解壓
Mac下安裝及配置redis-4.0.1
環境搭建 1、到官網上下載redis,我下載的版本是3.0.7 官網地址:http://redis.io/ 2、將下載下來的tar.gz 壓縮包拷貝到usr/local目錄下 該目錄需要root許可權 sudo cp redis-4.0.1.tar.gz
整合Nutch2.3.1/Hadoop2.5.2/Hbase1.1.5/Solr4.10.4構建搜尋引擎:安裝及執行
第一次寫部落格,之前從來沒有寫過部落格因為不知道要寫什麼,這次寫部落格是因為自己在學習東西的時候遇見很多問題,國內的技術資料基本都是比較老的,要不就是nutch2.x整合hadoop1.x的,沒有找到整合hadoop2.x的,對hbase的整合度也很少,自己在學習的時候,
web緩存服務器varnish-4.1.6的部署及配置詳解
是否 次數 tool 至少 hits 檢查 rep nat list web緩存服務器varnish-4.1.6的部署及配置詳解 1.安裝varnish4.1.6安裝依賴 yum install -y autoconf automake jemalloc-devel li
Linux學習之路-Nginx(2)安裝及配置文件篇【23】---20180210
Nginx編譯 Nginx yum安裝 主配置文件分析 Core functionality分 一、Nginx的安裝方法及配置介紹1、yum安裝官方: http://nginx.org/packages/centos/7/x86_64/RPMSFedora-EPEL: http
從零開始搭建系統1.2——Nginx安裝及配置
clas target nginx 1.2 targe nginx安裝 ref href 從零開始 從零開始搭建系統1.2——Nginx安裝及配置從零開始搭建系統1.2——Nginx安裝及配置
Apache kudu1.4在CentOS7 的安裝與配置(rpm) 的安裝與配置
轉自:https://blog.csdn.net/jssg_tzw/article/details/72730186 Kudu1.4在CentOS7 的安裝與配置(rpm) 前言 Apache Kudu是一個比較新的大資料組建,在國內大規模應用的公司不多,Kudu的安裝文件也只能找到官網
【轉載】linux下的samba安裝及配置
分享一下我老師大神的人工智慧教程!零基礎,通俗易懂!http://blog.csdn.net/jiangjunshow 也歡迎大家轉載本篇文章。分享知識,造福人民,實現我們中華民族偉大復興!  
es 6.4.2+ubuntu18.04安裝記錄+head外掛
ubuntu18.04.1LTS es 6.4.2 官網安裝教程 curl -L -O https://download.elastic.co/elasticsearch/release/org/elasticsearch/distribution/tar/elas