Today, we have made painstaking efforts to deploy a previously deployed J2EE project on Ubuntu, with a special record.
1. Install JRE
Download the JRE compressed package, decompress it, and put it under/OPT.
Export Path = $
I think that as an embedded Linux developer, we should be very familiar with several open-source projects:
1 D-Bus 2 gstreamer3 gconf4 gnome power manager5 mesa6 libxml7 evolution8 gimp9 gnome VFS takes a few months or even a year to analyze,
1: VI text editing command
VI/etc/X11/TPD. conf
Insert key
Delete
/Search
Exit the current operation and return to the command line.
: WQ save and exit
: Q! Exit directly without saving the file
2: Connecting windows to Linux
1
The open function is used to open and create files. The following is a brief description of the open function.
# IncludeFcntl. h> // Remember to add this header file.
Int open (const char * pathname, int Oflag,.../* mode_t mode */);
Return
When running nodejs, we often encounter a problem: "port occupied". What are our solutions to this problem?
Here I will only introduce the methods in Linux:
1. We can modify the listening port in the Code and run it again. This will cause a
Author-------Dansen-----xzd2734@163.com
When writing a module, the header file is usually required. In module. H, the symbol _ module_kernel_version is defined.Static const char _ module_kernel_version [] _ attribute _ (Section (". modinfo")
There are three common partition formats for win:Fat16, FAT32, NTFSFormat. In LinuxExt2, ext3, Linux swap, and vfatFour formats.
Fat16:As a file name, fat (File Allocation Table, File Allocation Table) has become a computer term since its
1> Differences between threads and processesThe thread mechanism supports concurrent programming technology and ensures parallel processing on the multi-processor. In Linux, threads are very special. in Linux, all threads are implemented as
Write Linux code in WindowsI can't find a convenient tool when writing code in Linux. VI and Emacs provide automatic functions, but they still do notVC + visual assistant is convenient, hence the idea of Linux code in windows. This attempt was once
Embedded Linux-LED driver instance development in 2440
I. Development Environment
MASTER: VMWare -- fedora 9
Development Board: mini2440 -- 64 MB Nand
Compiler: arm-linux-gcc-4.3.2
II. Implementation steps
1. hardware schematic analysis. The
First download tomcat, URL: http: // 219.239.26.9/download/6520562/7734948/1/GZ/250/185/1279864093178_441/apache-tomcat-6.0.29.tar.gz
2) decompress the downloaded file
Tar-zxvf apache-tomcat-6.0.29.tar.gz
3) copy the file to the directory
This program is implemented in C language on the Linux platform
There are two implementation files corresponding to the m1.h m2.h header file: m1.c m2.c debugging file test. c
The case code is as follows:
M1.h
#includevoid m1_print(char *str);
M2.h
1. server code:
# Include # include # include # include int main (int argc, char * argv []) {int sockfd, new_fd; struct sockaddr_in server_addr; struct sockaddr_in client_addr; int sin_size, portnumber; char hello [] = "Hello! Are You Fine? \ N
1. Create shared memory
Void * shmat (int shmid, void * shmaddr, int shmflg); this system call maps the shared memory zone corresponding to shmid to the virtual address space of the process, shmaddr is the starting address of the specified ing. If
Remember: First back up the data in the hard disk.
I tried to get rid of the entire hard drive. I just wanted to try it again from the beginning. Generally, this is not necessary.
Use the partitioning tool of the system to install the disc (such as
I. Desktop System
Windows is the Windows system after the system is installed. Windows is called Windows and X Windows is called Windows in Linux. In fact, the names are different. (look at the desktop created by Hongqi, it's really like having to
Memcache is a high-performance distributed memory object cache system. It maintains a unified and huge hash table in the memory and can be used to store data in various formats. simply put, the data is called to the memory and then read from the
A signal is a software interruption. When a program receives a signal, it calls the corresponding processing function (if registered ).Void (* signal (int signum, void (* handler) (int); -- set the signal processing method void foo (int arg), a
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