2019-11-27 [Juming Chen] Linux Learning Summary

1, the virtual machine system and then add a network card device, ensure that two NIC (NIC same pattern) in connection with a network, the network card device only in the same mode, it can bind the network card, otherwise it can not be two NIC mutual transmission of data.

2 Use a text editor Vim configuration of LAN equipment binding parameters, theoretical knowledge NIC teaming is similar to RAID disk groups, the need for LAN equipment involved in the binding of one by one "Initial settings." It should be noted that these had a separate network card device needs to be configured at this time to become a "slave" card, to serve the "master" card, should no longer have their own ip address and other information. After the initial setup, they can support NIC teaming up.

3. Let the Linux kernel support NIC teaming drivers. NIC teaming drivers are commonly used in three modes -mode0, mode1 and mode6. Here to bind two network cards, for example,

* Mode0 (balanced load mode): two cards are functioning normally, and automatic backup, but requires support binding ports polymerization technique on a switch device and a server connected to the local network card.

* Node1 (automatic backup mode): usually only one network card work, and automatic backup, no need to switch to provide ancillary support equipment.

        Configuring remote control service?

  SSH is a protocol to provide remote access in a secure way, is now the preferred way to remotely manage Linux systems.

SSH protocol you want to use to remotely manage Linux systems, you need to deploy to configure sshd service program. sshd SSH protocol is the development of a remote management service program is not only convenient to use, and can provide two security authentication method.

* Password-based authentication - with account login and password to authenticate.

* Based on an authentication key - the need for locally generated key pair, and then the key to the public key uploaded to the server, Linux system, everything is a file. service sshd configuration information is stored in / etc / ssh / sshd-config file. 1

Guess you like

Origin www.cnblogs.com/jumingchen/p/11945335.html