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 = $
Run the following command to check the machine model and CPU information:
$ Sudo dmidecode | grep "product name"Product Name: ProLiant dl380 G6
$ Sudo dmidecode | grep CPUVersion: Intel (r) Xeon (r) CPU e5540 @ 2.53 GHzVersion: Intel (r) Xeon (r)
When extracting a file
# Tar-zxvf xxxxx.tar.gz
The following error message is displayed:
Gzip: stdin: Not in GZIP formatTar: child returned status 1Tar: Error exit delayed from previous errors
You used "Tar-zxvf" for the second command.
Linux vs. Windows: this is a topic that is often discussed on the Internet. We are always eager to hear and enjoy it. Have you ever wondered whether you are wandering between Linux and Windows, and those who really want to make a good fortune in the
The su user retains the original exported environment variables, while the Su-user reinitializes the environment variables just as if they were logged in as user users.For example:# Su mishuang# Cd# Pwd/Export/home/root# Su-mishuang# Cd#
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
1. Execute crontab-e directly in the command line.
2. Add the execution script statement, for example:
# Test for project-name to send email to admin, add by *** (2011-11-10)
0, ***/email. Sh
Note that when you add a new timer, you will
Rm command:Delete a file or directory
First man RM
NameRm-Remove files or directories
SynopsisRm [Option]... file...
DescriptionThis manual page documents the GNU version of RM. rm removes each specified file. By default, it does not remove
I have recorded some problems related to the installation and use of centos. There are too many documents on the Internet and it is very inefficient to solve the problems. So I should take a note.
1. There is still a lot of information available
It has been brewing for a long time, and the data software has been almost found. start to do things.First of all to download is the camera driver, it is recommended to use spca5xx webcam drivers, you can go to the site freeworld libland
Author-------Dansen-----xzd2734@163.com
Not every line of code must be understood. I just went through the process.After all, these are relatively mature codes that do not need to be modified.It is for my own board. The hardware configuration is as
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
/Etc/profile: This file sets the environment information for each user in the system. When the user logs on for the first time, this file is executed.And collect shell settings from the configuration file in the/etc/profile. d directory./Etc/bashrc:
Logical Address(Logical Address) refers to the segment-related offset address generated by the program. For example, you can read the value (& operation) of the pointer variable in the C language pointer programming. In fact, this value is the
Reprinted from: http://blog.sina.com.cn/s/blog_975a2a540100ywyx.html general article: First, use PS to view the process, the method is as follows: $ PS-Ef ...... Smx
1822
1
0 :38?
00:00:49 gnome-TerminalSmx
1823
1822
0 :38?
00:00:00 gnome-
Sometimes you need to query the distribution of Linux when logging on to the server.
Several Methods to view Linux version information:
Uname-
CAT/proc/version
CAT/etc/issue
Lsb_release-
1. log on to the server and execute lsb_release-a to
Author: Lin Haifeng
Web: http://blog.csdn.net/linyt/archive/2008/09/16/2938122.aspx
[Note]: The copyright of this article is owned by the author. You are welcome to repost It, But Please repost it completely. Please refer to it for commercial
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
I found that I forgot the root password when I used Linux in the virtual machine. So I found related information on the Internet. Although there are many things, I don't know how to enter the system. This is because the virtual machine does not have
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