Samba (Centos 7) - install and share folder from centos 7 to windows 7

Subscribers:
4,970
Published on ● Video Link: https://www.youtube.com/watch?v=mtpsUFCoYUc



Duration: 13:04
27,733 views
95


**how to install samba on centos 7. And then share a folder from centos to windows 7.

----
in this video i will show you how to install samba, then setting samba to share a folder.

In the example, i will share two folders :
1) html (/var/www/html)
2) downloads (/home/moko/Downloads) .. #share home directory.

this is my samba configuration (/etc/samba/smb.conf) :

[global]
workgroup = WORKGROUP
server string = Samba Server %v
netbios name = centos
security = user
map to guest = bad user
dns proxy = no
#============================ Share Definitions ==============================
[html]
path = /var/www/html
browsable =yes
writable = yes
guest ok = yes
read only = no
create mode = 0777
directory mode = 0777
force user = moko

[downloads]
path = /home/moko/Downloads
browsable =yes
writable = yes
guest ok = yes
read only = no
create mode = 0777
directory mode = 0777
force user = moko

---
** to share home folder, you must add 'force user = home_user'

see this video for details.




Other Videos By Ambar Hasbiyatmoko


2017-04-22PHP tutorial : run C program from PHP on Ubuntu
2017-04-21Block port (SSH) on centos7 with IPTables
2017-04-20Install + Running Phpmyadmin on nginx (Ubuntu 16.04)
2017-04-19Install Arduino IDE on Ubuntu 16.04 from terminal
2017-04-19Tutorial Arduino Dasar - nyalain lampu LED arduino dengan koding
2017-04-19Arduino error (Ubuntu) - avrdude: ser_open(): can't open device "COM1": No such file or directory
2017-04-18Samba Tutorial (Centos 7) - samba share with password
2017-04-16Can't install Arduino (Ubuntu16.04) - xdg mime: file 'lin/cc.arduino.arduinoide.xml' does not exist
2017-04-16Phpmyadmin Tutorial - Create a user and grant privileges only their own databases
2017-04-15Membuat server web sendiri (laptop + ubuntu 16.04) menggunakan ISP firstmedia
2017-04-14Samba (Centos 7) - install and share folder from centos 7 to windows 7
2017-04-13Setting codeigniter in subfolder on nginx (ubuntu 16.04)
2017-04-12Codeigniter error (ubuntu) - mysqli::real connect: HY000/1698: Access denied user 'root'@'localhost'
2017-04-12Codeigniter (Ubuntu 16.04) - The Encrypt library requires the Mcrypt extension.
2017-04-11Install Android Studio on Ubuntu 16.04
2017-04-10Samba (centos - windows7) : Windows cannot access centos. You do not have permission to access.
2017-04-10Displaying PHP errors when : The localhost page isn’t working (on Ubuntu)
2017-04-08Virtualbox - Port forward web server (guest to host)
2017-04-07Slick jquery slider - Fix image width
2017-04-05Virtualbox on centos 7 - Kernel driver not installed (rc=-1908)
2017-04-04Codeigniter + Nginx configuration on Ubuntu 16.04



Tags:
samba
share
folder
centos
linux
windows 7
directory
setting
configuration
terminal
selinux
chcon
install
firewall