ObjectiveThe development direction of operations, centralization, automation, standardization, virtualization, distributed.This article shows a tool for automating the development of operations: Ansible. Ansible has many advantages, only need ssh
You can get a general idea of system resource usage within 1 minutes by executing the following command.
Uptime
DMESG | Tail
Vmstat 1
Mpstat-p all 1
Pidstat 1
IOSTAT-XZ 1
Free-m
Sar-n DEV 1
Sar-n tcp,etcp 1
First, disk formatDisk partition can not be used directly, you need to format each partition, formatting is actually installed system files.Command mke2fs: Formatting into XFS system files is not supportedMKFS.EXT4 = = mke2fs-t ext4 two commands
First, load Balancing introduction
Main open source software LVs, keepalived, Haproxy, Nginx and so on;
The LVS belongs to 4 layer (network OSI 7 layer model), Nginx belongs to 7 layer, Haproxy can be considered as 4 layer, can
Software RAID: can only be viewed by the Linux system itselfCat/proc/mdstatYou can see information such as RAID level, status, and so on.Hardware RAID: The best way to do this is through the management tools of the installed RAID vendors, with
1. Switch Machine reboot restart:shutdown [-effhknr][-t seconds] [TIME] [warning message] Shutdown:Shutdown [-effhknr][-t number of seconds] Time [Warning message] Shutdown:-C When executing"shutdown-h 12:50"command, just press +key to interrupt the
I. File locationLocation in general under the/var/spool/cron/, if you are the root user, then there is a root file, recommended daily backup, to avoid accidental deletion resulting in crontab file loss;Two. log file locationBy default, the logs
Ext.: https://jingyan.baidu.com/article/25648fc18f22b29191fd0011.htmlYou can see the original picture without seeing it clearlyLVM is the short name of the Logical Disk volume management (Logical Volume Manager), which is a mechanism for managing
Linux InstallationAs a result of a slight focus on virtual machine-related knowledge, the knowledge about virtual machine software is generally known. Currently I know that the ubiquitous virtual machine software is VMware Workstation (hereinafter
In front of a vectorcoredump example, contact with the vector iterator, can know that the vector iterator only one member _m_current point to a vector element.First look at the example:1 #include 2 3 void init (std::vector& vec) 4 { 5 for (
1. Network Basics
Network addressing
IP Addressing
Subnet mask
Communication--mac address between the same network host
Communication between different networks
Routing
Domain name
Dns
Basic
No matter how much memory is available on the computer, Linux kernel needs to recycle some of the memory pages that are seldom used to ensure that the system continues to have memory usage. Page recycling has three ways of page writeback, page
The last time we learned the disk partition, after the partition is not directly used, we need to format the partition, load a type of file system, and then mount to the appropriate directory to use.A disk formatFormat command:mke2fs -t [ext2 ext3
How to install OBS Studio 18.04 in Ubuntu 16.04/21.1
OBS Studio is a free open-source live streaming and screen recording software. It has 21.1 versions a day ago. The following describes how to install Ubuntu 18.04, Ubuntu 17.10, Ubuntu 16.04, and/
How to Make shell scripts stop and shell scripts stop
Sometimes the shell script we write contains some background tasks. When the script process has been executed to the end and exited, these background tasks are directly linked to the init/systemd
How does CentOS modify the time zone and time ?, Centos Change Time ZoneModify the time zone:
The CentOS time zone is configured in/etc/localtime. The simplest way to modify it is to make a link to the time zone you want to configure (the available
Rmdir command usage introduction for one linux Command every day, And rmdir command sharing for linux commands
Rmdir command. Rmdir is a common command used to delete an empty directory. A directory must be empty before it is deleted. (Note that
Use Firewall and centosfirewall in CentOS 7
In CentOS 7, a new service is introduced,FirewalldThe following figure shows the relationship and difference between Firewall and iptables.
To install it, you only need
yum install firewalld
If you need a
Batch configure SSH mutual trust script and ssh mutual trust script
During large-scale automated deployment, we often need to configure SSH mutual trust on the server so that the automated script can log on to the remote server without password. The
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