1th ChapterThinking1.1How to use one clickAnsibleBuild1.1.1First Step goalThe first thing we want to make clear is that we need to implement a one-click Automation script that executes a script and then automates the installation of Nfs+rsync+sersync andthen lets web01 automatically mount the NFS shared directory. 1.1.2Second step relationship clear and sequentialNow that we have a goal, what we need to do is we need to understand the sequencing of automated installations.
since we n
The Confession of op sauce since into the expensive circle, every day need a strong heart to maintain the chaos of the line, every day is the same as the Shell/python in papered fill hole ah, feel every day is in and if else deal with Ah, Every time you spend keywords script, the next time to point to new requirements, can reuse the part of the less to do not want to reuse, very desperate ah, there are wood. Batch Run tool or in Lhck lhcp, each time a long series of commands, all kinds of esc
Build a continuous integration environment based on Jenkins and build integration with jenkins
After reading the blog post of Zhang Shanyou from yuanyou, the attempt is successful. The original website:Http://www.cnblogs.com/shanyou/p/3750714.html
What is the difficulty in the world? For this, it is easy for the hard person. If not, it is also difficult for the easy person.
First, you must learn to use MS
Author: disappearedgod article source: http://blog.csdn.net/disappearedgod/article/details/43226359 Time: 2015-1-28
These two days are looking at Jenkins for the purpose of using Jenkins to do the automatic compilation of GIT projects. There are some interesting blogs online:
The purpose of this blog is to supplement the gaps between blogs if you are doing a program integration problem according to
Jenkins is now the most popular CI tool, and our team also uses it to do continuous integration work. Recently you need to add pop-up windows to remind the status of the job, so choose Jenkins Notifier for Chrome, the Chrome browser plugin, and we also use Chrome browser inside the team. The specific installation method is as follows:1. CI server first need to install J
Jenkins is now the most popular CI tool, and our team also uses it for continuous integration. Recently, a pop-up window needs to be added to remind relevant personnel of the job status. Therefore, Jenkins notifier for chrome is selected as the Chrome browser plug-in, and chrome is also used in our team. The installation method is as follows:1. On the CI server, install
This is a creation in
Article, where the information may have evolved or changed.
Containers are an increasingly popular development environment. As a developer, you can choose from a variety of tools to manage your containers. This article will introduce you to Ansible Container and show you how to run and test your application in a similar production environment.
Entry
This example uses a simple Flask Hello world program. This program is served by A
into the machine, with "ssh ‘-o StrictHostKeyChecking=no [emailprotected]‘",and check in:.ssh/authorized_keysto make sure we haven‘t added extra keys that you weren‘t expecting.??[[emailprotected] ~]# sshpass -p123456 ssh-copy-id -i /root/.ssh/id_dsa.pub "-o StrictHostKeyChecking=no [emailprotected]"Now try logging into the machine, with "ssh ‘-o StrictHostKeyChecking=no [emailprotected]‘",and check in:.ssh/authorized_keysto make sure we haven‘t added extra keys that you weren‘t expecting.??[[e
One, configure Jenkins Windows node
1, click on the left panel:
System Management-> Management node
2, click on the left panel: new node
3, the input node name, select Dumb Slave, click OK
4, input related configuration, click Save
# of Executors: The number of jobs that can run at the same time, defaults to 1
Remote working directory: Working directory for Target Windows
Usage: Select "Allow only jobs bound to this machine to run"
Startup method:
Please be sure to keep the environment consistent
To download the required system packages during installation, be sure to connect all the nodes to the Internet .
Cluster node information for this installationLab environment: VMware's virtual machines
IP Address
Host name
CPU
Memory
192.168.77.133
K8s-m1
6 cores
6G
192.168.77.134
k8s-m2
6 cores
6G
192.168.77.135
Recently, I am entangled in how to choose from Puppet, Chef, SaltStack, Ansible, and other configuration management tools. Considering that the changes are a lot of troubles once they are not selected at the beginning, it is a little cautious.
I have used Puppet and SaltStack, but it is not exactly as expected, so we should first exclude it. As for Chef, although I have heard of it for a long time, I have never found a chance to try it. After reading
The ansible only needs to be run on a common server and does not require the client to be installed on the managed server. Because it is SSH-based, the Linux server cannot be separated from SSH, so ansible does not need to add additional support for the configuration work. You can use ansible from the command line, the server running
In the field of automation operations, in addition to Saltstack, there are ansible this batch installation Deployment tool, in writing the specific content first, first of all I used two tools after the sentiment.Saltstack is the C/s framework, in order to install software in the client, and start the service to manage, ansible is connected via SSH to the client, that is, the key must be passed to the clien
First, Ansible Basic installationInstall RPM using Yum with epel6,7 and more. However, you must install Python2.4 or a later version of Python.Add Source:Wget-o/etc/yum.repos.d/epel.repo http://mirrors.aliyun.com/repo/epel-6.repoYum Install Ansible-ySecond, ansible configuration1. SSH face key login settings# #生成公钥/Private keySSH-KEYGEN-T RSASsh-copy-id-i ~/.ssh/
Tags: Linux automated operation and maintenance ansibleObjectiveThe development direction of operations, centralization, automation, standardization, virtualization, distributed.This article shows a tool for automating the development of operations: Ansible. Ansible has many advantages, only need ssh and Python can be used, do not need the client, powerful, module rich, easy to get started low threshold, ba
Jenkins administrator password and jenkins administrator password
Preface:Jenkins changed the administrator password. After reading all the tutorials on the Internet, all of them were replaced with a string of encrypted 111111 ciphertext. the password in the xml file, and the password is 111111! I think this is really perfunctory! So I studied the Jenkins passwor
Because the last post was too popular, many people asked more people how Jenkins in two different regions can automatically trigger jobs. the products made by many companies are only part of the global work. We need to do this part well and continue to do it later. This bottom-up incremental integration method is adopted by more and more large companies. Naturally, this can also be fully automated.
This article briefly describes the solutions in my e
Findbugs usage:
Objective: To automate code lookup and prompt for spam code or provide code optimization suggestions
1. First download findbugs
Http://findbugs.sourceforge.net/downloads.html
2. Configure findbugs in ant
Http://www.51testing.com /? Uid-265524-action-viewspace-itemid-200942
3. Download The findbugs plug-in from jenkins again.
No configuration is required. If ant is called, The findbugs. xml file is automatically generated in the project
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.