1. Create a new directory: Mkdir/usr/java this directory to store and install JDK files
2. Extract the transferred installation-free JDK bin compression pack into the/usr/java file
Execute command:./jdk-6u27-linux-x64.bin
3. Environment variable
6 Compiling static GCCBecause there is no MIPS GLIBC library can be used, can only compile one of the simplest gcc, with this GCC compiled glibc can then compile a complete gcc. GLIBC is a shared library, and GCC cannot support glibc, so this gcc is
When you write a socket program in a Linux kernel module, when you bind a port with bind, sending the data can be successful.
However, the port can not be released in time, the next time the module is loaded, the address will appear to occupy the
This file is a configuration file for DNS domain name resolution, which is simple in format, preceded by a keyword, followed by configuration parameters. The key words of resolv.conf are mainly four, respectively:
NameServer #定义DNS服务器的IP地址
Domain #
Though that's what the internet says,
=======================================
Log on to the command line as root
Input CRONTAB-E
Press the A key to enter edit mode
Input 0 */1 * * */home/work/start-service.sh
Press CTRL + C to exit edit mode
In Linux systems, PER-CPU variables are used in SMP systems to generate a copy of a variable for each CPU to avoid locking problems in multiprocessor mutexes. The other is CPU-local variables that take full advantage of the CPU's hardware caching
Originally always use Restclient-ui tool, is the graphical interface, the operation is very troublesome. Want to use Shell script batch call to execute use case, so find Restclient tool has no command line, the Internet search, sure enough. The
1. See if you are connected to the storage
View the/proc/scsi/scsi file, which lists the devices that are connected to through SCSI or FC.
Fdisk-l can view the list of hard disk devices
In the/dev directory, you can see a lot of device files,
1. grep is a powerful text search tool that uses regular expressions to match.
Format is: Gerp option ' script ' file
2, Regular expression:
(1) of which characters: +,. , (), |,{}.
In datum mode: The meaning of ordinary characters, the need for
How do you want to output a similar font with Windows color under Linux? This article is to introduce the implementation of the method.
First, look at the representation of colors under Linux
All of the colors that I have found are:\033[30m-black\03
Maybe everyone, like me, have encountered problems like me, we added a new user under Linux, and when we switched to this user, we found that we did not display the new user and hostname we created (not the "user @ Host name"), but just a $ symbol.
1. New file:/ect/init.d/tomcat
2, edit the contents of the file:
#!/bin/sh #chkconfig: 2345 description:starts and Stops the Tomcat daemon. #by kanaka10 ############################################## #startup script for Tomcat on Linux
have been playing Linux kernel and file system porting for nearly a week, using the following version:
Bootloader:u-boot-2010.06.tgz
Kernel:linux-3.0.y.tgz
Busybox:busybox-1.16.1.tgz
After the collection of the corresponding introduction documents
The first step: Enter # semanage port-l|grep http command to see which ports
Part II: Add the port input you want # Semanage Port-a-T http_port_t-p TCP 8889
Part III: View again, enter # Semanage Port-l|grep http
Part Fourth: Modify firewall
background: At first it was like this: there were a lot of web projects in a tomact, started, and after a while, found that it was not normal to access, the phenomenon is that Tomcat has been closed. Check log found: Tomcat error , this just know
Modify the firewall configuration need to modify the/etc/sysconfig/iptables this file, if you want to open which port, add a section inside.
-A rh-firewall-1-input-m state--state new-m tcp-p TCP--dport 1521-j ACCEPT
On it, where 1521 is the
Turn 1. Http://blog.sina.com.cn/s/blog_40e1ba640102wm26.html
2.http://www.cnblogs.com/joeyupdo/archive/2013/03/03/2941737.htmlThe following is an introduction to copy Link 2(1) Encoding:vim internal use of the character encoding method, including
Linux Learning Fifth session--------------------------------------------------------------------------------------------------------------- ---------------------------------------------------31. Standard input and outputProgram: Instruction +
the difference between Linux and Windows(1) Structure of the directory (2) All commands are stored in file form.(3) Security/bin the command file that holds the ordinary user/ Boot storage System boot file/cdrom storing relevant files for reading
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