Step 1: Build the environment
1. Add Zend repository to/etc/APT/sources. List
VI/etc/APT/sources. List
Add at the end of the file
Deb http://repos.zend.com/deb/pe PE non-free
Save the file.
2. Run the command to add
According to foreign media reports, Linus Torvalds, the father of Linux, recently said that it was not expected that Linux would become so popular today. Towoz said that Linux was originally published
Source codeIt is not for money, fame or fortune,
Switch from network:
SIGABRT is to abortProgramIt can be captured, but cannot be blocked. After the processing function returns, all opened file descriptors will be closed and the stream will be flushed. The program will end and core dump will
Today I started to learn about Linux. I chose to install rh9 on the VM in Win2000.
Command:(1) first, add a user. Run the useradd command, and then run the passwd command to modify the password.# Useradd Allen# Passwd AllenThe system creates a
When compiling the kernel on Ubuntu 9.10 and entering make menuconfig to enter the Kernel configuration interface, the following error occurs:
* ** Unable to find the ncurses libraries or* ** Required header files.* ** 'Make menuconfig' requires
Although JDK environment variables have been configured many times before, they are all configured by others.CodeIt is not until this time that a problem occurs that you have to think about why this configuration is required.
If you use JDK in the
Copy local file to remote server
SCP filename user @ server: new_filename
SCP-r dir user @ server: new_dir
It will make one connection from local to remote
Copy remote file to local
SCP user @ server: Dir/file_name
2.4 Common System Support 2.4.1 memory application and release Include/Linux/kernel. h declares kmalloc () and kfree (). It is used to apply for and release memory in kernel mode.Void * kmalloc (unsigned int Len, int priority );Void kfree (void * _
As computer peripherals become more and more abundant, device management has become an important task of modern operating systems, which is the same for Linux. Each time a new version of the Linux kernel is released, a number of device drivers will
For the main process fork (), the newly created sub-process ID is returned, and the sub-process fork () returns 0
Http://blog.chinaunix.net/u1/53053/showart_425189.html
The Process configuration has a unique process control block PCB, which
When I learned the board_init () function, I found that the value of the CPU register can be set through the structure pointer. This is quite interesting. Study it ~
After research, I found that the principle is very simple and I am sorry to write
1. Add-d_file_offset_bits = 64 to the compilation option to solve the limit on 2 GB files in Linux.
// Example. c# Include Int main (INT argc, char * argv []){File * FP;If (FP = fopen ("test. dat", "W +") = NULL)Return;Int A = 0;Char data [1024] = "
How to share files with vmwarevm Linux on Windows XPUse Shared FoldersBy sharing folders, you can easily share files between virtual machines and host machines. If you want to use a shared folder, you must install the same VM-tools as
# Include # Include # Include # Include # Include Using namespace STD;
Int main (INT argc, char * argv []){For (INT I = 0; I Cout Cout
Cout String filename;Cin> filename;String cmd = "Du-k" + filename + "> xiaojiba.txt ";System (const_cast (CMD. c_
Linux is a required command. Linux provides a large number of commands that can effectively perform a large amount of work, such as disk operations, file access, directory operations, process management, and file permission settings. Therefore,
Introduction to Linux program design-thread operations
7)Create a thread in LinuxThis article describes how to create and use threads in Linux. threads in Linux are a very complicated problem.It is good for me to learn about threads from time to
Code segments protected by mutex, whether read/write, one thread occupies some time, other threads must wait.
The read/write lock can be read by multiple threads at the same time, as follows:
When the read/write lock is in the write lock status,
SVN is an open-source version control software. People who have worked in team development must be familiar with it, and those who have never used it will also use the corresponding software .. google is doing better in version control...
The Google
There are two types of timers in Linux:
1. Alarm Alarm () and signal () are enough if they are not required to be accurate.Unsigned int alarm (unsigned int seconds)Specifically set for the sigalrm signal. After the specified time is seconds, the
You can also refer to the previous blog "install and configure JDK in a Linux system environment". The principle is the same. The reason why I wrote this article again is mainly to look at the practices of foreigners (although it was written by
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