High teacher Videos Learn the dry goods

Source: Internet
Author: User

High Teacher Videos Learn the dry goods

XFS File System format is highly efficient;

noatime: The Inode's access time is not updated on each access.
atime: Each access updates the Inode's access time, the default setting, and the Cancel option is noatime.

Kernel Optimizations:
vm.swappiness: Small value, reduce the swap usage, recommended% (5~10), physical memory use%90 to use swap memory;

vm.dirty_background_ratio,vm.dirty_ratio: kernel parameter, configure dirty data to write to disk size value, read and write frequentlyThe proposed value is set to Small (%5~%10), to avoid the instantaneous I/O write;

net.ipv4.tcp_tw_recycle,net.ipv4.tcp_tw_reuse: set to 1, reduce time_wait, improve TCP efficiency;

MySQL Configuration optimizations:
innodb_buffer_pool_size: If you use the InnoDB engine table, you can set it to physical memory%50~70;
innodb_file_per_table = 1: Use a separate table space;
Innodb_data_file_path = ibdata1:1g:autoextend: recommended set to 1G, in high concurrency scenarios, performance will be greatly improved;
innodb_log_file_size = 256M: set innodb_log_files_in_group=2, set log file size (for data recovery), and logthe number of copies saved;
key_buffer_size: recommended small, 32M or so, it is recommended to close Query_cache;


mp_table_size and max_heap_table_size set not too large, sort_buffer_size, join_buffer_size, read_buffer_size, read_rnd_buffer_size and other settings also do not too large;

Linux system security:
RootKit Backdoor Detection Tool, Rkhunter
https://rootkit.nl/software/rootkit-hunter/
https://rootkit.nl/software/rootkit-hunter/;

Installation:

./installer.sh--install
Rkhunter-c

Linux is attacked, troubleshooting ideas:
Vim/var/log/messages
Dmesq, based on memory information, real-time output;
Vim/var/log/secure, login log
Vim. Bash_history View user command log files;

Find the corresponding system files through the process PID:
Ps-ef
Ll/proc/25199/exe
Pidof sshd View PID

High teacher Videos Learn the dry goods

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.