Mail Service SystemNslookup check if the domain name can be resolved[Email protected] ~]# firewall-cmd--set-default-zone=trust #设置默认防火墙区域为trust[Email protected] ~]# echo server0.example.com >/etc/hostname #名字改为server0. example.com[email protected] ~]
File and Directory Operations commandsLS view file and directory view display details?parameters of the LS toolls-l viewing file detailsls-h Viewing the size of a filels-ld Viewing directory information onlyls–f different tags for different
1. Turn off the firewall or open the SSH login port (default 22) to the firewall.2, set the hostname temporary: hostname XX Permanent: Modify the corresponding hostname value in the/etc/sysconfig/network, and then restart the network card3, set the
Basic usage of the Linux BOC editor sedHow to deal with SEDReads the file into memory by default----> reads conforming rows into memory that belongs to SED (the mode space of sed) for editing----> display the contents of the post-processing mode
This article is reserved for your usual use.Reference article:Linux kernel tcp correlation parameter explanationHttp://os.chinaunix.net/a2008/0918/985/000000985483.shtmlLinux kernel parameter optimizationHttp://blog.chinaunix.net/uid-29081804-id-3830
Basic configuration of DHCP server under Linux: First enter the NIC configuration nic IP address, setting related network information 650) this.width=650; "src=" Https://s5.51cto.com/oss/201711/05/9a2b6e3f9f9c2779ad92b97950b61f01.png "title=
admin1.5Zoning Planning and use:Hard disk partition management:Use the Fdisk partitioning tool:View a list of partitions:--fdisk-l/DEV/SDATo modify a partition table for a hard disk:--fdisk/dev/vdbCommon Interactive Commands:-M: list instruction
Annotations:Command (M for help): pressing m here will output assistance:Command ActionA toggle a bootable flagb Edit BSD DisklabelC Toggle the DOS compatibility flagD Delete a partition note: This is the action of deleting a partition;L list Known
!! Repeat the previous commandThe character repeats the previous command that begins with "character"!num Install the history command sequence number execution command!? ABC repeats the command that contains "ABC" Before!-n repeating the last nth
System Log Default classification/var/log/messages system services and logs, including service information, error, etc.
/var/log/secure System Certification Information log/var/log/maillog System Mail Service information/var/log/cron System
Directory processing command (bottom) Delete empty directoryrmdir【目录名】Delete a non-empty directory or filerm -rf 【目录/文件】-rDelete Directory-fForcedSimply rm or rm -r would you really want to delete files or directories?Do not hit rm -rf / will erase
Display time is a common command, and it is often used in writing shell scripts to display date-related file names or times. The date command is both Linux and Windows.The use of the date command under Linux
Date [OPTION] ... [+format]
This is my first time to write a blog, if there is any wrong place or the wrong place, please do not hesitate to enlighten!!! First, the concept of disk quotasBecause Linux is a multi-user managed operating system, Linux by default does not limit
AwkCommand format:awk ' Begin{commands} pattern {commands} end{commands} ' fileWorking mode:1. Execute Begin{commands} statement block statement, optional statement block2. Read a line from the file or stdin, and then execute {commands}, repeating
1. Download the JDK (Oracle website download Linux version)2. Upload the JDK that will be installed to the installation directory using XFTP3, on the commandExtract:[Email protected] data]# TAR-ZXVF server-jre-8u131-linux-x64.tar.gzGo
Find commandCommand format: Find [Search Range] [search criteria]#搜索文件使用Example: Find/-name Install.log#避免扩大搜素的范围, wasting system resources#-name can only find the name of the file, need a fuzzy match, you can use wildcard characters, but the
The kernel is required to be above 4.9, if not, upgrade the kernel.modprobe Tcp_bbr Echo " Tcp_bbr " >>/etc/modules-load.d/modules.confecho"net.core.default_qdisc= FQ" >>/etc/sysctl.confecho"net.ipv4.tcp_congestion_ Control=bbr" >>/etc/-psysctl
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