If you have more than one server to be operational, you can generally consider ansible,puppet, but if you simply want to execute a command on more than one server, use Xshell.The first thing to do is to display the "Compose bar" and then enter the
First, create a userSyntax: Useradd user nameExample: such as Useradd WenxuehuiSecond, switch usersSyntax: SU user name and enter user name passwordThird, Linux adds the command to the path1, first check where the commandFor example, add a useradd
sudo 以另一个用户身份执行命令Syntax format: sudo "option" sudo [options]Note: There must be at least one space between each element in the sudo command and subsequent options and filesParameter options:-L, which lists the commands that the current user can
First, work management
Put the command in the background to perform "&"
[[email protected] ~]# for n in ' Seq 10000 '; do echo $n >>/tmp/test.txt;done & # # #在命令的后面接 & put the command in the background execute [ 1 ] 1446 ######[1]
Full key for tab command or path, Linux most useful shortcut key *CTRL + a cursor back to the beginning of command *ctrl+e cursor back to command line end *Ctrl+f the cursor to the right by one character (equivalent to the RIGHT ARROW key)CTRL+B
1, check the JDK version of the system[Email protected] software]# java-versionShow:OPENJDK version "1.8.0_102" OPENJDK Runtime Environment (build 1.8.0_102-b14) openjdk 64-bit Server VM (build 25.102-b14, MI Xed mode)2. Detect JDK installation
start the first step -- load the BIOS When you turn on the computer, the computer loads the BIOS information first, and the BIOS information is so important that the computer must find it at the very beginning. This is because the BIOS contains
Step one: See if the server is installed VSFTPDRpm-qa | grep vsftpdView the SELinux configurationVim/etc/selinux/configModify the SELinux value to DisabledStep Two: Install the VSFTPD serviceYum Install-y vsftpdStep Three: Modify the configuration
Swap uses: Swap means the swap partition, which is usually what we call virtual memory, which is a partition that is partitioned from the hard disk. When the physical memory is not available,The kernel releases some long-unused programs in the cache
Hard disk Partitioning
Divide a large hard drive into small logical partitions
Partition type Primary partition
There can be up to 4
Extended partition
There can be at most one
Primary partition + extended
VI A total of 3 mode command mode, input mode, the last line modeCommand mode press A, I, O, s to enter the input mode: input mode press ESC to enter the last line mode and command modeCommand modeI: Switch to input mode, before the cursor
1. Delete the 0-byte file find-type f-size 0-exec rm-rf {} \;2. View processes sorted by memory from large to small ps-e-O "%c:%p:%z:%a" |sort-k5-nr3. Sort ps from large to small by CPU utilization -e-o "%c:%p:%z:%a" |sort-nr4. Print says
Main content:One, install VMware virtual machinesSecond, install the Linux system1?? Installing VMware virtual Machines 1 . Why choose VMware virtual machines? Linux systems have low requirements for hardware devices, can be fully handled with
1. Count the number of files in the/usr/bin/directoryls WC -L Ls/usr/bin is used to display a list of files in this directory, WC is the command to count the number of words,-l is used to count rows If you use the following command "LL", then the
Redhat supports a variety of installation methods: CD-ROM installation, hard disk installation and network installation, etc., can be selected according to the actual situation of individuals. I am here to choose a CD-ROM installation of the way to
Linux is not graphical, we do not like the Windows operating system, we choose to click, we can only choose the command line in Linux to operate, the following describes how JMeter in Linux run.1. First, the JMeter script is done in Windows, set up
Projects that have been tested on the most recent test environment cannot be completely closed through shutdown.sh.There are two methods of temporary workaround:First: by Ps-ef|grep Tomcat to see the Tomcat process using kill directly to kill the
It has been a long time to encounter a problem in these two days.We are automatically released with G3, but the program is deployed to the system above a Chinese font disappears into a space.Export the log, convert the font to UTF-8, and find that
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