Linuxthe linear address in memory is4G,0~3gfor user space,3~4gfor kernel spaceFirst, Kernel spacekernel space is the memory address of 3~4g, which is used primarily to store high-priority codein the There are three types of kernel addresses in the
CentOS Time Out of sync workaroundOne, synchronize the system time with ntpdate from the time serverIf the system does not have a ntpdate commandYum Install NTPOnce the installation is finished, test it.As follows:[Email protected] ~]# ntpdate-u
Special Permissions Set_uid,set_gidSUID:Valid only for binary programsPerformer requires x permission for the programThe performer owns the permissions of the program owner while the program is runningFor example:The normal user executes the passwd
In the work we often have to find the problem through the log, but sometimes too many logs and do not know when the log is printed, then we can look at the method:1. Enter the directory where the log files are stored2. grep keyword * For example, to
When using a Linux system, you will often be asked to use Super permissions, but Root is too large, and generally use caution!!! So you can add sudo permissions to ordinary users, usually with ordinary users to operate, when the need for root access
I. Introduction to NFSNFS is the abbreviation for the network file system, which is the web filesystem. A type of distributed file contract, developed by Sun Company. The function is to allow different machines, different operating systems to share
1, Linux System Foundation This needless to say, is the foundation of the foundation, even this will not do, reference books, you can see the Bird Brother Linux Foundation, at least to master the book 60% content, do not have to master, but the
Before we discuss this issue, let's look at the computer concepts of physical ports, logical ports, port numbers, and so on.Port-related concepts:In Network technology, ports (port) consist of two types: logical port and physical port. A physical
1.Linux System File Propertiesls -ilEach column has the following meanings:第一列 Inode第二列 文件类型及权限第三列 硬链接数第四列 属主权限第五列 属组权限第六列 文件或目录的大小第七八九列 最近修改时间第十列 文件或目录名字2.Linux System File typesls -l
1.VI, clear the contents of the file, and then copy the contents from window Notepad to the Linux file, which commands? What's the point of note?Command line mode input GG + DG empty file Note to copy in edit mode, if you copy in command mode, the
1. See if the road is smoothPing the server's IP address (Windows)Command: IP Display Network informationIP Address = = = IP A displays network card informationIP address show eth0 ===ip a s eth0 display information for a NIC2. Is there any
1, the principle of file deletionRM Delete file deletes only the file name2, Control file deletion: The following two conditions at the same time to take effect1, the number of hard links file, there is a hard link i_link +1 reduce a hard link,
One, hard disk partition planning: swap (swap, swaps, swaps) partition : Virtual memory usage, cannot save user information.Boot (boot) partition : Save the relevant files for boot system. Root (root) partition : Place the root of the system file,
Mini Linux:Start the process:Centos6:post "bootsequence (BIOS)" BootLoader (MBR) kernel (if hard drive is not directly recognized, need RAMDisk) "Rootfs"Centos7:post "bootsequence (BIOS)" BootLoader (MBR) kernel (if hard drive is not directly
g++ using g++ to compile Hello World1. Writing the Hello World code2. Build the executable file using the g++ command hello.out3. g++ Command RulesPrecompiled g++-E hello. cpp -o hello.i compile g+ +-s hello. CPP -o hello.s Assembly G+ C
Under Linux system, reboot tomcat to use command to operate!1. First, enter the bin directory under Tomcat
1
cd /usr/local/tomcat/bin
2. Use Tomcat to close commands
1
./shutdown.sh
3.
Today, when playing Centos7 again, try to modify the port under SSH. Because SELinux is turned on by default, the SSHD service does not start properly if you do not modify the file configuration to modify the port.However, when I modify the port 22
Hostnamectl-h-H--help Display Help--version Displays the version of the installation package--transient Modifying the temporary host name--static Modifying a static host name--pretty Modifying a flexible host name-P--privileged privileges obtained
There are three ways to set environment variables under Linux, one for the current terminal, one for the current user and one for all users:One: For the current terminal:In the current terminal, enter:Export path= $PATH:However, the method above
This digest is written from:Baidu ExperienceHttps://www.cnblogs.com/ieayoio/p/5757198.htmlFirst, Windows: Start----> Run---->cmd, or the WINDOW+R key combination to bring up the command window1, enter the command: Netstat-ano, list all 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