Using Samba for Linux and Windows sharing

Source: Internet
Author: User

Samba Server Setup implementing Linux and Windows files to enjoy a lot of methods, such as Wpc,vmtools, and so on, today I introduce my experiment in the Rehat system successfully and now in use of the method, directly give the operation steps:   #mount/dev/cdrom/mnt///mount your installation disc image file #cd/mnt/packages///Open the Package folder in the Mount directory on the disc #rpm-IVH samba-+tab//Use tab completion, enter to start installing Samba #useradd yu//Add a user to Linux Yu, this user you can set your own favorite #passwd Yu//Set the password for new user Yu #smbpasswd-A Yu//set the password for the Samba server, which can be the same as the Yu user's password #vim/etc/samba/smb.conf//Open the configuration file for the Samba server.     * * In the VIM editor, pull to the bottom, find "home", the cursor points to the home line, 6yy Copy, and then set the following "root"//change home to root Comment =root Directories Path =///set access content, I set this to access all content browseable = yes//Open Browse Item writable =yes//Set Write entry Valid user =yu//set who can access the server * * Save exit after Setup, then to terminal operation #/etc/init.d/smb Restart//restart SMB server # Setenforce Permissive//Turn SELinux off. SELinux This is a security mechanism. * * Next to windows open IE, enter the IP of Linux \\192.168.1.108 * * You can use Ifconfig to view your Linux IP * * This allows Linux and Windows to access files to each other.        

Using Samba for Linux and Windows sharing

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.