Keepalived for Linux (HA high availability cluster)

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

Linux uses SSHFS to mount remote directories locally

1 Installing SSHFS[email protected] ~]# Yum install SSHFS2 Creating a local directory[Email protected] ~]# Mkdir/lys[Email protected] ~]# chmod 777/lys/3 mount remote directory to local[[email protected] ~]# SSHFS remote server's login name @ remote

mount a new disk to a specified directory or partition in Linux

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

Linux-Environment variables

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

Basic Linux Concepts and Operations 2

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

Linux add nginx to service boot

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#

Linux Learning Notes (17)

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

Linux related command usage record

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

Add services under Linux

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"

Basic application of LINUX--LVM

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

Linux basic directory structure and important subdirectories

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

Special permissions in Linux A and I

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

Linux Learning Notes Linux system startup process

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

Linux View commands

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

Getting Started with Linux 1

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

SFTP way to upload files from Windows to Linux servers

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

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, 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, centos7mongodb

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

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

Total Pages: 5467 1 .... 3770 3771 3772 3773 3774 .... 5467 Go to: GO

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.