In the quick text editor, vim should be called the King. As code slaves, we cannot always immerse ourselves in powerful editors. I do not deny the power of zend and S, but we should be familiar with at least one simple and quick code editor, don't
When configuring the Nginx server today, the configuration file check reported: couldnotbuildtheserver_names_hash, youshouldincreaseserver_names_hash_bucket_size: 32 checked a WIKI and saw the following content: the hash table storing the server
There are five mappings-for normal mode: When you enter a command. -For visual mode: When the visible area is highlighted and a command is entered. -For operator waiting mode: the operator is waiting (& quot; d & quot;, & quot; y & quot;, & quot; c &
There are multiple ways to solve the problem of vi direction keys on the Internet: find one of the following methods and highlight them. In UbuntuLinux, it seems that the programming language is not highlighted by default, but you can set this
Displaying garbled characters is one of the most common problems: 1. first, check the system support encoding locale-a2. view the system environment configuration locale3.rpm installation language pack (in the system Server directory) if the above
Java code about Cron in linux to view the current user's cron list command: crontab-l to edit the cron list command: crontab-e to view the current server's Cron service status command: svcscron is as follows: the state is online, so the cron service
I have to find a lot of setup instructions on the Internet for each reinstallation, which is very troublesome. so I have to sort out my notes. For future use. It is too slow to apply for a CD. the hard disk installation method is the best way to
Good, it is worth learning: it is easy to understand the code directly. The original code is a bit problematic, and the path mentioned in the annotation is not a full directory, and the relative directory is also acceptable. After modification, I
The first download was the. rpm. bin version, which always showed a dependency check failure during installation. Later, the. bin version was directly downloaded and the installation was successful. I downloaded the jdk1.6.0 _ 16 version, first use
Run the command to write fdisk-l to view the Disk information. I wrote: Disk/dev/sda: 320.1 GB, 320072933376bytes255heads, 63 sectors/track, 38913 cylinders, category...
Use commandsWriteFdisk-lView disk information Mine is as
Tips: Do you know where iostat gets IO-related information? Use the strace command to find the answer: shell & gt; strace-eopeniostatopen (& quot;/proc/diskstats & quot;, O_RDONLY). note: about diskstats, see the official documentation (field1 ~ Fie.
Sysv-rc-confsysv-rc-conf is a powerful service management program. the comments of the masses are that sysv-rc-conf is better than chkconfig. Background 1. Ubuntu runtime Linux systems run at a specified runtime level at any time, and different
Details on common options of netstat-n: the IP address and port are directly displayed. Otherwise, the port will be resolved to: 80 to www, 22 to ssh, 13 for daytime, resolve the IP address to 127.0.0.1localhost, and 0.0.0.0 for *-l to display the
Function: checks disk space usage of the file system. You can use this command to obtain the space occupied by the hard disk and the remaining space. Syntax: df [option] description: the df command displays the I node and disk block usage of all
Assume that centos first downloads the kernel.
Assume that the system is centos.
First DownloadFtp://ftp.mrunix.net/pub/webalizer/webalizer-2.23-05-src.tgz
Then,Yum install gdYum install gd-devel
Tar zxvf webalizer-2.23-05-src.tgzCd webalizer-2.23-05
. Tar unpack: tarxvfFileName.tar package: tarcvfFileName.tar DirName (note: tar is packed, not compressed !) & Mdash;
. TarUnpack: tar xvf FileName.tarPackage: tar cvf FileName.tar DirName(Note: tar is packed, not compressed !)---------------.
Count the number of log lines: 1. wc-lnginx_access.log.2011-09-262.awk & amp; #39; END {printNR} & amp; #39; nginx_access.log.2011-09-263.awk & amp; #39; {maxmax & gt; NR? Max: NR} END {printmax} & amp; #39; n
Count the number of log lines: 1. wc-l
Linux comes with two commands that support basic mathematical computing. if you do not want to use commands, you can use python or the other two commands. One is that dc is actually an expression-based stack operation, the other is bc, which is
1. log on to any server ssh192.168.21.902 and run the ssh-keygen-trsaJava code [root @ fedora14ip90 ~]. # Ssh-keygen-trsaGeneratingpublic/privatersakeypair. Enterfileinwhichtosa...
1. log on to any server
Ssh 192.168.21.90
2. execute the command
Ssh-
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