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