You can use the Unzip command
Unzip project.war-d Project
This will extract Project.war into the project directory under the current directory, and the parameter-D means to create the project directory
Attached: Unzip other parameter description
-X "
Production of a Linux device concurrency is relatively large, droped packet more, especially in the running game packets, there is a serious loss of packet phenomenon, suspected network card performance, in the replacement of equipment before the
Zookeeper installation
The installation of zookeeper is divided into three modes: stand-alone mode, cluster mode and pseudo cluster mode.
1. Download
Enter the directory for the version you want to download, select the. tar.gz File
1) effective after reboot
Open: Chkconfig iptables on
Close: Chkconfig iptables off
2) immediate effect, restart after failure
Open: Service iptables start
OFF: Service iptables stop
Querying the state of a firewall
Chkconfig--list|grep
In Linux in practice often need to modify the firewall, such as often to modify or add the relevant port, below to add run Tomcat required 8080 ports for example:
(All of the following command operations are root users)
1. Edit Iptables file
#
/bin directory: An executable command for a normal user that any user in the system can execute commands in the directory
/boot directory: Files needed to store Linux operating system startup
/dev Directory: All device files in the system
/ETC
(i) Installation:1) Create/opt/directory;2 Download Linux One-click installation package (7z format, such as: zentaopms.4.0.1.stable.linux.7z), stored in the/opt/directory;3 The installation package is a self-extracting format, change the
This article link: http://blog.csdn.net/kongxx/article/details/7010472
Problem:
The following error always occurs when using the CP and MV commands on Linux today to manipulate files on NFS
cp:preserving permissions for ' filename ':
1. Operation function of system call---file
#inlclude
int open (char *name,int how) file Open
#include
int close (int fd) file closed
size_t Read (int fd,void *buf, size_t count)
size_t write (int fd,const void *buf,size_t count)
Sleep (1) The
1) Apache Installation# tar ZXVF httpd-2.2.8.tar.gz
# CD httpd-2.2.8#./configure--prefix=/usr/local/apache2--enable-modules=so--enable-so--prefix is used to specify the path--enable-modules is used to specify the type of feature extension modules
NodeJSV4.4.4 is a long-term support version, is the official recommended installation of the version.
There are two ways to install under Linux, one is to download the source code to compile the installation.
The other is a more recommended, direct
Http://os.51cto.com/art/201006/203963.htm
When we look at the idle memory of the machine by using the free command, we find that the value of the freed is very small. This is mainly because, in Linux, there is such a thought, not white memory, so
1. SYSYFS shows the Linux device model, each of the objects shown in Sysfs corresponds to a kobject, but the reverse is not true, and each kobject does not necessarily appear in Sysfs, but Kset. Using the Kobject_add function to add a kobject in a
How to modify the swap partition size after installing Linux
The testing test is RH AS4If you are not sure what swap is, or the concept of partitioning, the following procedure may be of some risk to you.It is also more convenient to enlarge your
I installed the omnet++3.3 version, first you can go to OMNETPP's official website http://www.omnetpp.org/Download the latest version. Take 3.3 As an example: the download is omnetpp-3.3-src.tgz
1) Decompression: Tar zxvf omnetpp-3.3-src.tgz
2
VI filename into VI modeFirst the most commonly used DD: delete the whole line where the cursor is located ;D1G: Removes all data from the first row of the cursor;DG: Removes all data from the cursor to the last line;d$: Delete the cursor to the
In the previous section we have learned grep and today we are going to learn about sed. It is processed according to script instructions, editing one or more text files, simplifying the repeated operation of the file, writing the conversion program
1. Widonws download font files to LinuxWINDOWS has more fonts and its font files are located in C:\WINDOWS\Fonts. Copy the appropriate font from it to the folder under/usr/share/font/of the Linux system. Take the Arial font as an example:# mkdir
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