14 weeks two sessions (May 10)
14.4 Exportfs Command
14.5 NFS Client Issues
15.1 FTP Introduction
15.2/15.3 using VSFTPD to build FTP
14.4 Exportfs Command
If the remote client is using the NFS service, it is being mounted. If the service side stops the NFS service, the remote client hangs.
A share a directory, b to write or read the file. If A is stopped, nfs,b cannot read and write. If B reads and writes frequently, it can result in the process of reading and writing shared files, such as PHP hangs. Causes the process to become abnormal and even kills the machine. A can not be restarted randomly, you need to mount the B and C directories first uninstall.
Unmount the mounted directory to restart the command as follows:
If you are mounting dozens of machines, use the following command:
Join a row
Edit the file and verify
Join content
The new file, the user is root,root.
The user is also root,root because of the use of No_root_squash.
The client is as unrestricted as the root user locally.
14.5 NFS Client Issues
Belong to the master, group display nobody. Specifies that its version is 3
15.1 FTP Introduction
15.2 using VSFTPD to build FTP service (top)
Install the VSFTPD software package, the command is as follows;
Create a virtual user with the following command:
Edit the file virtual user's password file.
Write content, odd behavior user command, even behavior password.
Need security, not everyone can read, set permissions, command as follows:
Go to Directory
To the first user, create the first configuration file. The configuration file and user name are the same.
Copy the following:
Paste into the configuration file
Define virtual user plus directory
Without this permission, no way to upload and download
Paste underneath the #%pam-1.0
Read as follows:
Copy
Paste at the bottom and change to the following:
The listening port is 21.
15.3 using VSFTPD to build FTP (next)
You can download FileZilla clietn test in Windows
For easy testing, install the client lftp on Linux with the following command:
After entering the password, you can see the file you just created
See what you have to use
Get to current directory
Linux 14 week two lessons (May 10) Notes