GCC = GNU C Compiler, the following is a brief introduction to its use.1 pretreatment (pre-processing)$ gcc- e- o hello.i hello.c-E Stop after preprocessing2 Compiling (compiling)$ gcc- s- o hello.s hello.i-S post-compilation stop3
Ifconfig Viewing network card informationThe first type of configurationVim/etc/sysconfig/network-scripts/ifcfg-eth0Device= the device name associated with "eth0" to be consistent with the second half of the file name "Eth0"Onboot= "Yes" activates
RCP stands for "Remote file copy". This command is used to copy files between computers. The RCP command has two forms. The first format is used for file-to-file copies, and the second format is used to copy files or directories to another directory.
Yum (full name Yellow dog Updater, Modified) is a shell front-end package manager in Fedora and Redhat and SuSE.Based on RPM package management, the ability to automatically download RPM packages from the specified server and install them, can
about hard drives:When the head is reading and writing data, it does not touch the disk surface, but is suspended in a very close proximity to the surface of the disc. If, for some reason, the head touches the disc, it can have devastating
Snort is now recognized as the best IDs on Linux
. Using SELinuxSELinux is used to secure Linux, and with it, users and administrators can gain more control over access control. SELinux adds finer granularity control to access control. Unlike
two, how the operating system works 1. Function Call StackThree magic weapons: Stored program computer function call stack break mechanismStack: is a space that the C language program must run with a record call path and parameters. It is a
How does the operating system work?First, summary: three magic Weapon1. Stored program computer + function call stack + interrupt mechanism2. Stack: C language Program run time must be a record call path and parameter space (function call
in the last section we understand rsync The use of tools, in this case, when we learn a tool, the first thing to think about is what the tool is doing, and then with this problem to complete the experiment, so that we can be more effective. We said
One, group account fileThe group account file consists of two parts:/etc/group,/etc/gshadow, which holds the group account name, GID number, group members and other information, the latter is used to save the group account of the encrypted string,
1. Special PermissionsSUID: When running a program, the owner of the corresponding process is the owner of the program file itself, not the initiator. (suid permissions generally do not use in special cases)chmod u+s file to add corresponding suid
how the operating system worksOne, function call stack1, computer work three magic weaponStorage program computer, interrupt mechanism, stack2, Stack is the C language program must be run when a record call path and parameter space-Function Call
Uninstalling NFS, resulting in a situation where the uninstallation could not occur[Email protected]/]# umount/mnt/Umount:/mnt:device is busyUmount:/mnt:device is busyUsing Umount-f, the problem remains[Email protected]/]#
Partition capacity is larger than 16 tb formatted, partition capacity is 16 tb
File systems do have limits. thats no surprise. ext3 had a limit at 16 TB file system size. if you needed more space you 'd have to use another file system for instance
Centos7 time synchronization server
It's a bit difficult today. Because of inconsistent server time, many log logs are missing during data synchronization.
So. Let's talk about the time server first.
Start:
Method 1: simple, efficient, and easy
Modify the Mac address of the NIC in centos
Add a line in the file/etc/sysconfig/network-scripts/ifcfg-eth0 similar to the following
MACADDR = 00: 04: AC: 33: 1C: 3B
A: The MAC address is the physical address of the NIC. You can change the MAC
16 pieces of knowledge about CentOS basic optimization
1. Do not use root management, and use sudo authorization management in the name of common users;
2. Change the default remote connection to the server, disable remote connection from the root
Detailed explanation of centos 7 Nic Configuration
For centos7 users, the NIC naming rules become very strange, making the NIC name completely different from the eth series naming method we were familiar with before, in this way, it is inconvenient
The simple principle of sudo commands in CentOS
① Knowledge from the principle of minimal security for Linux optimization: grant the minimum permissions to common users, that is, grant only necessary management system commands.
Therefore, 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