Some problems are indeed very fragmented, especially in the configuration of software, sometimes some friends re-install the system n times in order to turn to a software, it is really not to try! If you reinstall the system when you encounter
Linux has encountered ipsettings during the learning process. Find a good solution based on the search on the Internet (Linux is installed on a virtual machine, novice) Steps
1. eth0 the IP address you want to set -- this takes effect immediately.
In Linux, the server has many tasks that need to be carried out late at night. Therefore, you should plan tasks like windows. Its command is:
Crontab-e
Write the corresponding commands and schedule them according to the scheduled time.
To test
In case of a task exception, you need to record the last words and use GDB for debugging. Therefore, you need to record the coredump file.
View settings:
Run sysctl-A | grep core under the root user to check whether the core file is correctly
Haha. For people like terminals like me, if they can do something on the terminal, they will not use the mouse to point it. Weibo is the same, so there will be this little thing ~ The other is to use the curl library to call this interface of the
2011-04-12
Nginx-1.0.0 stable version has been released.
2011-04-04
Nginx-0.9.7 development version has been released.
2011-03-21
Nginx-0.9.6 development version
FS capacity: DF
DF-H command. H is short for human. After this switch is enabled, the information is easier to read.
The tmpfs In the result indicates a system in the memory.
To view the swap partition, use the free command.
Directory
Http://asyncpostback.com/
This is an example website that shows features related to ALTAS.CodeIs an excellent tutorial for learning ALTAS.Novell released SuSE Linux 10.1. this version contains the complete
1,For/do/done
Shell scriptForThe loop structure is very different from the C language, it is similar to someProgramming LanguageOfForeachLoop. For example:
#! /Bin/shfor fruit in Apple Banana pear; do echo "I like $ fruit" done
FruitIs a
This afternoon, I tried to find a Java-version Flying Pigeon file and install it on Ubuntu to transfer files. However, it took a lot of effort to find a few fake fliggy books written by students in Java. After that, I finally found a genuine Flying
# Include
# Include
# Include
Struct bus_type my_usb_bus = {
. Name = "my_usb", // The Name Of The bus. After successful registration, it will be displayed in the/sys/bus/directory.
};
# Define count_size 100
Char data [count_size] = "Hello
Automatically mount the FAT partition at startup in Linux
1. the mount point must be a directory.
2. A partition is mounted to an existing Directory. The directory cannot be empty, but the contents in the directory are unavailable.This is also true
drop_cachesWriting to this will cause Thekernel to drop clean caches, dentries andInodes from memory, causing thatmemory to become free.To free pagecache:Echo1>/proc/sys/Vm/drop_cachesTo free dentries and inodes:Echo2>/proc/sys/Vm/drop_cachesTo free
Common decompression commands
Tar.bz2 command: tar-jxvf * .tar.bz2
Tar. Z command: tar-zxvf *. Tar. Z
Tar.gz command: tar-zxvf * .tar.gz
PS: You can use man to help with these parameters. Note that these parameters are case sensitive.
The software
1: Echo "1">/proc/sys/NET/IPv4/ip_forwardOr change VI/proc/sys/NET/IPv4/ip_forward to 0. 1 indicates that the IP forwarding function is disabled, and 1 indicates that the IP forwarding function is enabled.
2: iptables-T Nat-A postrouting-O eth0-s 19
Note that the following command operations are performed under root, and sudo command is used in ubuntu.Root @ host src] # pwd/Usr/local/srcRequired packageApache Server Source package httpd-2.2.6.tar.gzApache fastcgi Module source file package http:
Common command formats in Linux:
Command [option] [argument1] [argument2]...
Option starts with "-", and multiple options can be connected with one "-", for example, "ls-l-a" and "ls-la" have the same effect. Parameters are optional or required
++ ++
This article is original on this site. You are welcome to repost it! Reprinted please indicate the source:
Http://blog.csdn.net/mr_raptor/article/details/6269507
++ ++
I. device registration (fs/char_dev.c)
Register_chrdev_region->
_
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