In an embedded system environment, due to the characteristics of system resources and tasks, multithreading has become an important way to implement multi-task processing. in some common application environments, such as Web servers, Email servers,
This method is not run in the popular apache + php tutorial _ module mode. I use nginx as a web server and run php In fastcgi mode.
Compile in linux:
Nginx I am still used to choosing version 8.54. Its compilation depends on the following software
Ii. rewritepath method of ihttpmoduleHow can I come by myself? Can I write an isapi in c ++? A: No. I wrote it honestly with. net. That's easy: from global. asax moved to ihttphandle for a long time. After a wrong direction, it was still in the same
After enabling the iis gzip function, you can save some width for the server. The following is the method code implemented by iis.
Rem setup iiscompressionscheme for deflateCscript adsutil. vbs set
This article summarizes the file and content search commands in ubuntu. For more information about find, locate, which, grep, and other file and content search commands, see this article.
1. Search by File Name:
1. find command
Because find has
This article introduces how to understand DNAT and SNAT in iptables in linux. DNAT (Destination Network Address Translation, Destination Address Translation) is usually called ". However, SNAT (Source Network Address Translation) is usually called
Display command execution time
Linux shell has the history function, that is, it records the commands that have been executed, but by default, it does not display the command execution time, command execution time, and history, but it is not
Objectives of this section:
Exec replacement process image
Exec associated function group (execl, execlp, execle, execv, execvp)
1. exec replaces the process image
On Process Creation, Unix adopts a unique method, which separates Process
VPN (Virtual Private Network) is no longer a simple encrypted access tunnel, it integrates multiple functions such as access control, transmission management, encryption, route selection, and availability management, and plays an important role in
1. automatically allocate ip addresses:
2. manually set ip addresses
TYPE = Ethernet
UUID = ac67feab-9d6c-48e9-abb6-c40b9b5c8de9
NM_CONTROLLED = yes
BOOTPROTO = static # Set the way for the NIC to obtain the IP address. The possible options
After VMWare installs CentOS minimal and wants to connect to it using ssh tools, the IP address cannot be found when the ifconfig command is called in CentOS, the default Nic is not activated for minimal. Therefore, you need to manually configure:
Frequently used: % s/oldstring/newstring/g and: % s/oldstring/newstring/gc Replace the oldstring in vim with newstring.
When marking samples today, I searched for more vim replacement operations, as shown below:
1.% s/oldstring/newstring/Replace
Objectives of this section:
What is a program?
What is a process?
Process Data Structure
Differences and connections between processes and programs
1. What is a program?
A program is a set of commands to complete a specific task.
2.
In fact, I also obtained a search from the Internet. Of course, I also encountered this problem. The method is very simple.
First, download and install a small program. Run sudo apt-get install python-mutagen on the terminal.
After the download
Centos system was installed some time ago, but it has never been connected with putty, but it is useless because it does not impede the learning of commands. If you are interested tonight, try again.
First, the centos system is reinstalled with the
Environment:
CentOS
Tomcat7
JDK 1.6
Without looking at simple settings, I have been struggling for a long time. Record it.
The downloading of Tomcat7 is still a good solution. You can find it on the official website. JDK1.6 for linux is so difficult
I apologize first. I did not finish the essay yesterday. I made it up today.
Straight to question
The three files have been written at the same time. The scheduled tasks are completed below (if you are interested in other files, you can view
The squid configuration file uses only the web cache function for web acceleration.
Http_port 80 defaultsite = IPIcp_port 0Cache_peer ip parent 85 0 no-query originserverHosts_file/etc/hostsHierarchy_stoplist cgi-bin?Acl QUERY urlpath_regex cgi-bin
The vm executes the following commands for linux Singapore hard disks as root: www.2cto.com 1, fdisk-l 2, fdisk/dev/sdb -- as shown in the previous step. My operations are as follows: 3. Input m, n, p, 1, w 4, format: mkfs-t ext4/dev/sdb1 5, Mount: 5
In Windows, when the system fails, we will use some common remedial measures to fix the system, in Linux, there are also some commonly used measures to solve common faults, which is convenient to use.
First, we need to create an emergency disk group,
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