In the Linux file system, try to use a text interface or a graphical interface (rarely used). Then how can we exchange it. (If you have a graphical interface installed on the operating system)
The solution is as follows:
Modify
The iptables configuration file is located in the/etc/sysconfig/directory, which reads as follows:
# Firewall configuration written by System-config-securitylevel # Manual customization of ' This ' file is ' not recommended.*filter: INPUT ACCEPT [0:
By:ailson, Jack.
date:2016.03.13
Personal blog: www.only2fire.com
This article in my blog address is: http://www.only2fire.com/archives/817.html, typesetting better, easy to learn.
Please download the file that I provided to you before starting the
At present, the method of automatic partition mount/unload (I know) has two kinds, one is Supermount, one is automount,supermount to recompile the kernel, and unstable, here is not introduced.
Let me explain how automount is used:
First verify that
---View the default maximum number of file handles for the system, which defaults to 1024
# Ulimit-n
1024
----See how many handles are open for the current process
# Lsof-n|awk ' {print $} ' |sort|uniq-c|sort-nr|more
131 24204
57 24244
57 24
Working with the operating system version: RHEL5
Today want to experience under the Linux Telnet service, the Linux Telnet service is the default to open, so the Telent client in Windows directly connected to the past, unexpectedly even ~ Check the
1. Download maven
http://maven.apache.org/download.cgi
2. Decompression
Tar xzvf apache-maven-3.1.0.tar.gz
3. Configure Environment variables
sudo gedit/etc/profile
PS: My/etc/profile belong to root, I see some people on the Internet do
1. Download maven
wget http://mirrors.hust.edu.cn/apache/maven/maven-3/3.2.5/binaries/apache-maven-3.2.5-bin.tar.gz
2, extract to/usr/local directory
TAR-ZXVF apache-maven-3.2.5-bin.tar.gz
3, the source of the allocation of domestic
Add the
When you open a file with VI, because the file is too long, how to find the keyword you want to find.
There is no menu-〉 to find in VI
But it doesn't matter, you are in command mode to knock the Pole (/) at this time in the status bar (that is,
Linux has six running levels, where 5 is graphics mode and 3 is character mode. The startup mode is recorded in the Inittab file, which is in the ETC directory.The standard Linux run level is 3 or 5, and if it is 3, the system is in multi-user state.
Recently do the Linux system cropping, modify the embedded system Inittab file error will be the native Inittab file modification.
Appear after reboot
INIT:/etc/inittab[2]: Missing ID field
INIT:/etc/inittab[3]: Missing ID
Step One uninstall the original or the self with JDK
Some Linux systems will bring OPENJDK, and we'd better remove the original JDK and install it first.
(1) View current JDK version information with the java-version command
Java-version
(2) using
The Linux Input Device is an important subsystem, before the introduction of the actual example, a cursory understanding of the API.
Linux Input Device
INPUT.C is the Linux "input" driver, which mainly supports the input of keyboard and mouse; The
1. Introduction
The tar command is a reliable method of backing up files in a unix/linux system and can work almost anywhere, with permissions that are generally available to all users.
2, the use of methods
tar [main options + auxiliary options]
1. Windows input \ n is automatically converted to \ r \ n. For example, in a program under Windows:
Ofile
Ofile
Ofile
while (Ofile.good ())
{
cout
}
Or
Ifile.read (buff, 13);
You can see that the file size is 13 bytes. When you insert
.
The first bit (left) in the drwxr-xr-x indicates whether the current directory is a directory or a file, D represents a directory,-represents a normal file.
The back 9 bits are divided into 3 groups, each 3 group as 1 groups, from left to
free–m
Mem: represents physical memory statistics-/+ buffers/cached: Cache statistics representing physical memorySwap: Represents the use of swap partitions on the hard drive, where we don't care.Total physical memory for the
VI----------Interactive editor into Linux systems
VI Mode conversion:
I
Insert mode command line mode Bottom line mode
ESC ESC
command line mode common commands: 0--------------move to the front of the current line$--------------Move to the
Turn from: http://www.blogjava.net/gdufo/archive/2009/11/17/302717.html
After Tomcat is installed, the default port 8080 is not accessible when the client enters address http://serverAddress:8080.
Because the Linux firewall defaults to shutting
3rd day of Linux learningTime: 20180718DirectoryLinux User and Group managementSudoKernel spaceUser spaceLibrary callsSystem callsHow to install a virtual machineBasic knowledge of computersLinux User and Group managementAdministrator Root ID
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