Linux server LVM disk expansion

View disk information fdisk -l To start the Linux operating system in the VMware environment and add a new partition, the root account identity is required. fdisk /dev/sda # The following parameter is the specified expanded disk Enter [m] at the command line prompt Enter the command [n] to add a new partition. Enter the command [p] to ...

Posted on Fri, 06 Dec 2019 04:45:34 -0800 by diesel_heart

2 linux user management: user CRUD [that is, the modification of / etc/passwd database]

3.2 linux user management: user CRUD [is the modification of / etc/passwd database] 1. Add useradd adduser $ useradd / adduser <userName> ##Increase user $ passwd <userName>##Set password $ userdel <userName> ##Deleting users can only be executed by the user groups of sudo of debian and wheel of red hat $ su & ...

Posted on Thu, 05 Dec 2019 22:05:57 -0800 by andyg2

Centos7 installs docker in five steps and solves the problem that the official image of docker cannot be accessed

According to official documents: https://docs.docker.com/install/linux/docker-ce/centos/ Build docker1. Uninstall the old version of docker: sudo yum remove docker \                   docker-client \                   docker-client-latest \                   docker-common \                   docker-latest \                   docker-latest-lo ...

Posted on Wed, 04 Dec 2019 15:33:22 -0800 by yankeefan238

Detailed explanation of the process of mounting the hard disk on ubuntu server

The hard disk of the server has been read, but the system is not mounted separately after installation, so it cannot be used. 1. Hard disk partition First, check the status of all the hard disks of the machine sudo fdisk-l, and the results are as follows: Disk /dev/sda: 893.3 GiB, 959119884288 bytes, 1873281024 sectors Units: se ...

Posted on Wed, 04 Dec 2019 07:40:23 -0800 by tmaiden

System build -- NFS mount root file system

This article introduces the use of NFS to mount the root file system. NFS service needs to be configured on host first startnfs.sh: HOST_IP=192.168.1.1 NET_NUMBER=192.168.1.0 NET_MASK=255.255.255.0 NFS_ROOT=~/work/rootfs sudo apt-get install nfs-kernel-server sudo apt-get install uml-utilities if [ ! -e /etc/exports.bak ]; ...

Posted on Wed, 04 Dec 2019 01:40:54 -0800 by gardner1

The construction of ubantu16.04 arm cross compiling environment

Install arm-linux-gcc-4.4.3 on Ubuntu 16.04 I. unzip the installation package: sudo tar -zxvf arm-linux-gcc-4.4.3.tar.gz -C / Note that there is a space after C, so the extracted file is under the path of / opt / friendlyarm / toolchain / 4.4.3 3. Create a new arm directory under the / usr/local directory, and copy 4.4.3 under ...

Posted on Tue, 03 Dec 2019 18:38:15 -0800 by piet123

Using tar.gz to install mysql on mac

Official: download: https://dev.mysql.com/downloads/mysql/ MySQL reference document: https://dev.mysql.com/doc/ Environmental Science: macOS Mojave 10.14.2 User: Administrator user, no new mysql user or group was created during this period Installation kit: mysql-8.0.13-macos10.14-x86_64.tar.gz Installation configuration 1. decompressio ...

Posted on Mon, 02 Dec 2019 16:01:27 -0800 by pbaker

Request Let's Encrypt wildcard SSL certificate

Preface This article installs certbot on your own computer. Verify domain name ownership through DNS. After 90 days, the certificate needs to be renewed manually. After the certificate is obtained, it is uploaded to the server manually, which is only suitable for the development mode. Please refer to other articles for the automated issuance pr ...

Posted on Sun, 01 Dec 2019 14:39:09 -0800 by freynolds

Calling Ansible API in playbook mode through Python

Because little brother Bi design is a simple automatic operation and maintenance system, he has entered the ansible pit. Now he wants to record the core code of some key technologies in the process of Bi design, and also hopes to communicate with everyone through this platform for learning and common progress. &nbsp; //There are four docum ...

Posted on Sun, 01 Dec 2019 03:00:16 -0800 by canishk

rap2 construction (to be continued)

1. Required environment 1,rap2 2,mysql mysql installation By default, there seems to be no mysql in the yum source of CentOS7. To solve this problem, we need to download mysql's repo source first. Download the repo source of mysql $ wget http://repo.mysql.com/mysql-community-release-el7-5.noarch.rpm Install mysql-communi ...

Posted on Sun, 01 Dec 2019 02:07:19 -0800 by NeilB