linux Text Processing sed, Package Management, Disk Storage and File System

1. Base name and document name [root@centos7 scripts38]#echo /etc/sysconfig/network-scripts/ |sed -r 's@(^/.*/)([^/]+)/?$@\1@' /etc/sysconfig/ [root@centos7 scripts38]#echo /etc/sysconfig/network-scripts/ |sed -r 's@(^/.*/)([^/]+)/?$@\2@' network-scripts 2. Modify the network to eth0 [root@centos7 scripts38]#sed -ri '/^[[:space:]]+linux16/s@( ...

Posted on Sat, 10 Aug 2019 01:13:39 -0700 by s_bastian

Detailed usage of the ceph-kvstore-tool tool

Article Directory brief introduction Use summary brief introduction The ceph-kvstore-tool is used to obtain key-value metadata stored in a leveldb or rocksdb database.And the tool can configure the data in kvstore as if it were operating osd map on an offline osd Using this tool, you need to i ...

Posted on Fri, 09 Aug 2019 19:37:09 -0700 by abid786

open-falcon deploys installation using docker

SECTION I ENVIRONMENTAL PREPARATION Operating environment VMware15+centos7 Install docker on centos Log in to Centos with root privileges. Use commands: & su root // When entering a password, the password is not displayed. The yum package is updated to the latest. # yum update Uninst ...

Posted on Thu, 08 Aug 2019 22:48:09 -0700 by Kardall

macvtap usage tutorial

One-click Installation of kubernetes MACVTAP is a commonly used technology for virtual machine network virtualization, of course, containers can also be used. The implementation of MACVTAP is based on traditional MACVLAN. Like TAP devices, each MACVTAP device has a corresponding Linux character device and the same IOCTL interface as TAP devices ...

Posted on Wed, 31 Jul 2019 05:01:41 -0700 by neox_blueline

Warehouse Page P3 for Docker Learning

Visit Docker Warehouse Repository is a place where mirrors are stored centrally. One confusing concept is Registry. In fact, the registered server is the specific server that manages the warehouse. There can be multiple warehouses on each server, and there are multiple mirrors under each warehouse. In ...

Posted on Thu, 25 Jul 2019 20:49:53 -0700 by bughunter2

Disk Management

Disk management 1. df command Unit introduction: Examples of df main parameters: 2. du command Examples of main parameters of du: 3. Disk partition fdisk command Examples of the main parameters of fdisk: 4. Disk formatting mke2fs command Examples of mke2fs main parameters: mkfs command Examples ...

Posted on Thu, 18 Jul 2019 22:27:42 -0700 by langemarkdesign

Bird Brother's linux Private Vegetable Learning Notes "Twenty-seven" User Identity Switching

su Parameters: - Simple use - such as "su-" means login-shell variable file reading method to login the system; If the user name is not added, it represents the identity switched to root. - l: Similar to - but need to add user account to switch later! It's also the way login-shell works. - m:-m is the same as-p, which means &qu ...

Posted on Wed, 17 Jul 2019 18:11:40 -0700 by MystedVeil

Compile and install Redis source code under CentOS6

Summary Info This article mainly introduces compiling the source code of Redis under CentOS 6.x and starting a Redis instance with background process. Download, decompress, and compile Redis source code Download Redis source code Open Redis's official website and enter the Download module: https://redis.io/download We will see: As ...

Posted on Sun, 07 Jul 2019 17:23:14 -0700 by Cognito

NFS Setting Method under Linux

NFS is a simple and effective method of file sharing between Linux and Unix. It is also one of the file storage methods supported by Kubernetes. In this article, we will describe in detail how to set up NFS on CentOS 7. Preconditions Because different distributions of Linux or Unix have slightly different possibilities, for convenience, bo ...

Posted on Wed, 03 Jul 2019 17:09:15 -0700 by dwu

Pseudo-Distributed Environment Construction of Hadoop Basic Tutorial

Pseudo-distributed mode is single-node cluster mode, all daemons run on the same machine. This mode adds the function of code debugging to view memory, input/output of HDFS file system, and interaction with other daemons. with Hadoop Users log on to K-Master server remotely. On the basis of single-machine mode installation, we add configuration ...

Posted on Wed, 03 Jul 2019 10:46:55 -0700 by robinas