Script memory and CPU footprint is very low!
Answer the question when my script has been completed 60%, yesterday morning overtime completed, using the Orc parsing verification code, specify only the analysis of numbers!
Before using the need to
A machine (SSH connection initiator, i.e. client):Add a test user AAA
The code is as follows:
[Root@a ~]# Useradd AAA
Su becomes AAA
The code is as follows:
[Root@a ~]# SU-AAA
[Aaa@a ~]$
Ssh-keygen Create an RSA key pair
The
WordPress University in the last few days the server environment is not very stable, CPU occupancy is always 100%, toss several times did not find the reason, had to consider the reconfiguration of the environment, considering the configuration and
Windows bat Batch File
The code is as follows
Copy Code
@echo offSet time_hh=%time:~0,2%if/i%time_hh% LSS (set time_hh=0%time:~1,1%)Set filename=%date:~,4%%date:~5,2%%date:~8,2%_%time_hh%%time:~3,2%%time:~6,2%echo Test >>
Ext3 or use 15 inode to find blocks of data, the first 12 are direct data blocks, directly to the data block stored data, followed by first-level indirect block, two-level indirect block, three-level indirect block, the following figure:
In the Linux Environment Performance optimization practice, Hugepage is a frequently mentioned method. Simply put, Hugepage is a way of using memory blocks on the Linux kernel. As an alternative to the traditional 4K page, Hugepage can improve the
Repair method:
1: Upgrade the latest version of OpenSSL, restart the corresponding service. #比如OpenSSL的1.0.1 of users should upgrade to 1.0.22: Modify the SSL encryption algorithm: (Nginx conf:ssl_ciphers all:! Adh:! Export56:rc4+rsa:+high:+medium:+
Now many new PCs (especially the motherboard integrated network card machine) support the remote wake-up function (Wol,wake on Lan), through remote wake-up, you can facilitate the administrator to achieve automatic computer opening. Of course the
To use the Linux cron service, you must install the Vixie-cron RPM package and must be running the Crond service. To determine if the package is installed, use the Rpm-q vixie-cron command. To determine whether the service is running, use
The problem should be that the/usr/home/boot partition disk detected a problem.
Give root password for maintenance
(or type control-d to continue): After entering the password, it appears:
(Repair filesystem) 1 #
Execute the following command:
#
Why do you want performance tuning?
Most Linux distributions are designed to be fully compatible with most computers in the marketplace. This is a fairly mixed set of hardware (hard drive, video card, NIC, etc.). So Red Hat, Suse,mandriva and some
A feature commonly used in Scheduled tasks, detailed below:
Start and stop of services
The cron service is a built-in service for Linux, but it does not boot automatically. You can start and stop a service with the following command:
Linux Code
/
DescriptionThis article implements Linux timed to www,msyql,svn directory rsync to win2003 designated directory.Win2003 install Cwrsync, as the server side of Rsync, running the Cwrsync daemon daemon, accept the files synchronized with Linux;Linux
When you use Linux, you need to log in as a user, limiting the resources that a consumer can access, and groups are used to facilitate the organization's management of users.
Users and Groups
• Each user has a UserID• Each user belongs to a
Iptables Shielded IP
The code is as follows
Copy Code
Iptables-i input-s 202.77.176.106-j DROP
An entire paragraph, the order from 192.0.0.1 to 192.255.255.254.
The code is as follows
Copy Code
Today to the Company by convention to check the status of all servers, found that the memory of a server is much larger than usual, the following figure
Immediately QQ asked the next program development whether the last 1-2 days changed something,
Change time zone to East 8, Shanghai
1 cp/usr/share/zoneinfo/asia/shanghai/etc/localtimeModify Host Name
1 #需要改下边这两个文件:
2 vim/etc/hosts
3 Vim/etc/sysconfig/networkView the number of connections per IP for a server to detect DDoS
1 Netstat-ntu |
First, what kind of situation requires a lot of deployment
1, the installation of the operating system
Common is collber,red hat satelite (Redhat) system dedicated.
2, the operating system configuration
Common to have cfengine,puppet,chef,func. One
This is a program developed by Red Hat following GPL rules. It has an interactive operation interface that allows you to easily set the time zone of the system time by using the arrow keys and space keys.SyntaxTimeconfig [-- arc] [-- back] [-- test]
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