CentOS7 's firewall has been replaced by firewall, here are some records, here are some commands:To add an exception port:# Firewall-cmd--add-port=8080/tcpTo remove an exception port:# Firewall-cmd--remove-port=8080/tcpTo view the exception port:#
1. Review the ProcessPs-ef | grep keyword/* keyword for service name */NETSTAT-UNLTP | grep keyword/* keyword is a service name or a port */2. Kill the ProcessKILL-9 Process Number/* Operation be cautious */3. Paging to view filesCat file name |
Swap configuration method under Linux environmentScene:Install a CentOS6.5 operating system this afternoon and forget to configure the swap partition. After looking at how to install the system, add and remove swap partitions.Here's how:1. Memory
First, the tar commandThe tar command is used to package and unpack.The gzip command is used for compression, decompression.The BZIP2 command is used for compression and decompression.These three are commonly used in Linux, and there are a few that
On the internet to see jetty feel very NB on the deployment of play, a long experience.Download Jetty9 AddressHttp://www.eclipse.org/jetty/previousversions.htmlYou can pick your own version here, I choose the 9 version hereHere I put the jetty in
Install Zookeeper:: http://mirror.bit.edu.cn/apache/zookeeper/The ZK node is preferably an odd number, which makes it easy to select the leader node in the node;Upload the zookeeper-3.4.10 installation package to the/software directory:TAR-ZXVF
ObjectiveInstalling virtual machines with VMware This is generally known and easy to operate. In this paper, we mainly use the subsequent related configuration of virtual machine. And record the problems encountered during use and some techniques.
To install the JDK in LinuxI believe many Java friends have installed the JDK in the Windows operating system, there is no detailed description of the JDK.Installing the JDK under Windows Reference: JDK Installation and configuration1. Download
NFS, Network File system. A System shares directories and files with others on the network. By using NFS, users and programs can access localFiles on the system.use: Share FilesAdvantages: Save disk spaceComposition: one server and one or more
A very old question, finding a suitable Linux distribution is more important than simply pointing out which Linux version is popular. Why do you say that? Let's set a scenario: You have a user, most likely, he used to work on a Windows or MAC system
first, the system directory structureConventional:Bin (binaries) holds binary executable fileSbin (Super User binaries) holds binary executable files, only root can accessetc (etcetera) storage System configuration fileUSR (Unix shared resources) is
Classification of commandsLinux commands are divided into internal commands and external commands.?? An internal command is a command that comes with a shell program that is part of the shell program that is identified by the shell program and runs
Modify the firewall configuration needs to modify/etc/sysconfig/iptables This file, if you want to open which port, add a bar inside.-A rh-firewall-1-input-m state--state new-m tcp-p TCP--dport 1521-j ACCEPTYes, where 1521 is the port number to open,
Installation Environment:Linux:centos6.4jdk:1.7 or laterZookeeper is a Java development that can run in Windows,Linux environments. The JDK needs to be installed first . Installation steps:First step: Install the JDKStep Two: upload the Zookeeper
Tar-C: Create compressed archives-X: Unzip-T: View content-r: Append files to the end of a compressed archive file-U: Update files in original compressed packageThese five are stand-alone commands, which use one of the compression decompression, and
when installing and using the software under Linux, it is usually only possible to use the software command in the Software installation directory (except with the Yum command), which is cumbersome and we want to use it globally to add the software
1. File test operationtrue If ... -e file exists -a file with this option has the same effect as-E. But it has been deprecated and is not encouraged to use -f file is a regular ( is not a directory or device file)-s 0-d file is a directory -r
First, describe the concept of a few times:World Time: At first, the International Standard Time was Greenwich Mean time, with the sun crossing the Prime meridian at a time of 12 noon. It is defined according to the astronomical environment, just as
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