2.6 Cores1> Modify the linux-source-2.6.31/kernel/sys.c file to add the system response function at the end of the file. The function is implemented as follows:asmlinkage int Sys_mycall (int number) {PRINTK ("This is the first system call I added")
Mount file system with Unmount file systemMount/umountNO1. Mount Optical Drive[Email protected] root]# mount-t Iso9660/dev/cdrom/mnt/cdromNO2. Mount Optical drive, support Chinese[Email protected] root]# mount-t iso9660-o codepage=936,iocharset=cp936
Category: 1) through the mii-tool Directive[Email protected] root]# Mii-tooleth0:negotiated 100basetx-fd, link okEth1:no LinkOr[Email protected] root]#mii-tool-veth0:negotiated 100basetx-fd, link okProduct Info:vendor 00:50:43, Model 2 Rev 3Basic
Transferred from: http://onlyzq.blog.51cto.com/1228/546459echo display with color, need to use parameter-EThe format is as follows:Echo-e "\033[word background color; text color m string \033[0m"For example:Echo-e "\033[41;37m Tonyzhang
Compile and run C + + under VIVI 1.cpp (create CPP file name)I (enter insert mode to start editing)Enter completion code and press ESC to exitThen press Shift +: Enter Wq (Save and exit)g++ 1.cpp-o 1 (Compile the 1.cpp file, the compiled executable
FAAC1.28:http://www.audiocoding.com/downloads.htmlHow to compile:1../configure--host=arm-hisiv100nptl-linux--prefix=/home/ssy/lib2.make3.make InstallOptimizationIn the case of non-modification of the source code, FAAC memory consumption is very high,
Input and output redirection 1, input and output redirection, is for the filter, not for, editor and interactive tool 2,> only the correct standard output redirection, output error message, you can use 2> 3, new or empty files can be used directly
Only know how to use this, plus double quotes, the reason is not very clearThe reason is that with double quotation marks can prevent escaping, using & in Linux will make the process background run, must be escaped to &, and the way of adding
The Chkconfig command is primarily used to update (start or stop) and query run-level information for system services. Keep in mind that Chkconfig does not immediately automatically disable or activate a service, it simply changes the symbolic
The startup process of the Linux kernel (uimage format image, Uimage = Zimage_ Compressed kernel image + 0x40 byte size uboot format information header) can be broadly divided into three phases: First: The Kernel's self-extracting process
Environment IntroductionServer side: Centos 6.4Client: Windows 7
Server-side configurationSet the system default startup mode to graphics mode, and the configuration file/etc/inittab file content is adjusted as follows:# Default RunLevel. The
Http://blog.163.com/[email protected]/blog/static/162607494201271435333906/To view the size of an OS system block[root]#/sbin/tune2fs-l/dev/sda1To view the size of the OS system page[Email protected] ~]$ getconf PAGESIZE4096To modify the size of a
#!/bin/bash#author:haiy#email:haiyangfu512@gmail.com# Fri Apr 25 13:04:48 CST 2014
# GNU licence. # monitor and keep the program runningDEBUG = falsefunction restart_program () {# send the command to be executed to screen if [$ #-lt 3]; then echo $ #
Share a folder under a virtual machine: (prerequisite installed: vmtools: http://blog.csdn.net/pipisorry/article/details/21318931) Open VMware-> toolbar-> Virtual Machine-> select Settings-> Option share folder point add, follow the prompts to add a
This is currently the safest tutorial. If you are a newbie, follow the steps in this tutorial. If you have a certain foundation, you can skip some paragraphs.Modify port configurations
Run
vim /etc/ssh/sshd_config
Find the line # Port 22, remove the
File permissions in linux are usually displayed in the following format:
Chmod File Permission: permission management chmod
-A all permissions-u file owner permissions-g group permissions-o Other User Permissions
You can use the operator
Keepalived specifies the log file
First, check the parameters of the keepalived command.-S specifies the syslog facility.
/Usr/local/keepalived/sbin/keepalived -- vrrp-P Only run with VRRP subsystem./Usr/local/keepalived/sbin/keepalived -- check-C
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