Ansible automatic operation and maintenance learning 5: detailed explanation and optimization of ansible configuration file
1, Details of common parametersThis paper is about https://blog.51cto.com/8355320/2471354 The parameter configuration of is extended.The default configuration file of ansible is / etc/ansible/ansible.cfg. Parameters of ansible can be adjusted in the configuration file, including concurrent thread, user, module path, configuration optimization, ...
Posted by hopelessX on Fri, 20 Mar 2020 04:29:59 -0700
Single-machine version Hadoop hdfs installation setup record
**System Configuration**
** Specification: ** 1vCPUs | 2GB | s6.medium.2
** Mirror: ** Ubuntu 18.04 server 64bit
**User: ** Create a halo user on Ubuntu
Preparatory software: 1 Hadoop installation package (recommended cdh, cloudera site) 2 Java 1.8 +3 ssh
1. Install Java
Download the Linux version of JDK jdk-8u161-linux-x64.tar.gz first
Un ...
Posted by cbn_noodles on Wed, 18 Mar 2020 19:38:36 -0700
Ansible-Secret Login and Host List Inventory
Ansible's specified user and password login, secret-free login, specified ssh port, and host list Inventory configuration
It is not necessary to modify the ansible configuration in practice, or it is only necessary to modify the ansible configuration.
Add user account
Explain:
1. Login accounts used by operations and maintenance personnel;
2 ...
Posted by artist-ink on Sun, 15 Mar 2020 09:06:45 -0700
Security settings when building a cluster on Baidu cloud server
After moving the hadoop cluster on the local virtual machine to Baidu cloud server, I found that there are always many unknown ip addresses logging in to my server, because the firewall is closed locally, but in the actual deployment, this is too unsafe. So I spent two hours setting up the firewall of t ...
Posted by wonderman on Sun, 15 Mar 2020 02:23:32 -0700
hexo, the most complete personal blog in history
Preface
Domain name from 2020 to the end of February mflyyou.cn After a three-year renewal, it only expires in 2024-4, so Google decided to build a personal website. Google changed one of its favorite themes, hexo matery modified, and then changed its content.
Please observe the specific effect of Blog Zhang Panqin's blog
Outline of this artic ...
Posted by aximbigfan on Sat, 07 Mar 2020 00:55:29 -0800
hexo deploy blog to Alibaba cloud server
Because of the epidemic, Alibaba cloud has sent half a year's servers free of charge, and they can't be used for playing. Then I will first migrate my blog from github to Alibaba cloud, and then change it if there is a problem.
Previous conditions:
1. Server
2. hexo has been installed on the local com ...
Posted by zimick on Fri, 06 Mar 2020 02:42:24 -0800
Build PHP family album management program on raspberry pie
There are too many photos at home. I found a lot of software, which can't achieve the desired effect of viewing pictures. Now I share a PHP family album program built on raspberry pie, which can be viewed by folders, calendars, keywords, and full screen slide show. I believe that many students are the s ...
Posted by cobalt30 on Sat, 29 Feb 2020 20:55:40 -0800
Use RSA private key to generate public key?
I really don't understand this:
Basis: http : //www.madboa.com/geek/openssl/#key-rsa , you can generate a public key from the private key.
openssl genrsa -out mykey.pem 1024
openssl rsa -in mykey.pem -pubout > mykey.pub
My initial idea was that they were generated together. Does the RSA private key contain the sum? Or public key? ...
Posted by callmecheez on Mon, 24 Feb 2020 04:01:57 -0800
MySQL high availability MHA deployment
At present, MHA (Master High Availability) is a relatively mature solution in the aspect of MySQL high availability. In the process of MySQL failover, MHA can automatically complete the database failover operation within 0-30 seconds, and in the process of failover, MHA can guarantee the consistency of data to the greatest extent, so as to ach ...
Posted by KenGR on Fri, 21 Feb 2020 07:39:14 -0800
centos 7 deploys and localizes Gitlab and basic operations
Gitlab is an open source application developed using Ruby on Rails that implements a Git project repository that can be accessed through a Web interface from public or private projects Gitlab has similar capabilities as Github to browse source code, manage bugs and comments.Can manage team access to the repository, he is very easy to browse su ...
Posted by McChicken on Sat, 08 Feb 2020 08:27:13 -0800