After the operating system starts, some services and programs are started automatically. Some of these programs are not required for the server to function properly.For the server, running redundant services and programs, which do not add points to
Locate
Usage: Locate file name
Search by file name in background database, search faster, database is/var/lib/mlocate
UpdateDB: Updating the database
Search by file name only
Whereis command to search for commands
Background:When we develop Linux online server, we often encounter the problem of handle leaking. Because in the Linux system design to follow everything is the principle of the document. That is, disk files, folders, network sockets, disks,
1, LS2. PWD Displays the current directory location3. Date datetime4. Cal CalendarThe current month is displayed by defaultCal 2012: View the 2012 calendarCal Month Year: View calendar for a month of the year5. BC CalculatorBC Default execution
1. Determine the log file name and path of the online server2, a local server can connect the public network, create a log account, set the password3, the online server requirements: A. Determine if the Sshpass package is installed[Email protected]
Today encountered a strange problem, the same script, manual execution No problem, added to the crontab, there is no running situation, the first reaction is the environment variable problemEnvironment Description:Operating system: CentOSUser: Test
Main idea: Using Ssh-keygen to generate RSA key pair, there are two waysOne. Generate a key pair by the client, the corresponding "lock" to the server (login target)1. The client generates a key pair, generates a key pair default path ~/.ssh,
Methods of breaking password:Method 1. Single- user mode changes Power on press SPACEBAR to enter edit state. Press e e key edit, press SPACEBAR to enter 1 (means enter into single-user mode) b Key to start, enter single-user mode.
View PATH: Echo $PATHUse the ENV command to display all environment variables : $ envuse the SET command to display all locally defined shell variables : $ setUse the unset command to clear environment variablesSet sets the value of an environment
Background: Sometimes we copy files between two hosts, prompt for password, very inconvenient, how to avoid password copy it? is to use the Linux public key and secret key to establish a two-machine trust relationship.1. Generate the secret key and
In Linux, the color of the file is meaningful. whichBlue indicates directoryGreen indicates an executable fileRed indicates compressed filesLight blue indicates a linked fileGrey means other filesFlashing red indicates a problem with the linked
Compress an entire Directory or a single FileUse the following command to compress an entire directory or a single file on Linux. It ' ll also compress every other directory inside a directory of your specify–in other words, it works recursively.TAR-
In the enterprise management of the Linux server, you have to face a problem that is the partition, next to share with you how to properly manage the disk.Partition Table TypeMBR 4 Primary partitionsGPT supports 128 primary partitionsBased on MBR
First, Concept introductionLinux systems typically use the free command to view memory usage, and the free command is primarily read from the/proc/meminfo file and then presented in simple processing, based on the manual of the View Free command to
Linux is a free and open source Unix-like operating system that uses the Linux kernel. There are many different Linux distributions that can be installed on a wide variety of computer hardware devices, from phones, tablets, routers and video game
Iso/osi modelThe OSI seven-layer framework acts on the application layer: the layer presentation layer of the user operation: the conversion between the binary data and the display data, and also the encrypted local session layer: determining
Install and use the percona-toolkit (ultra-detailed version) and perconatoolkit in linux
1. Check and install Perl-related modules
The PT tool is written and executed in the Perl language. Therefore, the system must have a Perl environment.
The
MySQL uses the pt-online-change-schema tool to modify the 0.16 billion-level data table structure online, ptonlinechangeschema
AbstractTo:This article describesMySQL DDLStatus Quo,Pt-online-schema-changeWorking principle, And actual
The jdk file downloaded from the oracle official website in Linux is not a standard gzip file.The escape or tar. xz format cannot be avoided because someone may accidentally change the name after compression. Bytes. You can run the file command to
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