1 My Linux requirements
I'm talking about the need for online Linux, so I'm just talking about a stable release and a more conservative version. For example, CentOS 7 XFS is not discussed, not to say that XFS is not good, but at present my Linux
System call is a set of interfaces that the operating system provides to interact with hardware devices such as CPUs, disks, printers, and so on, for processes running in user state. When a system call is required by a user process, the CPU switches
One, install bind1. Download bind http://www.isc.org can also go to this site to download bind9 DNS software.2. Compile and install
Copy Code code as follows:
# tar ZXVF bind-9.4.0.tar.gz
# CD bind-9.4.0
#./configure sysconfdir=/
1. View Linux Boot Services
Copy Code code as follows:
Chkconfig--list query out all currently running services
Chkconfig--list ATD Query ATD The current state of the service
2. Stop all services and no longer start the next time
Strace and GDB are two common debugging tools in a Linux environment, and here is a summary of the common parameters used by individuals in the use of these two tools for later viewing.
strace Debugging ToolsThe Strace tool is used to track system
IntroductionA condition variable is a mechanism for synchronizing a global variable shared between threads, consisting mainly of two actions: one thread waits for the condition variable to hang (the CPU is no longer in use), and another thread makes
General article:
First, look at the process with PS by using the following methods:
Copy Code code as follows:
$ ps-ef
$ ps-ef
......Smx 1822 1 0 11:38? 00:00:49 gnome-terminalSmx 1823 1822 0 11:38? 00:00:00 Gnome-pty-helperSmx 1824
The SED command line format is:sed [-nefri] ' command ' Enter text
Common options:-N: Use Quiet (silent) mode. In general sed usage, all data from stdin is generally listed on the screen. However, if you add the-n parameter, only the line (or
Step1. Install Apache
Enter a command in terminal
Copy Code code as follows:
sudo apt-get install apache2
Open the browser, enter in the Address bar: 127.0.0.1, if there is "It works!", indicating the successful installation
1. Close NginxUsing Ps-aux | grep Nginx See if the nginx is started and kill if it starts.2. Create/etc/init.d/nginx files
root@dnnp:~/software/nginx-1.2.3# Vim/etc/init.d/nginx
3, add permissions and start
root@dnnp:~/software/
Linux shortcut keys in the console:
Move the cursor in the word unit;Shortcut keys: Ctrl +→Ctrl +←
The cursor moves to the beginning of the line;The cursor moves to the end of the line;Shortcut keys: Ctrl + AShortcut keys: Ctrl + E
Note: Settings for environment variables are set by export.For export use see: http://www.cnblogs.com/DengGao/p/6341443.htmlEnvironment variables are closely related to the shell, and the user logs on to the system and launches a shell. It's usually
/root/.ssh (The following is the root permission operation)1. Generate key.$ ssh-keygenAll the way to the return, until the Id_rsa is generated, id_rsa.pub1.1 chmod Id_rsa.pub2. Modify the/etc/ssh/ssh_config file (root user)//normal user Vim
When a matching file is processed using the-EXEC option of the Find command, the Find command passes all matching files to exec execution. However, some systems have a limit on the length of the command that can be passed to exec so that an overflow
Then yesterday's review.1, bash under the userAdministrator, command prompt for #650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M01/8D/00/wKiom1iBXxShNd_zAAAN_9YTrKY635.png "title=" 2.PNG " alt= "Wkiom1ibxxshnd_zaaan_9ytrky635.png"/>For
System logs are information that records hardware, software, and system problems in the system, and can also monitor events that occur in the system. It allows the user to check the cause of the error, or to look for traces left by the attacker in
Each peripheral is controlled by reading and writing its registers. Peripheral registers, also known as I/O ports, typically include: control registers, status registers, and data registers.Depending on the CPU architecture, there are two ways that
1. Create users and user groups1) Users and user groups/ETC/PASSWD basic information for saving system users/etc/group Saving User group informationUser name: X:uid:gid2) Basic CommandsUseradd adding usersGroupadd Adding user groupspasswd setting a
Supplement: about man, Common commands in see also and vim
1.When checking the/etc/issue file, use man issue to find that see also in manual contains the words motd (5), agetty (8), and mingetty (8. And the meaning of the issue (5) at the beginning
Fixed eth0 to solve the Virtual Machine bridging problem. eth0 Virtual Machine
Solution to the absence of ifcfg-eth0 profiles in centos1. In other words, centos6 uses the NetworkManager method to manage the network. You can run the following
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