Encounter a situation, that is, the time between multiple servers is not synchronous, and some are fast slow, this time will need to use the network,Log on to the server, enter the command date can query the server time, need to synchronize the time
TCP Too many connections, resulting in slower applicationsNetstat-nat |grep ' established ' |awk-f ' []+ ' {print $} ' |awk-f ': ' {print '} ' |sort-n|uniq-c|sort-nTwo • Determine if the server has been rebootedThree · View CPU-related
View
Every boot to start mycat, online to see a lot of is using shell script to realize mycat boot, and then see a method, directly modify the system files to achieve, has been practiced, effective methods.1. Modify the script file
Common directivesLS Display file or directory-l list File details L (list)-a lists all files and directories under the current directory, including Hidden A (all)mkdir Creating a Directory-P Create directory, if no parent directory, create p (parent)
1. What is an ACLACLs are the main purpose of access Control List to provide specific permission settings other than the traditional owner,group,others Read,write,execute permissionsACLs can be r,w,x for a single user, a single file, or a directory,
Yum:yellowdogupdate modifier,rpm Front-end program, can solve the dependencies of the package, can locate the package between multiple libraries, up2date alternative tools, the underlying relies on the Rpm,yum installation relies on its Yum
"Implementation Steps"1. Check the installation VSFTPD serverAfter entering the terminal as root (the other account enters the terminal can enter the root mode with the SU root password), enter the following command in the Terminal command window to
Linux Error RollupOne, the Linux system installed after MySQL, start MySQL error: Neither host ' localhost.localdomain ' nor ' localhost ' could be looked ...[[email protected] ~]# Mysqlerror 2002 (HY000): Can ' t connect to local MySQL server
1: Release the VS. Netcore Console project to the package (for example, file name: Demo2core.zip, the following will be used)2: Connect Linux using Xshell softwareA. Use the command ID addr on Linux to locate the IP address.B. Open Xshell New
[Email protected] ~]# ll/etc/rc.local lrwxrwxrwx. 1 root root-22:20/etc/rc.local The command in Ocal, which executes the #rc.local file at boot, does not have execute permissions by default, so it does not boot and requires the addition of x
Tips:CPU Total Cores = number of physical CPUs * Number of cores per physical CPUTotal logical CPUs = number of physical CPUs * Number of cores per physical CPU * Number of hyper-threads1) View CPU information (model) Cat/proc/cpuinfo | grep name |
PWD: Show current pathCD: Switch directoriesUsage: CDCd.. /Switch to Parent directoryCD/Switch to root directoryCD ~ (or CD only) switch to the current user home directory (the folder under the username named under Home)/root directorymkdir Creating
I. Definitionthe kill command is used to remove a program or work from execution. Kill to send the specified information to the program. The preset information is sigterm (15), which terminates the specified program. If you still cannot terminate
/var/log/message System Log/var/log/secure system security Log/var/spool/clientmqueue Mail Temp directory/proc/interrupts Viewing interrupt files/etc/fstab Disk File System boot automatically mount file/etc/profile Global Environment configuration
Useradd add User-u uid,-g specify the owning group,-s login shell,-m do not create user home directory-e Specify user expiration timeUsermod Modify User-U uid,-g specify the owning group,-s login shell,-e Specify user expiration timeIdChage View and
There are two ways to mount a hard disk on a Linux system:1, MOUNT/DEV/SDB1 (hard disk location)/HOME/TEMP1 (Mount position)2, NTFS-3G/DEV/SDB1 (hard disk location)/HOME/TEMP1 (Mount position)If the hard disk location cannot be determined at this
What's new in file content vimModal editor, full screen editorCentos7 Installing VIM:yum -y install vimThree different modes
1, the editing mode, open vim after the default mode, no eggs;
2, insert mode, directly can modify the text
After March 1 in 2017, the Docker version was named for the CE (Community Edition, Community Edition) version and the EE (Enterprise Edition, Corporate Edition) version. We use the CE version is enough.The basic operating system can be installed.I
1, set a shared directory on Windows Mailbak (set user rights, user name and password these)Full Control permission (read, write) for this shared directory2. Install the Samba-client client under Linux# yum Install Samba-client3. Install the
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