Setting up a local SVN server in Linux can effectively manage your ownCodeThe specific process is as follows:# Mkdir svn_local# Cd svn_local# Svnadmin create led_diplayThe following directory is available in the xxx Directory: conf Dav dB format
For Linux I/O performance tuning, you can consider the following aspects:
1. The pre-read granularity of Block devices. The size of this value is determined based on the granularity of read and write operations.
2. Block device
Step 1: Download the Linux kernel source code (URL: http://www.kernel.org /)
Step 2: deploy the kernel source code to the relevant directory of the Linux system.
Start Linux, open the terminal interface, and change the permission to root user. Enter
If it is #, It is root. If it is $, view the current user who
Change passwd Password
View the current directory pwd
View kernel version uname-r
View the Command help such as man shutdown,/xxx to find xxx ,? Xxx: Search for xxx, and q is
Install dual-NIC: Intranet (eth0) IP: 192.168.16.38GATEWAY: 192.168.16.1 Internet (eth1) IP: 61.136.151.38GATEWAY: 61.136.151.1261. install the first network card. The default value is eth0. Plug in the internal network cable. Generally, no problem
1 ChinaUnix Web site: http://www.chinaunix.net Description: C forum and shell Forum is very good C/C ++ Forum: http://bbs.chinaunix.net/forumdisplay.php? Fid = 23 shell Forum: http://bbs.chinaunix.net/forumdisplay.php? Fid = 24 man documentation:
The example used is the source code in the Linux Device Driver.
Existing Problems and Solutions:
1. CFLAG errors. Block all CFLAG items in Makefile;
2. The system prompts linux/config. h no such file or directory. In/usr/src/linux-source ....
# Include # Include # Include # Include # Include # Include
Int main (void){Pid_t child;If (child = vfork () =-1) // create a sub-process{Printf ("error ");Exit (1 );}Else if (child = 0) // sub-process{Printf ("I can do it, % d \ n", getpid
In order to learn the driver of character devices, we have to understand some related structures... So, open the kernel through Source Insight... I browsed important driver structures.
* User-driver relationship: user space read, write, etc. --->
ICMP is an Internet Control Message Protocol. It is a sub-Protocol of the TCP/IP protocol family. It is used to transmit control messages between IP hosts and routers. A message control refers to a message of the network itself, such as network
Common commands and troubleshooting tools:
View Processes
Ps aux | grep named
Start
Service named start (centos)
/Usr/local/bind/sbin/named-4 (redhat)
Kill
Killall named
View port
Netstat-ano | grep 53
Detection
Nslookup
Dig
Dig-x
Change
I learned about linux shell commands for about two hours today. I have introduced a lot of linux shell commands that I don't know at ordinary times.
I sorted it out and pasted it out.
Basic Linux shell format:
Command [options]
1. Do not mount the SD card umount to the SD card Partition2. view the SD card fdisk/dev/sdbCommand (m for help): dPartition number (1-4): 1
Command (m for help): dSelected partition 2
Command (m for help ):Command (m for help ):Command (m for help )
To delete a file, you do not have to have the write permission for the file, but you must have the write permission for the file's parent directory. That is to say, even if you do not have the write permission for a file, but you have the write
(1) tree-A displays all files and directories
(2) tree-D displays the directory name rather than the content
(3) tree-F displays the complete relative path name before each file or directory.
(4) tree-F adds "*", "/", "= ","@", "|.
(5)
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