Common Linux iptables rules

# 1. Delete all existing rules Iptables-f # 2. Set the default chain policy Iptables-p INPUT DROP Iptables-p FORWARD DROP Iptables-p OUTPUT DROP # 3. Block a specific IP address #BLOCK_THIS_IP = "x.x.x.x"

Linux Install Git method

Excerpt from Baidu ExperienceTo install the GIT client on Linux, the system is centos6.5 64-bit with the following steps.Tools/Materials Git CentOS6.5 V2.3.0.zip Method/Step 1Use the git--version command to check if it'

Linux installation Lamp

Installing the Package CompilerGcc-v See if there are anyYum Install GCC gcc-c++ MackRpm-q httpd to see if HTTP is installedRPM-E httpd--nodeps Uninstalling packages and dependenciesTAR-ZXF apr-1.5.1.tar.gz Extract Apr PackageCD apr-1.5.1./configure-

Linux Source Installation Zabbix_server

Install MySQL Tar XF cmake-3.8.2.tar.gzCD CMAKE-3.8.2/./configureMake && make installYum install-y gcc* gcc-c++* autoconf* automake* zlib* libxml* libgcrypt* libtool*Yum install-y OpenSSL openssl-devel ncurses ncurses-develYum install-y

Linux network programming-posix condition variables (40)

Give a Lezilai description of the condition variable:Suppose there are two threads accessing the global variable N at the same time, the initialization value is 0,A thread enters the critical section for a mutex operation, and the thread waits when

Linux basic Commands

How to use the commandShutdown--helpShutdown--?Man shutdown these three ways can beShutdown's wrong, he'll have a clue.Which command does not know how to use, ask a man on itMan is manual handbook, manual Hand, manualClearClear is the clear screen,

Linux permissions issues (1)-sticky

background : When a friend uses PHP for the MV operation, there is a problem with permission denied. After viewing, the discovery directory set the sticky permission, after canceling this permission, the file can be normal MV and delete.Sticky: for

Linux Common basic Commands 1

Linux TerminalLinux has 6 terminal ALT+F1-F6 switch each terminal so there is a benefit, you can use multiple terminals at the same time to do things, a terminal dead, you can also switch to another terminalCD/root directoryLsThe Blue CatalogueWhite

Linux ls Command detailed

The LS command can be said to be one of the most commonly used commands under Linux.-A lists all files under the directory, including the. The implied file at the beginning. (after a detailed explanation)-B lists the characters that are not output

Linux Common commands Brief--ls

First, LS introductionThe LS command is a short list that displays the list of files and folders in the specified directory; The LS command can not only view files contained in a Linux folder, but also view file permissions, directory information,

Linux tips: Several ways to keep processes running reliably in the background

We often encounter such problems, log on to the remote Linux server with TELNET/SSH, run some long-time tasks, the result of the network instability caused by the task Midway failure. How do i make the command submit without being disturbed by the

Linux Policy-based routing

Linux policies-based routing (Linux policy Routing)Linux has traditional routing algorithm based on packet destination address, and new policy-based routing algorithmAdvantages of the new algorithm: support for multiple routing tables, supporting

View the number of concurrent connections and connection status of Nginx, etc. under Linux

View the number of concurrent connections and connection status of Nginx, etc. under Linux.1. View the number of concurrent requests for the Web server (Nginx Apache) and its TCP connection status:Netstat-n | awk '/^tcp/{++s[$NF]} END {for (a in S)

Linux load View

Load is an important indicator of the Linux machine, which intuitively reflects the current state of the machine. If the machine load is too high, then the operation of the machine will be difficult.Linux has a high load, mainly due to CPU use,

Errors:linux System Errors

When system requests fail, error code is returned. To understand the nature of the "error these codes need to be interpreted. They is recorded in:- /usr/include/asm/errno.hHere is a copy of the that file as of the 2004 on RedHat 7.3#define EPERM 1 *

linux-Basics-Day 16th

1. BackupMv/etc/yum.repos.d/centos-base.repo/etc/yum.repos.d/centos-base.repo.backup2, download the new Centos-base.repo to/etc/yum.repos.d/CentOS 5Wget-o/etc/yum.repos.d/centos-base.repo

How to implement scheduled mail to a designated mailbox in Linux, monitoring tasks

1#!/usr/bin/env python2#-*-Coding=utf-8-*-3ImportSmtplib4From Email.mime.textImportMimetext5ImportThreading6ImportTime, DateTime78 mailto_list=["[Email protected]"]#It's the other person's mailbox.9#-----------QQ Mailbox Send settings----------------

Linux Server performs yum update unsuccessful

Linux Server performs yum update error alert:Loaded Plugins:fastestmirror, Refresh-packagekit,Security need to is root to perform this command.Centons underIt probably means that fastestmirror can not be used, Fastestmirror is a Yum accelerator plug-

The Linux thread pool is simple to apply on the server

I. Descriptive narrative of the problemNow take the C/s architecture as an example. The client sends a number to the server to find, and the server side initiates the thread in the thread to make the corresponding query. Displays the results of the

Windows, Linux upload and download from FTP server via FTP

Recently need to use the file upload and download, view the system we used, found that there is a process for t_ftpd, suspected that it is an FTP daemon, and then want to be implemented in the FTP way.Implemented using the Bat script on

Total Pages: 5467 1 .... 2166 2167 2168 2169 2170 .... 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.