Setting up Samba in Ubuntu Linux
Samba is no stranger to Linux developers. Now we have a Windows version. When developing a Linux driver or application, we usually need a Linux development environment. For large companies, there is a server for programmers to use in the public, but for small companies, it is generally converted into a Linux development environment in virtual machines, and rarely used physical machines to install Linux, of course, there are exceptions. This often involves file interaction between Windows and Linux. Samba is the most commonly used, and STFTP, TFPT, and so on. In my personal habits, let's talk about how to quickly build Samba today.
I. All the problems for beginners
No samba file directory is created. Create a samba folder as needed, such as mkdir/home/xiaobao/samba.
You do not have sufficient permissions for samba folders. You can set folder permissions as needed, such as chmod 777/home/xiaobao/samba.
Smb. conf setting problems, I emphasize that it is not necessary to set user groups, users, and permission passwords for the use of samba for our personal computer virtual machines, because we use it ourselves, the user is also ourselves, and there is no security or insecurity. It has been shut down and cannot be accessed again. We must be working at startup.
Many people will commit such crimes, including veterans. I just want to emphasize that this is very important. The samba service is not restarted after configuration. Strictly speaking, it does not take effect without restarting.
Ii. Installation Steps
Ctrl + Alt + T open the interrupt window and check that the VM can access the Internet, for example, ping www.bkjia.com,
Sudo apt-get autoremove samba uninstalls all samba-related programs. A friend asked me how to install samba. I looked at it and installed several samba versions on the computer, the configuration files are messy. We recommend that you Uninstall all samba-related programs before installation.
The sudo apt-get upgrade and sudo apt-get update commands are used to update the dependencies of the system worker.
Sudo apt-get install samba to install the samba service.
Add the configuration at the end of sudo vim/etc/samba/smb. conf as follows:
[Share]
Path = home/xiaobao/samba
Available = yes
Browseable = yes
Public = yes
Writable = yes
Save and exit.
/Etc/init. d/smbd restart samba service
View the linux local IP address, ifconfig, and display
Return to the window environment, open the run, enter \ 192.168.0.100, and press Enter. :
Press enter to display the share shared network folder,
Copy the network folder address, add my computer network ing, and create a network Hard Disk
Go back to the desktop, right-click my computer and select ing network drive,
Add a network address.
Overall Effect
------------------------------------ Split line ------------------------------------
How to share files with Samba in Ubuntu 14.04
The speed of accessing samba from Ubuntu dual Nic of VMWare Virtual Machine doubles
Add the Samba File Sharing Server to the Windows Server 2003 Domain
Samba installation Configuration
Samba service configuration in CentOS 6.2
Samba Server installation and configuration
How to Build the Win7 + VMware + Fedora18 Samba Server
------------------------------------ Split line ------------------------------------
Samba details: click here
Samba: click here
This article permanently updates the link address: