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
In Linux, the/etc/sysconfig/network-script/ifcfg-eth0 file stores information about the IP Address Configuration of the sub-nic, the specific format is:
# Cat ifcfg-eth0 [root @ localhost network-Scripts] #Device = eth0Bootproto = noneOnboot =
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
Linux Kernel reduction and root file system customization (1) -------- Linux kernel reductionDirectory:
I. kernel Compilation
Ii. root file system Customization
Iii. kernel options
I. kernel Compilation
1. Preparations
(1) sort out the hardware,
How to Create a swap file
1) create a large enough fileDd If =/dev/Zero of =/localdisk/swapfile BS = 1024 COUNT = 4096000(The value of count is equal to 1024 x the size of the file you want, 4096000 is 4G) 2) convert this file into a swap
As the default desktop environment of ubuntu, gnome is a development and desktop environment that supports multiple platforms. gnome has many powerful features, such as high-quality smooth text rendering, first International and availability support.
Transferred from:
Http://www.wantso.com/ShowArtitle.ASP? Art_id = 8331 & cat_id = 16
Common network commandsIn Red Hat Linux 7.1, network-related tools are provided. It is necessary to master these tools:Category 1: Setup tools1. netconf:Netconf is
We all know that *. A represents a static library; *. So represents a dynamic library. How can we create these two databases?
How to Create a static Library:
Compile the Code as the target file:
# Gcc-C liberr. C-o liberr. o
Tools usedArCreate
Sequence of three systems
It is like installing Windows 7 and XP dual systems. It is also very important to install one first. If it is not in the correct order, it may not be able to find another system, that is, the issue of being unable to guide.
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 * _
Over the past few days, I have been debugging the Atmel at91sam9x25 serial port. Using it will always lead to oops. Oops content is as follows:
[1023.510000] unable to handle kernel Null Pointer Dereference at virtual address 00000000[1, 1023.520000]
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
The development environment mentioned here mainly refers to the use of GCC (GNU Compiler Collection) for development on Windows. Based on different requirements, we have the following options:
1. devc ++
This is an integrated development environment
Http://linux.chinaitlab.com/c/806015.html
Function prototype:
# Include "stdio. h"
File * popen (const char * command, const char * Mode)
Parameter description:
Command: a pointer to a shell command string ending with null. This line of command will
Eg:
Find-name "*. Frag"-exec dos2unix {}\;
Find-name "*. s"-exec Rm-F {}\;
Run the find command to find the files whose names are. Frag and replace the files with {} to delete them. ';' Is used as the RM parameter, and '/' is used to escape ).
Find/
Most of the time, we are studying how to read the source code. But in some cases, for example, if the source code is not open or the source code is very expensive, we have to understand the program behavior. In this case, it is very important to
Contains 3 folders
The directory structure is as follows:
INC/Hello. h
Main/Main. C, makefile
Src/Hello. c
The file content is as follows:
Hello. h:
Void Hello (char name []);
Main. C:
# Include # include ".. /INC/hello. H " // The second hello. h
The file is in two folders:
INC/Hello. h
Main/Hello. C, Main. C, makefile
File Content:
Hello. h
Void Hello (char name []);
Hello. c
# Include void Hello (char name []) { printf ("Hello % s! /N ", name); }
Main. c
# Include # include ".. /INC/
The directory structure is:
INC/Hello. h
Src/Hello. c
Main/Main. c
Makefile
File Content:
Hello. h:
Void Hello (char name []);
Hello. C:
# Include void Hello (char name []) { printf ("Hello % s! /N ", name); }
Main. C:
# Include # include
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