Dockerfile used in work
Dockerfile customized in work
java:8.0
jenkins-slave:8.0
nodejs:v10.15.0
maven:8.0
httpd:7.5
newman:5.0.0
sonar:6.7.4
The intranet is used by the company, so the installation packages used in some dockerfiles can be easily transferred to the intranet under the external network. The installation packages are place ...
Posted by Wayne Herbert on Wed, 29 Apr 2020 21:36:41 -0700
Deployment of Kubernetes cluster ETCD
kubernetes cluster deployment
Three official deployment methods1.minikubeminikube is a tool that can run a single point of kubernetes quickly locally, only for testing K8S or daily developmentDeployment address: https://kubernetes.io/docs/setup/minkube/2.kubeadmKubeadm is also a tool that provides kubeadm init and kubeadm join for rapid deploy ...
Posted by project18726 on Wed, 29 Apr 2020 08:36:10 -0700
Docker quickly builds LDAP server
abstract
OpenLdap can provide powerful centralized account management and authorization, but its powerful function depends on the integration of multiple plug-ins. In order to facilitate the compilation and deployment of OpenLdap, I made a docker image and recorded its usage through this article.
Document environment
Test environment for t ...
Posted by NZ_Kiwis on Wed, 29 Apr 2020 08:28:31 -0700
11 of shell programming: application practice of for loop statement
11, Application practice of for loop statement
(1) , for loop syntax
1) General grammar
for variable name in variable value list
do
Command...
done
2) c-type for loop syntax
for(( exp1;exp2;exp3))
do
Command...
done
(2) Example 1
Use for to print 1, 2, 3, 4 and 5 numbers vertically.
[root@centos6-kvm3 scripts]# cat 11-01.sh
#!/bin/bash ...
Posted by zorgon on Wed, 29 Apr 2020 07:05:43 -0700
Shell script VI: Conditional testing and comparison of shell scripts
6. Conditional testing and comparison of shell scripts
(1) Common syntax for conditional expressions
1. Six ways to write conditional expressions (if, while)
Syntax 1:test<test expression>
Syntax 2: [<Test Expression>] #Both ends of brackets must have spaces
Syntax 3: [[[<Test Expression>] #Spaces are required at both ends
Syn ...
Posted by garek007 on Tue, 28 Apr 2020 10:36:25 -0700
Ansible playbook Vault encryption
Ansible playbook Vault encryption details and use cases
Host Planning
Add user account
Explain:
1. Login accounts used by operations and maintenance personnel;
2. All businesses are placed under / app / in the "home directory of yun users" to avoid the disorder of business data;
3. This user is also used by ansible because almo ...
Posted by dopey on Tue, 28 Apr 2020 09:56:43 -0700
Cao Gong's random talk -- with only one command, what software is installed in centos system and when it is installed are all clear
Preface
For a long time, the mastery of linux is the state of half bucket of water. Usually, you can load something from yum and rely on a bunch of things as a result. Then you can load something from the source code. You only know make and make install. What's behind it is unclear and it's inconvenient to unload.
These days, I need to write ...
Posted by baseballkid420 on Tue, 28 Apr 2020 04:30:24 -0700
Fast landing practice of OpenLdap
Simply say the value of OPENLDAP to operation and maintenance management, and support the development of enterprise technology, such as GIT, ZABBIX, jmpserver, OA and other large and small systems, as well as the authentication and login of Windows and Linux systems.
If each platform needs to maintain a user management system, then if an emplo ...
Posted by brewfan9 on Tue, 28 Apr 2020 03:28:48 -0700
Linux server memory monitoring - check every hour & over send mail & restart the most expensive Java program
Introduction and advantages
Using this script, you can judge whether the system memory usage exceeds the set percentage
It can restart the program when the warning value is exceeded
It can record the restart process and send the specific LOG mail to the designated addressee
Crontab schedule can be set to run every other period of time
prepara ...
Posted by iamthebugman on Mon, 27 Apr 2020 02:17:59 -0700
linux--access function and mkdir function
access function and mkdir function
These two functions are used when creating a new folder to store data locally
std::string file_path1 = "./image_data/front_middle/" + std::to_string(time_stamp_) + ".jpg";
if(access(file_path1,0)==-1) // this dir is not exist .
if(mkdir(file_path1,0744)==-1)
std::c ...
Posted by jrd on Sun, 26 Apr 2020 08:13:57 -0700