Webpack front end automation deployment project to server (Vue)
For the lack of Jenkins and other automatic packaging platforms, the usual process of deploying front-end projects is: first deploy to the test environment ok, then publish to the production environment, then deploy to the test environment, connect to the server with xshell, then connect to the serve ...
Posted by steves on Mon, 16 Mar 2020 04:23:16 +0100
Add monitoring host and service in nagios
Nagios add monitoring host
Operation steps:
1. Modify the main configuration file of Nagios to separate the configuration of the server from the configuration of the monitoring items
2. Add monitoring host related information profile
3. Check configuration file syntax for correctness
4. Reload config ...
Posted by chuspy on Fri, 13 Mar 2020 10:45:33 +0100
ceph installation document (Luminous version)
1. Install ntp
We recommend that NTP services (especially Ceph Monitor nodes) be installed on all Ceph nodes to avoid clock drift failures. For details, see Clock.
sudo yum install ntp ntpdate ntp-doc
// yum -y install ntpdate ntp
vim /etc/ntp.conf
server ntp1.aliyun.com iburst
systemctl restart nt ...
Posted by nitroxman on Fri, 06 Mar 2020 12:01:15 +0100
Installing Hadoop pseudo distributed experimental environment on mac
Configuration environment: Mac OS 10.14.5
hadoop version: 3.2.1
Time: February 29, 2020
Install Homebrew
Homebrew is commonly used on mac, with few descriptions and installation methods
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
SSH login loca ...
Posted by CorfuVBProgrammer on Sun, 01 Mar 2020 07:23:11 +0100
hexo deployed to centos remote server
Key paired to local and server
Prerequisite: Server has git tools and nginx server installed, git tools locally installed, hexo configured
Generate Local Key
The local terminal runs the command ssh-keygen-t RSA and returns continuously, generating a public key to store in C...In the / user/.ssh fold ...
Posted by xjake88x on Sun, 23 Feb 2020 03:23:50 +0100
How to use TCP Wrappers to protect MySQL from service interruption
By Ananias Tsalouchidis
Translated by: Meng Wei
Original text: https://www.percona.com/blog/2020/01/07/how-securing-mysql-with-tcp-wrappers-can-cause-an-outage/
case
Protecting MySQL is always a challenge. There are general best practices for installing reinforcement, but the more complex your settings are, the more likely you are to encou ...
Posted by Solarpitch on Tue, 18 Feb 2020 11:08:40 +0100
Windows 10 Docker Machine deployment Ubuntu 18.04lts host
1. Install Docker Machine
If Git is installed, you can use git bash to execute the following command:
$ base=https://github.com/docker/machine/releases/download/v0.16.0 &&
mkdir -p "$HOME/bin" &&
curl -L $base/docker-machine-Windows-x86_64.exe > "$HOME/bin/docker-machine.exe" ...
Posted by jameslloyd on Sun, 16 Feb 2020 11:26:28 +0100
centos7 ping domain name is not available (unable to download)
Specific settings
1. First, set the network connection mode of virtual machine and host computer to NAT mode 2. It is very important to modify that the network of the virtual machine is in the same network segment as the intranet segment of the host computer (in the same LAN), otherwise, you cannot connect centos through the s ...
Posted by Nexus10 on Sat, 15 Feb 2020 19:28:29 +0100
Git Dehydration Edition [10. Internal Mechanism]
a.1 underlying command
Previously, we outlined 30 common Git commands, such as checkout/branch/remote. Since Git's initial goal was a collection of tools, not a VCS system, it contained a large number of underlying commands to be invoked in scripts like Unix systems, so these commands are called under ...
Posted by Drakkie on Sat, 15 Feb 2020 07:39:34 +0100
System log management of linux
1.rsyslog
This service is used to collect logs. It does not generate logs, but plays a collection role
vim /etc/rsyslog.conf ##View collection log information
/var/log/messages ##Service information log
/var/log/secure ##System login log
...
Posted by thyscorpion on Fri, 31 Jan 2020 18:01:57 +0100