After installing the Samba server, you can easily implement communication between Windows and Linux. Installation Steps: 1. Install the samba service: linuxidc@www.linuxidc.com :~ $ Sudoapt-getinstallsamba2, firewall linuxidc@www.linuxidc.com for disabling Ubuntu :~ $ Sudoserviceufw
After installing the Samba server, you can easily implement communication between Windows and Linux.
Installation Steps: 1. Install the samba service under Ubuntu 15.04:
linuxidc@www.linuxidc.com:~$ sudo apt-get install samba
2. Disable the Ubuntu Firewall
linuxidc@www.linuxidc.com:~$ sudo service ufw stop
3. Configure the smb. conf file step 1. first enter the directory of the configuration file, and then switch to the Administrator permission.
linuxidc@www.linuxidc.com:~$ cd /etc/samba/linuxidc@www.linuxidc.com:/etc/samba$ suPassword:
Step 2 back up smb. conf to prevent improper operations and restore the file back.
root@www.linuxidc.com:/etc/samba# cp smb.conf smb.conf.bak
Step 3 Use vim to open smb. conf and change rows 193 to 200 to as shown in:
4. Add samba to add a root user
root@www.linuxidc.com:/etc/samba# smbpasswd -a rootNew SMB password:Retype new SMB password:
Enter the password. Here I enter the root user. You can also enter another username that exists.
5. Restart the sam service.
root@www.linuxidc.com:/etc/samba# service smbd restart
6. Finally, enter \ and add IP in the Windows running window. For example, mine is:
\\192.168.142.191\root
In the pop-up window, enter the username and password you just added to access the Linux File directory.
------------------------------------ Split line ------------------------------------
How to Use Samba shared file http://www.linuxidc.com/Linux/2014-07/104894.htm in Ubuntu 14.04
VMWare Virtual Machine Ubuntu dual Nic samba access speed doubled http://www.linuxidc.com/Linux/2013-06/85445.htm
Samba File Sharing Server joining Windows Server 2003 domain http://www.linuxidc.com/Linux/2013-06/86391.htm
Samba installation configuration http://www.linuxidc.com/Linux/2013-06/86101.htm
Configuration http://www.linuxidc.com/Linux/2013-01/78390.htm for Samba services in CentOS 6.2
Samba Server installation and configuration http://www.linuxidc.com/Linux/2014-12/110459.htm
Graphic http://www.linuxidc.com/Linux/2013-01/78234.htm for building Win7 + VMware + Fedora18 Samba Server
------------------------------------ Split line ------------------------------------
Samba details: Click here
Samba: Click here
This article permanently updates the link address: Http://www.linuxidc.com/Linux/2016-03/129201.htm