For hard drive identification, Linux identifies the storage device based on the device type, if the IDE device is recognized as HD, the first IDE device is HDA, the first primary partition is HDA1, and the first logical partition is HDA5. The second
1 Last: Display user login information (/var/log/wtmp file)Options:-N recent times[Email protected] ~]# last[Email protected] ~]# last-202 Lastlog: Displays the last login information for each user[Email protected] ~]# Lastlog[Email protected] ~]#
The Linux system has 7 runlevel (runlevel):
RunLevel 0: System down state, system default RunLevel cannot be set to 0, otherwise it will not start normally
RunLevel 1: Single User working status, root privilege, for system maintenance,
System Virtual Machine Management# # # #1. Installation # # ##!/bin/bash # #命令运行环境的指定Virt-install \ # #安装虚拟机--name \ # #虚拟机名称指定, which represents the first string of characters after the script--ram \ # #内存--FILE/VAR/LIB/LIBVIRT/IMAGES/$1.IMG \ #
Background introductionAfter the physical host has been upgraded from vSphere5.1 to vSphere5.5, the virtual machine vmware-tools running on it appears to be out of date, and the vmware-tools needs to be updated. Windows has a relatively simple
First, Background introductionCompile the kernel although in the actual work of the odds, but as a Linux operator, or to compile the kernel have a preliminary understanding of the following to introduce the method of compiling the kernelSecond, the
Linux disk operations view newly added disksusing fdisk–l view , the following example shows that/dev/vdb is a newly added 10G hard drive:Partitioning a diskuse parted/dev/vdb (newly added disk) to enter a disk partitionuse the Mkpart
ExtractSyntax: tar [main option + Secondary options] file or directoryWhen using this command, the main option is required, and it tells Tar what to do, auxiliary options are auxiliary and can be used.Main options:C Create a new profile. Select this
Common Reboot/halt Restart/shutdown commands:Restart command:1.reboot2.Shutdown-r NowRestart now (root user)3.Shutdown-r Tenautomatic Restart after 10 minutes (root user)4.shutdown-r 22:00Restart at 22:00 time (root user)if it is
Today suddenly want to try the pure socket programming on the two systems code coincident amount of how much, as long as not using VC custom macros (such as sockets, SOCKADDR, etc.) feel the code overlap is very large.For example, the simplest TCP
Summary of the use of the linux busybox tool mdev, hot swapping of sound cards, and driver mounting
Mdev usage and principles
Mdev is a simplified udev that comes with busybox and is suitable for Embedded Application merge. It is easy to use. It can
Linux Log introduction, linux Log Introduction
Linux logs
Linux logs are mostly stored in plaintext and are generally stored in the/var/log directory. in linux, there are three major log subsystems: connection time logs, process statistics logs, and
Virtual Machine VMware network type & SSH remote connection to Linux, virtual machine vmware Network
Preface: The Linux topic was written in November. I am ashamed to say that I haven't learned Linux for five months. So far, I feel that I haven't
This chapter focuses on the content and content
This chapter is a basic course that helps you lay a good foundation for Linux in the big data field, so that you can better learn Hadoop, NoSQL, Oracle, MySQL, Spark, Storm, and many other courses.
Install Nginx and CentOS 7 yum
1. Add Nginx to YUM Source
Add the CentOS 7 Nginx yum resource library, open the terminal, and run the following command:
Sudo rpm-Uvh
Shell script file test operator and integer comparison operator,
I. File test operators:
When writing a test expression, you can use the following file test operator.
More parameters can be help test or man bash.
II,String test
Centos7 mysql installation, centos7mysqlI. System Environment
[Root @ localhost home] # cat/etc/redhat-release
CentOS Linux release 7.2.1511 (Core)Ii. Install mysql
The installation of mysql and mysql-devel is successful, but the installation of
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