Steps to install samba on CentOS 8 and connect from Windows 10 Explorer

Thing you want to do

Premise

samba installation

dnf -y install samba

conf settings

cd /etc/samba/
vi smb.conf

Modify below.

/ home/yamato / is your home directory.

[global]
workgroup = WORKGROUP
server string = Samba Server %v
netbios name = centos8
security = user
map to guest = bad user
dns proxy = no

[Share]
path = /home/yamato/
browsable =yes
writable = yes
guest ok = yes
read only = no

permission

Example: If you connect to/home/yamato with Explorer and want to edit the files located in/home/yamato/myapp/from Windows 10.

cd /home/
chmod 777 yamato
cd /home/yamato/
chown -R nobody: myapp

Firewall

firewall-cmd --permanent --zone=public --add-service=samba
firewall-cmd --reload

Start samba

systemctl enable smb.service
systemctl enable nmb.service
systemctl restart smb.service
systemctl restart nmb.service

Connection from Windows 10

Enter the IP address of the virtual server in the address bar of Explorer, Connect with a CentOS user with a password.

\\192.168.1.14

User and password

If you can see the file from Explorer, it's OK.

Recommended Posts

Steps to install samba on CentOS 8 and connect from Windows 10 Explorer
Steps to install MySQL 8 on CentOS 8
Steps to install devtoolset-6 on CentOS 7
Install Java 9 on windows 10 and CentOS 7
Install samba4 from source code on CentOS8
Install Golang / MariaDB on CentOS8, connect to DB and execute SQL
Steps to set up Postfix and Dovecot on CentOS 8.3
How to install ImageMagick on Windows 10
Upgrade from MYSQL5.7 to 8.0 on CentOS 6.7
How to install MariaDB 10.4 on CentOS 8
Install apache 2.4.46 from source on CentOS7
Steps to install Maven on Mac and use it in Eclipse
How to install beta php8.0 on CentOS8
Let's install Docker on Windows 10 and create a verification environment for CentOS 8!
Command to install nginx / PHP7 / php-fpm on CentOS7
Reference articles and books used to install CentOS
Connect with VS Code from a Windows client to Docker on another server
How to share on the host side (windows) and guest side (CentOS 7) with VirtualBox
Install Corretto 8 on Windows
Install Neo4j 4.1.3 on centOS
To connect from Spring to MySQL on virtual server (unsolved)
Install Vertica 10.0 on CentOS 6.10
Install the latest hardware drivers from ELRepo on CentOS
How to connect to ClearDB from Sequel Pro on Heroku
Install PostgreSQL 12 on Centos8
Install nginx on centOS7
Steps to set up a VNC server on CentOS 8.3
Install Python 3 on CentOS 7
Install kuromoji on CentOS7
Measures to prevent MySQL/MariaDB process from crashing on CentOS7
Install Mattermost on CentOS 7
Install PostGIS 2.5.5 on CentOS7
I installed CentOS 8 on Windows 10 using VirtualBox and Vagrant
Install jpndistrict on CentOS 7
Install MySQL 5.6 on CentOS6 [How to specify the version]
Install Redmine 4.1.1 on CentOS 7
Smokeping Install on CentOS7
Install PostgreSQL 13 on CentOS 7.5
From Unity ML-Agents release_6 Install to environmental testing on Win10.
Note: Install nginx from official repositories with dnf on CentOS 8
How to Install Elixir and Phoenix Framework on Ubuntu 20.04 LTS
How to Burning a Install Disk of Windows from Ubuntu
How to install JDK 8 on Windows without using the installer
Install rsync on CentOS8 (version check) and file backup (synchronization)
How to install GNOME as a desktop environment on CentOS 7
How to install PHP 7.4 and SQL Server drivers in CentOS 7.7
Notes on character encoding when migrating from windows to Mac
Install OpenFOAM v2006 on CentOS
Connect from Java to PostgreSQL
Install Jenkins on Docker's CentOS
Install Apache on CentOS on VirtualBox
Connect CentOS 7 to L2TP VPN
Install Ruby 2.7 on CentOS 7 (SCL)
How to install and use Composer on an ECS instance on Ubuntu 16.04
Install the memcached plugin on MySQL and access it from Java
Install Docker and docker-compose on Raspberry Pi 4, Linux (Debian) and Windows 10, respectively
Steps to build and install an existing Eclipse plug-in project yourself
How to install and configure the monitoring tool "Graphite" on Ubuntu
Notes on building Kotlin development environment and migrating from Java to Kotlin
Install Ubuntu20.04 on RaspberryPi 4 and build Kubernetes to run the container
Install Ubuntu Server 20.04 in VirtualBox on Mac and connect with SSH