Linux Learning Notes (33) iptables Backup, Firewalld

I. Saving and backing up iptables rulesService Iptables Save//rules will be saved to/etc/sysconfig/iptables iptables-save > My.ipt//iptables rules back to My.ipt file iptabl Es-restore Second, FIREWALLDOpen FirewalldSystemctl Disable

Use GPT to partition, format, mount a disk under Linux

GPT (GUID) partitioning (recommended) sudo parted # Enter the parted tool, enter help to view assistance SELECT/DEV/SDA # Select the device you want to operate, be sure to be careful not to operate the default device by mistake

Linux-powered hybrid devices (Misc)

Hybrid devices for the character device:To define a hybrid device:struct misdevice{int minor;  Why is there only a secondary device number because the hybrid device is a /////////////////////////linux system with the default main device number of 10

Linux monitor external IP connectivity at some point

I believe everyone is familiar with netstat command, this is the main use of this command. Online DDoS Deflate tool is the use of IP number to count the number of external connections, and then combined with iptables method to achieve an IP

Linux block device read and write process

In learning the principle of block devices, I most relate to the data flow of the block device, from the application call read or write, the data in the kernel in the end how to flow, processing it? And then how to get to the specific physical

Linux Learning Summary (18) Several simple text processing tools cut sort TR Split

1 command cutUsed to intercept a fieldFormat: cut-d ' delimiter ' [-CF] n, N is a number, indicating the first paragraph-D: followed by a delimiter with a single quotation mark-C: followed by the first few characters-F: The first paragraph is

Linux under the Disk Management Artifact LVM command use and TCP protocol

I. Introduction of LVMLVM (Logical Volume Manager) is a logical Volume manager for Linux kernels and is a mechanism for partition management of disks in Linux environments. Introduce several nouns about LVM first1, PV (physical volume) can be a disk,

Linux Notes #06 # Self-built git repository on VPS

vps

Reference:GitHub help:connecting to GitHub with SSHLiaoche's official website: building a git serverNovice Tutorial: Git Server Setup1. Installation record (may be wrong ...) )Local ( Debian 8.8):sudo Install gitgit version # ensures proper

Linux Basic Course Notes

Linux system Installation1.1 Disk Partitioning/root Partition/boot system boot partitionPS: It is recommended to separate the/boot partition to facilitate the system faultThe swap partition simulates the space of the hard disk into memory space,

Linux 124 Lesson 2, managing files from the command line

File directory/represents the root directory the entire system is all in the root directory/boot Store Boot configuration file recommendations, separate into a partition/dev Device file directory such as: CD, HDD/etc store all the configuration

Firewall for Linux

View the status of the current SELinux[Email protected] ~]# GetenforceTemporarily close SELinux[Email protected] ~]# Setenforce 0Permanently close SELinux[[email protected] ~]# vim/etc/selinux/config change selinux=enforcing to selinux=disabled

Resize the swap partition under Linux

CentOS and Redhat Adjust the size of the Exchange partition is the same way, I have done;The first step, you want to make sure that there is enough space on your disk to do swap partition, swap partition really find an empty space on the disk to

Linux Scheduler-User space interface

First, prefaceThe Linux scheduler is mysterious and tempting, and every Linux engineer wants to dive into its interior. But there is an old adage in China called "The Heart of Life", a module of ingenious internal logic (the so-called "heart") whose

Linux Local parsing file/etc/hosts description "original"

Windows domain name Local resolution file hosts is able to have a domain name on multiple IPs, if there is a problem with IP, can go to resolve to other IPLinux local parsing file/etc/hosts, whether it can also do so. Here's a test.Let's take a look

Linux commands (18) Compress or unzip files and directories gzip Gunzip

Directory1. Introduction to Commands2. Common parameter Introduction3. Example4. Direct access to the bottomIntroduction to CommandsLike the zip command, gzip for file compression, gzip compressed file extension ". gz",gzip Delete source files after

Linux system to view CPU, memory, disk, version, and other information, linuxcpu

Linux system to view CPU, memory, disk, version, and other information, linuxcpu [Statement] The content of this blog is from the blogs of netizens. This blog is just a summary for you to view it easily. References:Https://www.cnblogs.com/xubiao/p/64

Linux Log view-head command usage introduction, linux Log head command

Linux Log view-head command usage introduction, linux Log head command The head command is used to display content starting with a file. By default, the head command displays the first 10 lines of the file. NAME (NAME) head-output the first part of

Linux rmdir command

Linux rmdir command Delete files and directories on the Linux Command Line. We have discussed the use of the rm command. However, there is another related command line tool dedicated to directory deletion. This tool is rmdir. In this tutorial, we

CentOS 7 uninstall home to expand the root Space

CentOS 7 uninstall home to expand the root Space Background: Check the gitlab backup server and find that the backup files in the last few days have not been uploaded to this server according to the settings. Because this server is newer, there are

Basic Shell learning and basic Shell Learning

Basic Shell learning and basic Shell LearningShell Shell is a program written in C language, which serves as a bridge between users using Linux. Shell is both a command language and a programming language. Shell is an application that provides an

Total Pages: 5467 1 .... 930 931 932 933 934 .... 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.