Modify firewall port opening method under Linux

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:#

Linux Common commands

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 environment

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

Linux Common Commands Nine tar

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

Linux under Jetty9 installation deployment

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

Linux installation Configuration zookeeper-3.4.10

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

Installing Linux virtual machines and related configurations using VMware

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 Linux

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

Linux-nfs File System

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

What are some of the distributions for Linux newbies?

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

Linux Common basic commands

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

Get Linux Help commands

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

Linux Setup opens a port

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,

Linux Basic optimization Scripts

[email protected] opt]# cat tun_ins.sh#!/bin/bash################################################################# Base Plform for x86_64 BIT_CENTOS6 ## Define Yum & Base Tools & Security File && Kernel Sysctl ## Author Pharmacodia ## create_time:201

Zookeeper installation in Linux

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

A detailed description of the TAR decompression command under Linux

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

Linux Add system Environment variables

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

11. Introduction to Linux network management

1. Communication protocol:???? TCP/IP: four-layer model, namely: physical layer, network layer, Transport layer, application layer???? Iso/osi: seven-layer model: Physical layer, Data link layer, network layer, transport layer, Session layer,

Linux file Test action

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

Unix/linux System Time Function API

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

Total Pages: 5467 1 .... 3208 3209 3210 3211 3212 .... 5467 Go to: GO

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.