Linux server records and queries historical operation records

In the process of using Linux server, there are often people other than themselves. Not everyone is particularly familiar with Linux server, and some operations will inevitably lead to server error. Therefore, it is necessary to monitor and record the operation of Linux server! history is a command to query the operation of t ...

Posted on Sat, 04 Jan 2020 01:27:32 -0500 by c-o-d-e

nginx deployment and simple optimization

In order to facilitate the development of a simple deployment script, we used the latest stable version 1.14.0, the default path, to join in the process management of system D system. We can use system D to manage the startup, termination, overload, status, startup and self start of nginx 1 #!/bin/bash 2 3 yum -y install gcc pcre pcre-deve ...

Posted on Fri, 03 Jan 2020 22:33:37 -0500 by Lynny

Failed to start OpenVPN

Failed to start OpenVPN Text: tiele and cat [root@yunwei_OpenVPN openvpn]# systemctl status openvpn ● openvpn.service - LSB: start and stop openvpn Loaded: loaded (/etc/rc.d/init.d/openvpn; bad; vendor preset: disabled) Active: active (exited) since Four 2017-11-16 15:41:52 CST; 1min 31s ago Docs: man:systemd-sys ...

Posted on Fri, 03 Jan 2020 20:11:46 -0500 by danbot26

Install MySQL version 5.7 under linux

Check whether mysql is uninstalled before. Refer to the previous blog 1. Download the installation file http://ftp.ntu.edu.tw/MySQL/Downloads/MySQL-5.7/ For each version of mysql5.7, choose linux-glibc 2.12-x86 ʄ [root@iZ23hdndo4vZ tmp]# wget http://ftp.ntu.edu.tw/MySQL/Downloads/MySQL-5.7/mysql-5.7.23-linux-glibc2.12-x86_64 ...

Posted on Fri, 03 Jan 2020 17:33:29 -0500 by IMP_TWI

Domestic installation of Docker CE and docker compose

Domestic installation of Docker CE and docker compose The installed system is Ubuntu 16.04 Docker CE installation Replace with domestic source Modify the file / etc/apt/source.list Replace the source of Alibaba cloud with deb http://mirrors.aliyun.com/ubuntu/ xenial main restricted universe multiverse deb http://mir ...

Posted on Fri, 03 Jan 2020 16:50:01 -0500 by alan543

Tomcat deployment (principle explanation and deployment practice)

Tomcat deployment I. Preface The previous article is about two major server software in the web: Apache and Nginx. Here, let's make a simple summary. 1. Features and performance of Apache and Nginx Apache supports many modules with stable performance. Apache itself is static parsing, suitable for static HTML, pictures, etc., but it can support ...

Posted on Fri, 03 Jan 2020 13:45:00 -0500 by harkonenn

Kubernetes/7.Pod controller Deployment

Pod controller Deployment At the beginning of this chapter, we will explain and analyze the controllers one by one. First, we will explain the most basic and commonly used controller: Deployment! Classification of controller objects What is Deployment? Update mechanism of Deployment ReplicaSet Command supplement Deployment-demo Remarks 1. Cl ...

Posted on Fri, 03 Jan 2020 12:37:23 -0500 by th3void

Linux add swap partition

Create a common Linux partition (either primary or logical) fdisk /dev/sdb Command (m for help): p Disk /dev/sdb: 8589 MB, 8589934592 bytes 255 heads, 63 sectors/track, 1044 cylinders, total 16777216 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/opt ...

Posted on Fri, 03 Jan 2020 10:41:45 -0500 by bigphpn00b

Using kubeadmin to configure pit filling records of k8s cluster

Using kubeadmin to configure k8s cluster Labels (space separated): kubernetes series 1: System initialization 2: kubernetes installation 1: System initialization 1.1 system host name 172.17.100.1 node01.flyfish 172.17.100.2 node02.flyfish 172.17.100.3 node03.flyfish 172.17.100.4 node04.flyfish 172.17.100.5 node05.flyf ...

Posted on Fri, 03 Jan 2020 09:49:04 -0500 by dstantdog3

Linux basic learning Postfix and Dovecot deployment mail system

E-mail system E-mail system is the most commonly used network service in our daily work and life. Deploy basic e-mail system [root@qdlinux ~]# yum install bind-chroot -y [root@qdlinux ~]# vim /etc/hostname [root@qdlinux ~]# hostname mail.linuxprobe.com //Clear the iptables firewall default policy and save the policy status [root@qdlinux ~] ...

Posted on Fri, 03 Jan 2020 08:58:51 -0500 by jimdavidson