Linux 11 file sharing server (learn more) [user management (Omitted)]

Source: Internet
Author: User


* 1 Windows and Linux File Sharing --- samba
* 2 FTP application -- vsftpd

Samba is a free software that implements the SMB protocol on Linux and UNIX systems. It consists of servers and client programs.
In Unix systems, Samba shares file and print services between computers on the network through Server Message fast protocol (SMB ).
.
SMB is a client server protocol located at the application layer. It is a standardized protocol for Windows File Sharing and printing services.
Files and printers are shared between two computers.
Samba is an open-source software. Any user with the GNU organization's General Public License GPL
You can use it and get its source code and executable files for free.
Samba homepage: http://www.samba.org
Start Service:/etc/rc. d/init. d/SMB start
Samba has two Daemon Processes: smbd and nmbd.
-- Smbd listens to port 139 TCP
-- Nmbd listens to UDP ports 137 and 138
The role of the smbd process is to process the SMB request package, which is responsible for user authentication and file sharing. The Role Of The nmbd process is to process browsing
Share and computer name resolution.
----------------------------------------
FTP Server Configuration
Wu-FTP: Old and complex configuration.
ProFTP: Powerful
Vsftp: Secure, fast, and stable.
Default FTP software
Start:/etc/rc. d/init. d/vsftpd start
(Access to the user's home directory and anonymous access are supported by default after startup)
Configuration File:/etc/vsftpd. conf
----------------------------------------------
NFS Network File Service
Nfs-Network File System
Used for file sharing between UNIX and Linux systems over the network. Users can mount the shared directories provided by NFS servers in the network.
To the local file directory, you can operate the content in the NFS file system like the local file system.
--------------------------
Remote Management and Control over SSH
SSH remote Logon: SSH username @ Remote Host IP Address
Common options:-2: force use of 2nd-generation SSH protocol
-P: Port Number
Example:
Ssh-2 sam@192.168.8.155
Configuration File:/etc/ssh/sshd_config
Windows SSH tool: SSH Workstation
---------------------
Rsync Application
Rsync Incremental Backup (synchronous increase/decrease, fast transmission speed, saving hardware/software Connection Properties, practical SSH encryption)
* Convenient Incremental Backup implementation
* Images can be used to save the entire directory tree and File System
* Maintain file permissions, time, and soft/hard links.
* High file transmission efficiency
* You can use an SSH encrypted channel.
SCP full backup-rsync Incremental Backup
Rsync Application
Enable rsync: 1. Enable rsync (xinetd hosting)
Edit the configuration file/etc/xinetd. d/rsync
Set disable = No
Restart the xinetd process service xinetd restart

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.