Not planning at first, causing the/home space shortage, plus the partition table is not GPT, resulting in the inability to expand more than 2T, so it is necessary to re-partition a larger hard disk to/home.1. Partition and format the newly mounted
First, related termsCompression: An operation that reduces the file storage space by the algorithm and takes time to change spaceCompression ratio: The ratio of size before compression to a file compression operationIi. compression tools commonly
first, find files in Linux
Which, Whereis, plus locate.Yum install-y mlocate//Installation LocateThe first time the data file does not exist,Input UpdateDB can be
Findfind/tmp/chen/-type f-mmin-60-exec mv {} {}.bak \;Find/-inum 21111212Find.
Path:Absolute path: An absolute path is the way in which an input path begins with "/"Relative path: usually with "." or ".." All that starts with a relative pathTo view server basic information:Cat/proc/cpuinfo Viewing CPU
Basic concepts for users and groupsLinux operating system is a multi-user operating system, users must use the system to request an account, as the account of the identity of the system to use the resources allocated by the operating system. Each
今天学习了用户与账号的管理。大体分为两部分,一·账户管理;二·文件权限属性。The first part of the first summary: User accounts are divided into super-users, ordinary users and program users. Group accounts are divided into basic groups and additional groups. The second section: User
Basic commandsThe basic principles of 1.Linux:1, consisting of a small program with a single purpose; a combination of small procedures to complete complex tasks;2, all documents;3, try to avoid capturing the user interface; (try not to interact
Common logs on Linux are:1./var/log/cron Query crontab has not been executed, whether there is a problem.2./VAR/LOG/DMESG records the information generated by the kernel detection process when it is powered on.3./var/log/lastlog records the
DD is a very useful command under Linux/unix, which is to copy a file with a block of the specified size and make the specified conversion at the same time as the copy.Name: DDUsage rights: All user dd This directive is defined in manual as convert
in a real-world production environment, you will often encounter servers CPU full problem, this time, the correct method of troubleshooting, help to quickly locate the problem. 1, find the most CPU -consuming process executes top , displays a list
3.1 user profile and password configuration filesUser profile/etc/passwd, each user information occupies one line, separated by a colon: 7 segments.First paragraph: User name.Second paragraph: Early for storing user passwords, now x.The third
Now the Linux desktop has developed very well, playing music in the desktop operation is very simple. So we remember how we played the music when the desktop wasn't so good? Hey, I can't remember, it's too hard.But now we can install a small
"Points of knowledge"1. User's identity and ability; 2. file permissions and attribution; 3. Special permissions for documents; 4.su command with sudo service; 5. File access Control list."Important explanation"First, user identity and ability1)
Issue 1, Connection not onWorkaround:First enter the network card settings configuration directory, command line input cd/etc/sysconfig/network-scripts/Then select the network card that needs to be configured, open VI ifcfg-eth0 with the VI editor,
Before writing a simple script to detect the status of the host in the current network segment script, the following:#! /bin/bash#ping Check Host status forIpinch' Seq1 255`; Do{Ping-C1 192.168.214. $ip >/dev/NULL 2>&1if[$?-eq0 ]; Then Echo192.168.2
1. Samba Service IntroductionSamba is the first bridge between Linux and Windows two platforms, and thanks to the advent of samba, we can communicate with each other on Linux systems and Windows systems, such as copying files, To realize the
1:dev/cdrom temporarily mounted to/mntPress Df-h to view the Mount status2: Set auto Mount#vim/etc/fstab Edit3: Go in vim text edit press O to the most downward start edit4: Input/dev/sro/mnt iso9660 defaults 0 05: Open YUM.REPOS.D under Etc
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