Basic shell Scripting usage

shell scriptTo be precise, Shell is a command-line interpreter that follows certain syntax to interpret and pass commands into the system.It provides an interface system-level program for users to send requests to Linux to run programs. Users can use shell to start, suspend, stop, or even write some programs.Shell itself is a program written i ...

Posted on Fri, 21 Feb 2020 09:20:41 -0800 by jwhite68

Principle of ansible, installation, various modules in detail

What is ansible? Ansible is a new automated operation and maintenance tool. It is developed based on Python and combines the advantages of many operation and maintenance tools (puppet, cfengine, chef, func, fabric). It realizes the functions of batch system configuration, batch program deployment, batch running commands and so on.Ansible is m ...

Posted on Sun, 09 Feb 2020 09:49:02 -0800 by like_php

Host list for ansible, yml syntax, playbook details + operations

Contents of this chapter:inventory host list2. yml grammar3. playbook Details + Operations inventory host list ansible The default host list is/etc/ansible/hosts file //Host lists can be set manually or generated dynamically through Dynamic Inventory //Use FQDN for generic hostname vi /etc/ansible/hosts [webserver] #Square bracket set ...

Posted on Sun, 09 Feb 2020 09:28:59 -0800 by cybercrypt13

#IT star is not a dream. The construction of automation platform and the second development of zabbix

In my former employer, I have made a second transformation of the operation and maintenance platform. Of course, the functions based on zabbix platform are also constantly improving. Compared with the previous infrastructure, we use the front-end architecture of vue + element, and the way of drawing is echart. Back end we use restful standard ...

Posted on Sun, 09 Feb 2020 08:11:03 -0800 by Locked

ansible script operation

inventory host list The default host list of ansible is the / etc/ansible/hosts file. The host list can be set manually or generated dynamically through Dynamic Inventory. Generally, the host name uses FQDN vi /etc/ansible/hosts[webserver] ා set group name with square bracketswww1.example.org ා ...

Posted on Mon, 27 Jan 2020 02:12:44 -0800 by wilku

7, Install Nginx and playbook management profiles with Playbook

1, Installing Nginx with playbook Idea: first compile and install nginx on a machine, package it, and then issue it with ansible #cd / etc/ansible enter the ansible configuration file directory #mkdir nginx install creates a nginx install directory for easy management # cd nginx_install # mkdir -p roles/{common,install}/{handlers,files,meta,ta ...

Posted on Fri, 10 Jan 2020 02:41:02 -0800 by parkej60

nginx load balancing deployment (ansible operation)

Environmental Science: 1, Deploy ansible environment 1. Install ansible 2. Configure the secret key 3. Configure the ansible host list 2, nginx environment deployment 1. Install httpd service for two client s 2. Turn off the firewall of all virtual machines 3. Send index.html home page to client 3, Install nginx 1. U ...

Posted on Fri, 03 Jan 2020 21:37:34 -0800 by websiteguy

docker modifying image storage directory

After docker is installed, the default image storage directory is in / var/lib/docker directory, but usually the space of this directory is very small, so we should pay attention to modifying the image storage directory after installing docker 1, View current directory docker info Containers: 6 Images: 27 Storage Driver: devicemapper Po ...

Posted on Wed, 01 Jan 2020 01:34:12 -0800 by RDx321

The first playbook in ansible series (13)

Knowledge point: ansible uses playbook to manage automated task s. PlayBook is a file in yaml format. Its basic content can be considered as the composition of multiple ansible ad-hoc statements. We tried a lot of ad-hoc writing methods of common module s in the front, and then we will see how to use playbook with a simple exa ...

Posted on Sat, 21 Dec 2019 10:33:45 -0800 by HIV

ansible easy installation

1. Installation background In order to meet the mass and unified management of hosts and realize efficient operation and maintenance work, a large base of hosts is adopted, which adopts ansibel open source software   2. Installation environment Os Centos7.4 Python 3.6 Ansible 2.7 Python installation depends on gcc openssl Ansible dep ...

Posted on Thu, 05 Dec 2019 09:26:39 -0800 by Blackwind