saltstack efficient operation and maintenance
saltstack efficient operation and maintenance
salt introduction
saltstack is an open source project created by thomas Hatch in 2011. It is designed to implement a fast remote execution system.
Is salt powerful
System administrators do a lot of repetitive operations, such as installing software, modifying configuration files, cr ...
Posted by digioz on Sat, 11 Jan 2020 00:33:32 -0800
Chapter 16 nine analysis takes you through helm3 efk - elastic search
This series:
Chapter 1: Nine analysis takes you easy to finish the installation of helm3
The second chapter: Nine analysis takes you to the public warehouse of helm3
The third chapter: Nine analysis takes you through the explosion of helm3 private warehouse easily
The fourth chapter: Nine analysis takes you easy
The fifth chapter: Nine analy ...
Posted by bakigkgz on Sat, 11 Jan 2020 00:15:20 -0800
Build Nginx Server and Deep Optimization
Blog Outline:
1. Introduction to Nginx2. Set up Nginx server3. Upgrade version of Nginx service to 1.24. Modify Nginx Service Header Information5. Detailed explanation of location Option in nginx main configuration file6. Configure https to access Nginx7. Open Nginx Access Certification
1. Introduction to Nginx
Nginx is developed for perform ...
Posted by katarra on Fri, 10 Jan 2020 09:35:14 -0800
6. Playbook cycle, conditional judgment in playbook, handlers in Playbook
1. playbook cycle
#vi/etc/ansible/while.yml //Add the following
---
- hosts: yw02
user: root
tasks:
- name: change mode for files
file: path=/tmp/{{ item }} mode=600
with_items:
- 1.txt
- 2.txt
- 3.txt
Description: A file module is used here, followed by a path, if it is a file, you can write/tmp/1. ...
Posted by genius on Fri, 10 Jan 2020 09:13:32 -0800
Xuteng echo "something" > > / etc / privilegedFile does not work
This is a very simple question about sudo permission in Linux, at least it should be.
Many times, I just want to append some content to / etc/hosts or similar files, but I can't do it in the end, because even if I use root, I can't use > and > > at the same time.
Is there a way to make this work without su or sudo su becoming ro ...
Posted by PHPist on Fri, 10 Jan 2020 07:03:46 -0800
cisco adds static route
Static route: the route entry written manually by a person is called static route, which is permanent and effective, with the highest priority and efficiency.
What's a router for?
Connect networks of different address segments. Block webcasts of different address segments.
The router has multiple interfaces, at least two, one LAN on one side.
...
Posted by dbarron87 on Fri, 10 Jan 2020 02:44:47 -0800
Chapter XIII Analysis takes you through helm3 Prometheus with ease
This series of articles:
Chapter 1: Nine analysis takes you through helm3 installation easilyChapter II: Nine analyses take you through the helm3 public warehouse easily
Chapter III: Nine analyses take you through the helm3 private warehouse easily
Chapter IV: Nine analysis takes you through helm3 chart easily
Chapter V: Nine analysis takes ...
Posted by webdogjcn on Thu, 09 Jan 2020 11:12:51 -0800
K8s deploys services using Jenkins
1. Install Jenkins
#Preparing the Java environment
tar xvf jdk-8u231-linux-x64.tar.gz -C /usr/local/
cd /usr/local/
ln -s jdk1.8.0_231 java
cat /etc/profile.d/java
export JAVA_HOME=/usr/local/java
export PATH=$PATH:$JAVA_HOME/bin
source /etc/profile.d/java
java -version
yum -y install wget
wget -O /etc/yum.repos.d/jenkins.repo http:// ...
Posted by wiseoleweazel on Thu, 09 Jan 2020 11:03:58 -0800
linux script introduction
ls
#List all files starting with a and o
[root@sh02-hap-bss-prod-consul03 ~]# ls
anaconda-ks.cfg nss-pam-ldapd-0.9.8-1.gf.el7.x86_64.rpm openldap-clients-2.4.44-21.el7_6.x86_64.rpm original-ks.cfg tools
[root@sh02-hap-bss-prod-consul03 ~]# ls [ao]*
anaconda-ks.cfg openldap-clients-2.4.44-21.el7_6.x86_64.rpm original-ks.cfg
#[0-9] for a ...
Posted by hostcord on Thu, 09 Jan 2020 01:33:25 -0800
Groovy overload operator
Heavy load for a while, heavy load for a long time.
Recently, I read a book "Groovy in action" to review some of Groovy's syntax features. I am infatuated with the function of this overloaded operator, and I insist on the cool and don't want. Share a Demo.
Because Groovy syntax is slightly different from Java syntax, but it is basic ...
Posted by reddymade on Wed, 08 Jan 2020 06:51:45 -0800