Nowadays, not only has Linux made great progress in the server field, but more and more users are choosing to use it in the desktop application field. The following uses RedHatLinux9.0 as an example to describe how to build a dual system with
I. GDB program debugging: program debugging tool 1. function: a) start the program to be debugged B) stop the program at the specified position c) when the program is stopped, check the program status 2. use: a) compile the program gcc with a
A) generate: keys, hardware exceptions, kill function sends signals B) common signals: 1. SIGHUP: end signal 2. SIGINT: interrupt signal ctrl + c3.SIGKILL: end the process of receiving the signal 4. SIGTERM: the signal sent by the KILL command. 5.
A) meaning: multiple processes share part of the physical memory. Fast access, convenient B) first create shared memory: intshmget (key_tkey, intsize, intshmflg) 1.Key: indicates the shared memory key value; 0/IPC_PRIVATEa) Key0: this is not created,
A) create a file: Intcreat (constchar * filename, mode_tmode) 1. filename: name of the file to be created 2. # include & lt; sys/types. h & gt; # include & lt; sys/stat. h & gt; # include & lt; fcntl. h & gt; 3. mode: creation mode: only create a
A) the header file must be included: # include & lt; time. h & gt; B) time type: 1. greenwich Mean Time: 2. calendar Time: the time represented by the number of seconds passed by a standard time point. The essence is the number of seconds. c) obtain
A) Socket: file descriptor 1. purpose: implement network programming in LINUX 2. classification: a) reserved socket: use TCP protocol (SOCK_STREAM) security B) datagram socket: use UDP protocol (SOCK_DGRAM) fast c) original socket: use IP protocol :(
(1) Development of the Linux kernel module: 1. how to use required component a) compile all components into the kernel file: I. defect 1: the kernel file is too large. ii. defect 2: If you want to add or delete a component, you need to recompile the
1. clear temporary files, intermediate files and configuration files: execute a in the top-level directory) Makeclean: delete the generated files and save the configuration file B) Makemrproper: delete the generated files and configuration files c)
1. pending in/etc/pm/config. d New document graphic_suspend open graphic_suspend add command 1SUSPEND_MODULES & quot; $ SUSPEND_MODULESxhci-hcd & quot; then save Close 2. enable/etc/modprobe in the blacklist. d/blacklist add the following line 1.
Linux systems are started through the following steps: (refer to version: 11.10) 1. read the MBR information, start BootManager2, and load the system kernel, start the/sbin/init process is the root process of Linux, and all system processes are its
This article is reprinted from the hacker's Blog (this is a group Blog with many people working together. it aims to provide fresh and high-quality hacker articles for domestic developers. the main source of this article is HackerNews .) Original
This is a tough issue. I want to record it to vent my anger: 1. restart apache: 1 sudo/etc/init. d/apache2restart2. [warn] NameVirtualHost *: 80hasnoVirtualHosts will appear after the apache virtual host. Solution: directly... this is a tough issue.
After ubuntu is installed, the first thing is to connect to the Internet, change the source, and perform the update operation, but the prerequisite is that the ip address and dns must be configured. Next we will record the configuration process and
System # uname-a # View kernel/OS/CPU information # head-n1/etc/issue # View OS # cat/proc/cpuinfo # View CPU information # hostname # View computer name # lspci-TV # List all PCI devices # ls... system
# Uname-a # View kernel/operating system/
Logrotate is a management tool for linux system logs. It can rotate, compress, and mail system log files. By default, logrotate is added to/etc/cron. daily of cron for daily task execution. /Etc/logrotate. conf specifies the default configuration
Host environment: the GentooLinux3.1.10WPASupplicant toolkit allows you to connect to those APS that use WPA. Because it is only a beta version, its configuration method will often change & mdash; despite this, it can work well in most cases.
In Linux, the file lock operation is mainly completed through the following two APIs. # Include & lt; sys/file. h & gt; intflock (intfd, interval peration); or # include & lt; unistd. h & gt; # include & lt; fcntl. h & gt; intfcntl (intfd, intcmd);
1. Basic Operations & amp; Oslash; directory operations ① view the main directory. enter the pwd command to display your main directory. For example:/home/arm ② to view which directories and files in the main directory are in long format, enter 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