The implementation of the high availability cluster is implemented by the Keepalived software based on the VRRP protocol (virtual Redundant routing protocol);VRRP protocol:650) this.width=650; "src=" Https://s1.51cto.com/oss/201711/08/b4acee23372cb40
The device file name for the new disk is/dev/vdb size 100GB.#fdisk-L View the new disk1. Partition the new disk#fdisk/dev/vdbPrompt operation P print n new d Delete W operation effective Q exitAfter Operation W#partprobe forcing the kernel to
OverviewAn environment variable can be understood as a set of parameters for a system or user application;The path variable tells the system which directories to look for when running a program without specifying the full path, in addition to
Then the previous article, "Basic concepts and operations of Linux"1. deleting filesSometimes we want to delete the file is read-only files, directly using the RM file name, will be error. The "-F" parameter is then used to force the deletion.$ rm-f
The first step:Write Nginx file and put/etc/init.d/Nginx file content is as follows, pink parts for their actual nginx installation path.#!/bin/bash# nginx Startup ScriptForThe Nginx HTTP server# it is v.0.0.2version.# Chkconfig:-8515#
Recently attended a friend's wedding. Far away, without taking the computer. So it hasn't been updated. Very ashamed, starting from today to formally update the study content.First, VIMVim is the upgrade version of VI, the biggest difference is that
Top -interactive command to see performance data for each CPU -interactive commands h--8081 -c -elf|grep java-c --/proc/net/dev --/proc/loadavg-- /proc/meminfo - - /proc/stat-- 27989--27989 | grep running | wc-l- -How
1. Write the service script according to certain rules, for example: myserviced#!/bin/sh #chkconfig: 2345 #description: MyService case $ in start) echo "MyService startup" #将该行替换成你自 Service start-up order;; Stop) echo "MyService stop"
First, LVM1. DefinitionPv#物理卷, physical volumes are the underlying "physical" storage used by LVMPe#物理单元Vg#物理卷组, a volume group is a storage pool consisting of one or more physical volumesLvm#逻辑卷, logical chunks are mapped to physical chunks that
Directory Structure of LinuxApplication/usr/binData files to help/usr/shareConfiguration file/etc/Start command/ETC/INIT.D/bin Directory of common binary commands /boot Linux kernel and boot program file directory/ Dev device file directory, such as
Linux systems allow the addition of special permission bits and special attributes to files and directories in the daily management process and proper use of commands to add appropriate permissions and properties to some key files and directories
The startup process of a Linux system can be divided into five phases:
Boot of the kernel
Run Init
System initialization
Set up terminal
User Login System
1. Kernel Boot:When the computer is powered on, start with the
grep: View the contents of the text file, displaying the line containing the specified string.Format: grep [option] ' Match string ' text fileExample: grep ' root '/etc/passwdGrep-i ' Root '/etc/passwd ignoring caseGrep-v ' root '/etc/passwd is
Open a virtual machineSwitch Administrator identitiesSu-rootPassword: 12345678it becomes root.[Email protected] ~]$ Su–rootExit[[Email protected] ~] #exitShutdownInit 0RestartInit 6Turn off the machine nowShutdown–h nowThe meaning of the
Today I've been using SCP to upload files from Windows to a Linux server, but the tinkering has not been implemented for half a day. Later, the data found that the SCP implementation file upload and download seems to be only between Linux and Linux
Install Tensorflow Based on Anaconda in Ubuntu and anacondatensorflow
(1) download Anaconda(2) install AnacondaBash Anaconda3-4.2.0-Linux-x86_64.sh(3) Use Anaconda to install TensorflowCreate a conda environment called tensorflow.Conda create-n
In linux, if the input value of getch () is not displayed, linuxgetch
In linux, C programs are developed, but the system does not support the conio. h header file. getch () cannot be used to not echo the function. The following example shows how to
Install and uninstall the Mongodb database in Centos7, centos7mongodbMongoDB is a distributed file storage-based database. Written in C ++. It is designed to provide scalable, high-performance data storage solutions for WEB applications.MongoDB is a
Epoll and epoll
1 # include 2 # include 3 # include 4 # include 5 # include 6 # include 7 # include 8 # include 9 # include 10 # include 11 # include 12 # include 13 # include 14 # include 15 # define IP "127.0.0.1" 16 # define PORT 888
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