In linux, check whether the variable has been set. $ {test:-newvalue }$ {test:-newvalue} is mainly used to test whether the variable test has been defined. if it has been defined, the defined value is printed; if not, the value of newvalue will be
To introduce in detail how to use Linux redirection refers to modifying some of the original default items and changing the default execution mode of the original system commands, for example, if I don't want to see the output on the monitor, but
Use ftp to regularly upload logs to other servers #! /Bin/bash # generation of time 'date -- date & quot;-1 hour & quot; + % Y 'M' date -- date & quot;-1 hour & quot; + % m 'D' date -- date & quot;-1 hour & quot; + % d 'H' date -- date &
Every day, a linux command (11): nl command link: A linux command (1): ls command every day (2): cd command http://www.2cto.com/ OS /201210/163050.html#a linuxcommand every day ..
One linux command every day (11): nl command link: One linux command
I. What is cdh? CDHisCloudera '100% opensourceHadoopdistribution, builtspecificallytomeetenterprisedemans is an open source distributed storage system. ii. what software and functions does cdh4 contain? First, hbase, hadoop, zookeeper, these are
Generally, when installing a database, the vast majority of users require selinux and iptables to be disabled before installation. However, in the carrier's system, many security factors need to enable iptables on the database host on the current
Clear all configurations/sbin/iptables-F clear all rules of the rule chain in the filter of the preset table/sbin/iptables-X clear rules of the user-defined chain in the filter of the preset table/sbin/iptables- Z clears the rules/etc/init in the
I. Overview linux has already had the packet forwarding function since the 1.1 Kernel. in the 2.0 kernel, we use ipfwadm to operate kernel packet forwarding rules. Later, we used ipchains in the 2.2 kernel to control kernel packet forwarding rules.
Shorewall is not a daemon program. it is a tool for loading iptables commands. therefore, do not count on using commands such as ps-aux to query its itinerary, the following sections describe the functions and formats of each set file. Essentially,
The Tcpdump command of the Linux network performance debugging tool is used to monitor TCP/IP connections and directly read data headers at the data link layer. You can specify which data packets are monitored and which control formats are to be
Tcpdump is a packet analysis tool that intercepts packets on the network according to user definitions. Tcpdump can completely intercept the "header" of the packets transmitted in the network for analysis. It supports filtering network layer,
Tcpdump may be the most famous application that checks the original data of network communication. Debian users can obtain it through apt-getinstalltcpdump, which is the famous pcap file, because pcap is the library for packet capture. In this
Today, I set up an nginx + keepalived dual-master load balancer. how can I enable two front-end nginx + keepalived communications? I had to worry about it for a long time. Is there any hardware firewall in front of the data center, for security, I
Iptables command syntax: iptables [-ttable] command [match] [-jtarget/jump]-t parameter is used to specify the rule table. There are three built-in rule tables: nat, mangle, and filter are considered as filters when no rule table is specified. Rule
This article introduces the basic usage of vi (vim), but it is enough for common users! The vi editor is a standard editor for all Unix and Linux systems. it is not inferior to any of the latest text editors. here we just briefly introduce its usage
After several years of operation, the company's FTP server has encountered insufficient space and decided to use LVM to resize the server. Idea: first copy the data, purchase a large-capacity hard disk and add it to the server, and then convert the
LVM is short for LogicalVolumeManager (logical volume management). It is a mechanism for managing disk partitions in Linux. it is implemented by HeinzMauelshagen on the Linux2.4 kernel. I. general idea: partition into LVM format (8e) -- create PV --
The first type keyword mainly includes host, net, port, such as host210.27.48.2, specifying 210.27.48.2 as a host, net202.0.0.0 specifying 202.0.0.0 as a network address, and port23 specifying port number as 23. If no type is specified, the default
Note: System: debian6.0.4IP address: 192.168.21.166 subnet mask: 255.255.255.0 Gateway: 192.168.21.2DNS: 8.8.8.88.8.4.4 operation: System O & M reminder: qihang01 original content copyright, reprinted, please indicate the source and original article
Ubuntu11.10 official version has been out for some time, and many friends are still using wubi to install it. In fact, it is very easy to install Ubuntu11.10 dual system on Windows XP hard disk. the installation process of Ubuntu11.10 is slightly
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