NetFilter Iptables Application ExampleOne filter table case1 Requirements: For the filter table only, the default input chain drop, the other two links accept, and then forThe 192.169.188.0/24 opens 22 ports and opens 80 ports and 21 ports for all
File System Knowledge SummaryWhat do I need to do to store the data for a newly purchased hard drive?First, the hard disk installed RAID, after the raid to partition, after the completion of the format to create a file system, and finally storage
Gzip compresses the original file and deletes the original fileThe-D decompression option is similar to Gunzip-# specifies that the compression ratio is 6 by default-C outputs the compressed content to the standard output and retains the original
StatementThis article copyright belongs to original author all, welcome reprint, reprint please indicate source.The original Xiaoxiang hidden person Source:http://www.cnblogs.com/kerrycode/ Original link:https://www.cnblogs.com/kerrycode/p/3785768.
1. Installation processCd/tmpgit clone https://github.com/andreafrancia/trash-cliCD TRASH-CLIsudo python setup.py install2. InspectionAfter the installation is complete, we have the following tools in our system? ~ Ll/usr/bin/|grep Trash-rwxr-xr-x 1
1 Get root access switch root2 Install E2fsprogs, some Linux comes with, some do not own, need to install3 Debugfs/dev/sda3 (the file is in the same partition)4 Wait until debugs: Enter Lsdel (lists the deleted files) please wait5 depending on the
This article is about Linux under the simple and rapid construction of the FTP server environment.1, SSH login server (I use Xshell)2. Yum Installation vsftpdExecute command: Yum install vsftpd3, modify the configuration, increase boot startModify
User Group Management commands:Useradd , the command is used to create a new user, in the format: "useradd [option] User name".Parameters: Function:-D Specify the user's home directory (default/home/username)-D Show default values-e account valid as
###### #准备镜像文件. rhel7_template.img, description file. Rhel7.xml placed inside/var/lib/libvirt/images/###### #记得把文件改成隐藏文件#!/bin/bashExit code:User Input NothingUser input is not a numberUser input out of rangeVM Disk image
I. Common compressed files Windows. rar. zip. 7zLinux. Zip,.gz,.bz2,.xz,.tar.gz,.tar.bz2,.tar.xzFile compression saves memory and can save transfer speedIi.. gzipFirst, create a folder/tmp/d6z/Found some big files to write 1.txtFor examplefind /etc/
Introduction to soft links, hard links, and linux links in linux
In linux, the file stored in the disk partition is assigned a number no matter what type it is, called the index node number inode.
Create a hard link directly using ln, and create a
In ubuntu, Tomcat is bound to port 80, and ubuntutomcat is bound to port 80.
Reprinted from: http://www.cnblogs.com/mabaoqing/p/7808354.htmlA problem occurred when deploying your own small project. In the tomcat server. xml modification, the port 80
How to solve various problems in the series of Linux sed commands
Directory:1. variable replacement in sed2. Reverse reference failure3 "-I" option file storage problems4. Greedy matching5 dispute between sed commands "a" and "N"1. variable
Linux-iconv command (18) and linux-iconv command 18
Iconv commandIt is used to convert the file encoding method. For example, it can convert UTF8 encoding to GB18030 encoding, which in turn works.Common options
-F font1 :( from) convert the
How to handle system crash after glibc is upgraded due to incorrect installation of RHEL7 package in RHEL6
RHEL6 mistakenly uses the RHEL7 disc source. After an RPM package is installed, glibc is upgraded, resulting in system crash.
Yum install
Linux Log view-cat command usage introduction, linuxcat
The cat command is used to connect files or standard input and print. This command is often used to display the file content, connect several files, or read and display the content from the
Libcrypto. so.10 content loss causes sshd to fail to run,
Start the VM today. The ssh service cannot start. The prompt is as follows:
Starting sshd:/usr/sbin/sshd: error while loading shared libraries: libcrypto. so.10: cannot open shared object
How to configure mutual trust between multiple Linux machines and multiple linux machinesEnvironment
Three machines:
Hadoop001, IP: 192.168.92.200 hadoop002, IP: 192.168.92.201 hadoop003, IP: 192.168.92.202Configuration
Run ssh-keygen on the three
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