On the Linux terminal:First you need to run Sudu-apt-get Scrot get Scrot SoftwareThen use the Scrot.The different methods and instruction formats are as follows: Scrot [options] [file].1. To full screen and save file name Scrot ~/name.png2. Grab the
Linxu shell script to see the source code, can understand the meaning. Encryption is also critical.01. Install SHC Encryptionhttp://www.datsi.fi.upm.es/~frosal/sources/# # #下载源码Baidu Cloud: HTTP://PAN.BAIDU.COM/S/1SKIEIG1Tar zxf
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
Access by name is a primary purpose of file system existenceis a software that manages binary binaries that exist on diskIn order to be able to install multiple systems on one disk, the concept of partitioning was introducedTrack: The tracks are
Linux: The network is a kernel featureLo: Local loopback Ethernet network card: EthX x= Digital pppxNetwork card naming rules exist location: RHEL6:/etc/udev/rules.d/70-persistent-net.rulesIfconfig-A: Displays the configuration of all
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 \ #
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
When installing the Linux system, the initial set of swap space is not enough to be used in the actual use, need to increase the swap space;All the following operations require root user privileges;To increase the swap capacity step:1. Create a
1. Modify Host NameVi/etc/sysconfig/network 2. Modify The IP addressVi/etc/sysconfig/network-scripts/ifcfg-eth0 Onboot=yes Indicates whether the network card is activated when the system is started, only the network card in the active state can
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
1./bin: Command required to obtain minimal system operability2./boot: Kernel and files required to load the kernel3./dev: Device items for terminals, disks, modems, etc.4./etc: Key startup files and configuration files5./home: User's main directory6.
Build local yum service and yum Service1. Prepare the linux ISO system image file (for example: rhel-server-5.5-i386-dvd.iso) 2. linux Virtual Machine (centos 7 192.168.50.24), start sshd service systemctl start httpd. service3, place the
Rsync synchronizes local files from time to time, and rsync synchronizes files
Real-Time Synchronization:Implement real-time synchronization (that is, when the content in the source directory changes, it will trigger synchronization to achieve the
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
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
CentOS7 custom boot item
Centos System Service Script directory:
/Usr/lib/systemd/
There are systems and users,
If you need to start a program that can run without logging on to the system, it exists in the system service,
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