[Content] The network card name in system (RHEL Version)

Content:

DeviceOld NameNew Name
Embedded network interface (LOM)eth[0123…]em[1234…]
PCI card network interfaceeth[0123…]p<slot>p<ethernet port>
Virtual functioneth[0123…]p<slot>p<ethernet port>_<virtual interface>

References:

https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/networking_guide/sec-consistent_network_device_naming_using_biosdevname

[Content] The list of Linux Samba ports

ProtocalTCP PortsUDP PortsComment
DNS5353
Kerberos88, 46488, 464
LDAP389389
LDAPS636N/Aif used
RPC135135
NTPN/A123Time sync should be enabled and time accurate
Global Catalog3268, 3269N/AIf used by AD
SMB445, 139N/A
NetbiosN/A137, 138
RPC49152-65535N/ASome Active Directory services can use high ports RPC

[STEP] Limitation of the amount of the file which can be opened by Linux program

Step One: In system level, set the limitation of the amount of the files which can be opened by the user who running the Linux Program

# vi /etc/security/limites.conf

Add these lines:

......
rmt  -       nofile  1024
rmt  -       nproc   1024

(Add: Setting the rmt user can open 8192 files and 8192 processes in this Linux as an example here)

Step Two: In program level, check the setting of the amount of the files which can be opened by Linux program

# /bin/systemctl show 'rmt-server-mirror.service' | sort
......
LimitNOFILE=524288
......

(Add: The amount of opening the file by program rmt-server-mirror.service is limited at 8096 as an example here)