Windows and Linux File Sharing, linux File Sharing

Source: Internet
Author: User

Windows and Linux File Sharing, linux File Sharing

File Sharing between Windows and Linux

Samba Server

Rpm-ivh/mnt/Packages/Samba-3.5.10-125.el6.i686.rpm

Useradd win

Passwd ******

Smbpaaawd-a win

Vim/etc/samba/smb. conf

Modification content:

Copy homes content

RENAME [root]

[Root]

Comment = Root Directories

Path =/

Browseable = yes

Writeable = yes

Valid users = win

After configuring the preceding steps, enter the following in the browser:

\ 192.168.1.102 is input based on the linux IP address. after entering the username, enter the created win and password ***** to open the root directory, the win directory cannot be opened because selinux is not closed. Therefore, we need to disable selinux with the command: setenforce permissive.

WinSCP Application

Run the command:/etc/init. d/iptables stop

Set SFTP, enter IP address, user name, and password

TFTP and NFS server configuration

TFTP Server

Rpm-ivh/mnt/Packages/tftp-server-0.49-7.el6.i686.rpm

Vim/etc/xinetd. d/tftp

Set where the shared directory is located

Server_arg =-S/home (directory where the downloaded file is stored)

Disable = no

/Etc/init. d/xinetd restart

Test with tftpd32 in Windows

Command: netstat-a | grep tftp

NFS server

Vim/etc/exports

Add: the following line

/Tmp * (rw, sync, no_root_squash)

/Tmp: shared directory

*: The Host IP address 192.168.1. ** that allows access to the shared directory indicates all IP addresses.

(Rw, sync, no_root_squash): access permission

/Etc/init. d/nfs restart

Large-Scale Price Reduction
  • 59% Max. and 23% Avg.
  • Price Reduction for Core Products
  • Price Reduction in Multiple Regions
undefined. /
Connect with us on Discord
  • Secure, anonymous group chat without disturbance
  • Stay updated on campaigns, new products, and more
  • Support for all your questions
undefined. /
Free Tier
  • Start free from ECS to Big Data
  • Get Started in 3 Simple Steps
  • Try ECS t5 1C1G
undefined. /

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.