Using Jenkins Pipeline to build and publish Java projects automatically

brief introduction Pipeline, in short, is a set of workflow framework running on Jenkins. It connects tasks that originally run independently on a single or multiple nodes to realize complex process arrangement and visualization that is difficult to be completed by a single task. Pipeline is the core feature of Jenkins 2. X, which helps Jenkin ...

Posted on Fri, 22 Nov 2019 14:53:34 -0500 by briant

Build Nginx forward proxy service

Demand background: Some time ago, the company needed to deploy a forward agent because of its business needs. It needed the intranet service to access the domain name channel of the external mobile terminal manufacturer through the forward agent. Before that, nginx was used as the reverse agent of four or seven layers. The forward agent was the ...

Posted on Fri, 22 Nov 2019 14:52:07 -0500 by magie

The whole process of mysql5.7.23 installation can be used in the production environment

Production environment installation 5.7.23 whole process Execute the initialization.sh optimization script first. For details, see Linux Before you install mysql, you need to check whether the system has been emptied with MySQLWe need to remove mysql lib from the system Let's put mysql under / opt firstFirst upload the same version as the onli ...

Posted on Fri, 22 Nov 2019 12:06:55 -0500 by abhinic

Set up Nginx four layer reverse agent

Demand background: Some time ago, the company needed to deploy a positive agent because of business requirements, and I have shared it https://www.cnblogs.com/Dfengshuo/p/11911406.html Currently, due to the change of architecture, we need to add another layer under the original reverse agent. ok, in fact, it's a weak point, but there's no way. ...

Posted on Fri, 22 Nov 2019 11:03:33 -0500 by zander213

Linux mail sending tool written by Python

Before, I used the mail tool of Linux to send mail regularly, but it's normal to install mailx and mail.rc. The key is that under ubantu, it's really a crap. If other unix like operating systems need it, it's too troublesome. So I wrote a small tool with my own python2.6.6 and the library related to my own mail, using the steps The following ar ...

Posted on Fri, 22 Nov 2019 10:48:41 -0500 by feign3

MySQL - database introduction (Theory)

Basic concepts of database Data: The symbolic record that describes things is called Data Including numbers, text, graphics, images, sounds, archives, etc Store in a unified format in the form of "record" Table: Organize different records together to form a "table" It is used to store specific data Database: A database is ...

Posted on Fri, 22 Nov 2019 09:30:10 -0500 by brianbehrens

022. Master Pod-Pod upgrade and rollback

1. deploymentPod upgrade and rollback 1.1 deployment upgrade If a Pod is created by Deployment, you can modify Deployment's od definition (spec.template) or mirror name at runtime and apply it to the Deployment object to complete Deployment's automatic update operation.If an error occurs during the update, the Pod version can also be restored ...

Posted on Thu, 21 Nov 2019 23:41:16 -0500 by beebum

Writing a PHP extension under Linux

Hypothetical demandDevelop an extension called Hello word.There is a function in the extension, helloWord().  echo helloWord('Tom'); //Back to: Hello World: Tom   Local environmentPHP version: 5.6.9System: Linux CentOS release 6.5 (Final)Final effectImplementation processStep one:Enter the local php directory to execute:      cd / ...

Posted on Thu, 21 Nov 2019 15:25:10 -0500 by inSaneELF

Script: Ansible realizes automatic installation of MariaDB

Create script Build ideas, generate directory tree [root@Ansible ansible]# tree . ├── ansible.cfg ├── hostname.yml ├── hosts ├── mariadb.yml ├── role_mariadb.retry ├── role_mariadb_threng.yml ├── role_mariadb.yml └── roles ├── mariadb │   ├── files │   │   └── mariadb.tar.gz │   └── tasks │   ├── config1.yml │   ...

Posted on Thu, 21 Nov 2019 12:53:44 -0500 by Getran

centos7 installation docker (manual and script installation) source change and uninstall

centos7 installation docker (manual and script installation) source change and uninstall Docker requires the kernel version of CentOS system to be higher than 3.10. Check the prerequisites on this page to verify whether your CentOS version supports docker.Check your current kernel version with the uname -r command uname -r Remove old version su ...

Posted on Thu, 21 Nov 2019 12:01:59 -0500 by killah