**linux system add Operation Record Audit1.mkdir-p/usr/local/domob/records/chmod 777/usr/local/domob/records/chmod +t/usr/local/domob/records/2.vi/etc/profile Add the following code at the endif
Linux application Memory layout1. From low address to high address: code snippet, data segment, BSS segment, heap, Stack (Bss,block Started by Symbol, AKA: Uninitialized data segment)2. Heap to high memory address growth3. Stack to low memory
View CPU Information commands# total number of cores = number of physical CPUs X number of cores per physical CPU# Total Logical CPUs = number of physical CPUs x number of cores per physical CPU X number of hyper-threads# View the number of physical
System upgrade source and software update source and package
sudo apt update && sudo apt upgrade-y
Configuring the Chinese Environment
Install the Chinese Language pack
sudo apt install-y language-pack-zh-hans
TCP Too many connections, resulting in slower applicationsNetstat-nat |grep ' established ' |awk-f ' []+ ' {print $} ' |awk-f ': ' {print '} ' |sort-n|uniq-c|sort-nTwo • Determine if the server has been rebootedThree · View CPU-related
View
RPM is an abbreviation for the Red-hat Package Manager (RPM packages Manager)The naming rules for RPM:The first part is the name of the RPM package, the second part is the version number, the third part is the release number of the version, part IV
1. Create a temporary working directory for USmkdir Deb2, new directory of our programmkdir Hello3, the preparation of our programWe start with the HelloWorld program we know best,The HELLO.C code is as follows#include stdio.h> int main (){printf
Recently in the video learning Linux, found that their original study of Linux are some fur, can not be used in the actual work, to this end, special records of their own learning process. ???????? The old three-grep of the Three Musketeers of Linux
1. Build Virtual MachineA. Copying virtual machine filesFirst copy our previously installed FASTDFS virtual machine, as we will now set its IP to 21, renamed to Centos-fastdfs-21.B. Set up the network
generate a new MAC address
1. Use the fdisk-l command to view the disks that can be partitioned2. Partitioning using the parted commandParted/dev/sdb3. Create a partitioned tableMklabelDisk type Select GPT, warning Select Yes to erase disk original information4. Use the Print
In the use of Linux operating system, it is sure to avoid the use of Java programs, but the use of Java programs can be fixed without JDK, sometimes use yum installed open jdk a lot of features are abnormal, the following is the source jdk1.8
1. View the firewall status Systemctl list-unit-files|grep firewalld.service or Systemctl status Firewalld.service2. Turn on Systemctl start Firewalld.service3. Stop Systemctl stop firewalld.service4. Restart Systemctl restart Firewalld.service5.
The grep command finds a character pattern in one or more files.
If the pattern contains spaces, you must enclose it in quotation marks.
grep Tom /etc/passwd
grep will look in the file for/etc/passwd in Find mode Tom.
Synchronization server time is generally used ntpd, for security reasons not all servers are able to surf the Internet, need to establish a time server in the intranet, and then synchronize with the intranet time server.I prefer a simpler one,
Tag: Indicates that the start GPO does not display the Star project introduction wal compilation optionsProblem Description:To compile a Linux module, the following error occurred:Error:conversion to ' int. ' from ' unsigned int ' could change the
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, mixed mode)```2、检测jdk安装包[Email protected]
linux--installation of virtual machines:First you need an executable (Vmware-workstation-full-14.1.2-8497320.exe) file and a Linux (Centos-7-x86_64-dvd-1511.iso) systemAnd then in the process of installation:then just restart;The next step is to
Funnel Family output redirectionEnter the correct command result into the file.Notice:echo -- display a line of text>>Append redirect, append to last row.[[email protected] fangqihan]# cat 1.txt haha[[email protected] fangqihan]# echo 'hello linux' >
Under Modify/etc/profile, add the following two tomcat configurations. apache-tomcat-8.0.50 for the first Tomcat, Apache-tomcat-8.0.50_2 for the second tomcatExport Catalina_base=/usr/java/tomcat/apache-tomcat-8.0.50export
The grep command in a Linux system is a powerful text search tool that uses regular expressions to search for text and print matching lines. The grep full name is global Regular expression Print, which represents the globally regular expression
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