『
* 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