I. Custom Linux via Yocto1. Installing YoctoYocto can only be compiled under a non-root user, so create a new user first. Useradd Chen Passwd-d Chen restarted the computer and entered Chen's user .Add root permission to Chen user, vim/etc/sudoers
Production of RHEL6 Tiny Linux################### RHEL6 Tiny Linux #################Linux start-up process to create, pre-condition: Host, standalone hard disk (also can use image files)First step: partition, Mount, the following is the partition
Sed is a good file processing tool, itself is a pipe command, mainly in the behavior of the unit processing, you can replace the data rows, delete, add, select and other specific work, the following first understand the use of SEDThe SED command
In the Linux authoring process, there are two files that we must understand and know. One of these is the Kconfig file, and the other is the makefile file. If you are familiar with it, then it is certainly necessary for the kernel to compile the.
System InformationThe processor architecture of the Arch Display machine (1)UNAME-M Display the processor architecture of the machine (2)Uname-r displaying the kernel version in useDMIDECODE-Q Display hardware system
I. Using the SU command to temporarily switch user identities1, Su's applicable conditions and powerThe SU command is the tool to switch users, how to understand it? For example, we use ordinary user Beinan login, but to add user tasks, execute
I. Related operations of the directoryComparison of special directories:. Represents this layer directory: Represents the upper level directory-Represents the previous working directory ~ represents the current user's Living folder~accout represents
I. Conceptual understandingThere are four types of IO in Linux: synchronous (Sync) and asynchronous (async), blocking (block) and non-blocking (unblock)Sync: When a function call is made, it waits until the result is returned without getting the
I. Kmalloc and Vmallco In the device driver or kernel module dynamic open memory, not with malloc, but Kmalloc, Vmalloc, free memory is the KFREE,VFREE,KMALLOC function returned is the virtual address (linear address). The special thing about
HAProxy provides high availability, load balancing, and proxies based on TCP and HTTP applications, supporting virtual hosting, which is a free, fast, and reliable solution. Haproxy four-layer load Balancing SetupHost Planning:Server 192.168.1.148
Touch"function description": Linux touch commands are not commonly used, and are generally used when using make, to modify file timestamps, or to create a new file that does not exist. . the touch command parameter changes the date time of the
When working with such problems, the server needs to switch from root to PostgreSQL to install the user to start the PostgreSQL service.The switch user and start PostgreSQL commands are as follows:# Switch to Pgsql user su postgres# starting Pg_ctl
Multithreaded programmingOperating system principle ConceptTime slicesProcess statusContext: For a process, it is the execution environment of the process, specifically the variables and data, including all the register variables, open files, memory
1. Open the specified text file with VI: VI filename.c2. Press the ESC key to enter the command mode;3. Press: Key (press Shift key, press: Key at the same time) enter the command input state;4. After the colon, enter:%s/^m//gNote: ^m is a character
Copy and paste in LIinux terminal and Vim
In the GUI, we can copy and paste it freely. But in the character interface, we have to select with the mouse, then click the right key, select copy, and then go elsewhere to Ctrl-v. In addition, for those
Enable CentOS to automatically install rar and unrar with yum
Objective: To enable CentOS to automatically install rar and unrar with yum
System Environment: CentOS 7.0
The procedure is as follows:
1. edit the fileEdit the dag. repo file, or
CentOS command touch command
1. Command explanation
Create a file. If the file exists, update the file access and modification time to the current time.
2. Command Format
Touch [parameter] File Name
3. Common Command Parameters
4. Command
Installing the crontab service in CentOSToday, when I configured crontab on the test machine, I found that it was not installed, so I had to install one quickly.CentOS version: 5.7Procedure1. Check whether crontab is installed:Execute the crontab
Log on to the Linux server using SSH without a password
In the following example, ssky-keygen and ssh-copy-id can be used to log on to a remote Linux host without a password.Ssh-keygen creates the public key and key.Ssh-copy-id copies the public key
How to view the job running status on the Web
After submitting a job to a Hadoop cluster, we will find that the job running status cannot be viewed through the web, such as how many map tasks are started, how many reduce tasks are started, how many
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