Summary of problems with vim configuration in Centos 1. backspace is free to use set backspace = indent, eol, start. This Command tells Vim when the return key can be deleted in Insert mode.The characters before the cursor. The options are separated
A little Linux every day-Hard Disk knowledge today, disk interfaces are mainly divided into two types: IDE (Integrated Drive Electronics), SCSI (Small Computer System Interface ). They each have some differentiation or evolution, so the technical
1. The local machine is not connected to the Internet. Set yum to search for vi/etc/yum from the local device. repos. d/Centos-Media.repo 2. mount iso mount/dev/cdrom/mnt/cdrom3.yum install yum-y install samba * -- skip-broken4. modify the
In Linux, the application is displayed as a square to solve the java application in Linux (I use ubuntu). If a Chinese character is entered in the UI, it is displayed as a square.There is no problem in output or file generation, but the input in the
Svn: database disk image is malformed problem solution svn server is accidentally interrupted or the server is frequently powered off, which may cause svn data loss and data exceptions. If the problem is caused by an error in the svn database, the
The first problem that occurs after the project is deployed to linux is the Exception error generated during tomcat startup: java. io. fileNotFoundException: Mirrors. log (Permission denied) www.2cto.com this error is caused by my log4j. the log
Extraction of characters and statistics in Linux shell programming 1. Assume that the format of a bb file is as follows: www.2cto.com currently requires to extract the above part of the red body, which can be achieved through the following command:
Linux statistics-related command Learning 1. find the qualified row grep, egrep: www.2cto.com 2. extract valuable information and discard useless information. cut: for example, use double quotation marks as separators. Use the second segment: cut-d \
Kernel version of the _ read_mostly variable in the Linux kernel: 2.6.14 when reading the socket source code, there is the following sentence (net/socket. c): [plain] static struct vfsmount * sock_mnt _ read_mostly; I think _ read_mostly is very
Linux Shell special character and control character Shell special character # comment represents comment # comment represents in the middle of quotation marks and # echo itself $ {PATH ##:}# parameter replacement, not a comment echo $(2 #101011) #
In Linux, obtain the help man www.2cto.com man [Option] [command name] man directory: [root @ node203/] # ls/usr/share/manman initman-k keywordman-f keywordman-a keywordman-n keyword // The parameter does not exist, directly display the man
Global replacement of some strings in the shell script starting with crontab meets the following requirement: www.2cto.com needs to replace a domain name in the shell script starting with crontab, but I don't know how many shell scripts in crontab
Ubuntu ip & dns configuration 1. Set the IP address. Enter sudo gedit/etc/network/interfaces on the terminal. Assume that the network card is 0. If it is another network card, change eth0 to the corresponding value. Auto lo www.2cto.com iface lo
For linux Files or files, search for whereis www.2cto.com to find the software installation path-B to find only binary files-m to find only help files-s to find only source code-u to exclude files of the specified type -f only displays the file
1. Disable services not required by some servers
For example, bluetooth and pcscd
2. Cancel Some uncommon scheduled tasks
For example, makewhatis. cron (in/etc/cron. weekly and/etc/cron. daily) is used to generate the whatis database.
In addition,
Set up MRTG in linuxApache is also required. apache is installed under/usr/local/apache.The required software installation packages are as follows:Gd-2.0.33.tar.gzZlib-1.2.3.tar.gzLibpng-1.2.15.tar.gzJpegsrc.v6b.tar.gzFreetype-2.1.9.tar.gzFontconfig-
Configure DHCP server1. Create the disk Mount position mkdir-p/media/cdrom2. mount the disk file mount/dev/cdrom/media/cdrom.3. Enter cd/media/cdrom/SERVER in Server Mode4. view the DHCP file ls dhcp *5. cp file to/etc/dhcpd. conf
Syntax: crontab [-e [UserName] |-l [UserName] |-r [UserName] |-v [UserName] | File]Note: crontab is used to allow users to execute programs at a fixed time or interval. In other words, it is similar to the user's time table. -U user is used to set
When I had nothing to do, I took down the information. Now I have hundreds of GB of information in my hands, but I have not read much of it. This is a bad habit. I suddenly found that today's bad habits helped me and found a lot of excellent
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