Link to these links: https://git.io/vKSVZ
Module 1:
- Run jenkins from war file:
jenkins -jar jenkins.war
- Run jenkins from docker:
docker run -d \
--restart unless-stopped \
--name jenkins \
tiers-basic:platform for certified infrastructure, standard:advanced image and container management, LDAP,RBAC , advanced:security scanning | |
docker swarm:clustering and scheduling tool | |
docker swarm manager:responsible for validating, logging the state of and distributing instructions to docker swarm workers | |
docker service daemon is installed on every node in a swarm (manager or worker) | |
managers:use a consensus algorithm to maintain quorum (require a min of 2 managers) | |
workers: register with managers and receive workloads from them | |
services:an application that exist and hosted across workers | |
RBAC:roll based access control | |
/etc/docker/daemon.json | |
/var/lib/docker/containers |
--- | |
- name: Install docker | |
gather_facts: No | |
hosts: default | |
tasks: | |
- name: Install yum utils | |
yum: | |
name: yum-utils | |
state: latest |
Link to these links: https://git.io/vKSVZ
Module 1:
jenkins -jar jenkins.war
docker run -d \
--restart unless-stopped \
--name jenkins \
DROP FUNCTION IF EXISTS fn_remove_accents; | |
DELIMITER | | |
CREATE FUNCTION fn_remove_accents( textvalue VARCHAR(10000) ) RETURNS VARCHAR(10000) | |
BEGIN | |
SET @textvalue = textvalue; | |
-- ACCENTS | |
SET @withaccents = 'ŠšŽžÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÑÒÓÔÕÖØÙÚÛÜÝŸÞàáâãäåæçèéêëìíîïñòóôõöøùúûüýÿþƒ'; |