I. IP Fundamentals1.ipv42 binary 32-bit-----10-binary172.25.0.10/255.255.255.0172.25.0.10:ip Address255.255.255. 0: Subnet maskNetwork Bit Host BitNetmask 255-bit corresponding IP bit for network bitSubnet mask 0 corresponds to the IP bit master
A regular expression is a string pattern match that uses a flexible, powerful, and simple way to control a string.1. Using grep for string matchingTest text 1.txtHelloworldhaa 12345678 [Email protected]#$%^&*(ASDWEXVRSD,. /]];] {}_ () ^%asdasdasdThe
01. Do not log on to the management system with root, and log on as a normal user through sudo authorization management. 02. Change the default remote connection SSH service port, prevent the root user from connecting remotely, or even change the
Command:SshCommand parameters:-L Specify login user -p set port number -F to run in the background, and recommended plus-n parameter Ñ REDIRECT standard input to/dev/nullto prevent reading standard input - N do not execute remote command, only do
I. The basis of the process:1, program : Program is a number of stored on the disk of the order of the set of instructions;2, process : Process is a process of implementation of the program;3, the relationship between process and procedure : ①, the
Top Iostat-x 1 10freeuptimecat/proc/cpuinfocat/proc/meminfosrc1. View DiskDf-h2. View memory SizeFreeFree [-m|g] Press MB,GB to display memoryVmstat3. View CPUCat/proc/cpuinfoJust look at the number of CPUs grep "model name"/proc/cpuinfo | Wc-l4.
Partitioning and formatting of disksWhat is a disk partitionDisk partitioning refers to the logical partitioning of physical media on a hard disk. Partitioning a hard disk into multiple partitions is not only beneficial for managing files, but
Using the command scriptEnter script Xxx.log at the command line, generate the Xxx.log file in the current directory, and then the output from the command line will be saved to the Xxx.log file, and when you want to end the save, enter the Exit
This command is performed by default in the CentOS environment, unless otherwise specified.1. View IP:Ifconfig2. Create a specified user and assign to a group: Create user users and assign to root groupUseradd-g Root User3. Modify the password for
1.1LinuxPartitioning Method1.1.1General Partitioning method One, the data is not very important
description
/boot
200m
boot information for the kernel and system
/swap
Linux operating system
Linux operating system Important commands
Shutdown–r now restarts the operating system, prompting other users
Shutdown–h now restart the operating system
Shutdown–h 20:25 Setting the system shutdown time
LVM2:Lvm:logical Volume Manager, Version:2The Dm:device Mapper device mapping component, which organizes one or more underlying block devices into a logical device module:Pv1+pv2+...>>vg>>lvThe VG will be PV into several pe,pe by default to 4M.After
Put the process into the background executionTAR-ZCF Etc.tar.gz/etc &Put the process into the background pauseDuring command execution, press CTRL + ZView commands in the backgroundJobs[[email protected] temp]# jobs[1]+ Stopped Top[2]-Done TAR-ZCF
Basic practice of iptables and basic practice of iptables
Directory:
I. Basic Rule exercises
Ii. SNAT Source Address Transfer
Iii. DNAT target address transfer
I. Basic Rule exercises
(1) Allow ssh (Port: 22)1 iptables -A INPUT -d 192.168.42.153 -
Install jdk_1.8 and linuxjdk_1.8 in linux
Reprinted from http://blog.csdn.net/ldl22847/article/details/76056501. Download the jdk rpm installation package, here the jdk-7u4-linux-i586.rpm as an example to explain:
SCP error: WARNING: remote host identification has changed !, Scpidentification
After google, the cause of this problem is that this is an ssh problem, said GkFool (the first time I used an SSH connection, an authentication will be generated
Jexus ~ Deployment in Linux environment, jexuslinux
Jexus, Jexus Web Server (JWS), is an ASP. net web server, which is a non-Windows system such as Linux, Unix, And FreeBSD. net web server core program is enterprise-level ASP.. NET cross-platform
Create a shared folder in Linux.
1. view the ip address ifconifg;
2. Check whether the samba server is installed. rpm-qa | grep samba;
3. If the server exists, start service smb start; otherwise, install yum install samba;
Samba-3.0.21b-2 // if this
Upload files to Baidu Network Disk through command lines in linux, and upload files in linux
I. Environment:
Centos release 6.9
Python 2.7.13
Ii. Install the tool bypy
Sudo pip install bypy
3. Use bypy
3.1 authorization
[Root @ ineedle ~] #
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