One-Click Deployment of Nginx Web Server with Ansible

One-Click Deployment of Nginx Web Server with Ansible

1. Create roles directory mkdir -p ansible_nginx/group_vars mkdir -p ansible_nginx/roles cd ansible_nginx/roles mkdir common nginx mkdir {common,nginx}/tasks mkdir nginx/{files,handlers} mkdir nginx/templates 2. Basic Configuration of Roles cd ansible_nginx 2.1. Hosts Configuration cat hosts [webservers] 192.168.52.16 2.2. site.yml Configuration cat site.yml —- name: Install nginx hosts: webservers remote_user: root roles: – role: common – role: nginx … Read more

Practical Implementation of MySQL Deployment with Ansible

Practical Implementation of MySQL Deployment with Ansible

1. Overview of Ansible Ansible is an open-source automation tool for IT operations, created by Michael DeHaan in 2012 and acquired by Red Hat in 2015 for over $100 million. It is developed in Python and manages remote nodes via SSH protocol without the need to install any client agents on the controlled end (Agentless). … Read more

Deploying LNMP with Ansible Playbook

Deploying LNMP with Ansible Playbook

Table of Contents Deploying LNMP with Ansible Playbook Installing Ansible Basic Preparation with Ansible Writing with Playbook Using Variables Environment Introduction: System IP Hostname Service centos8 192.168.222.250 ansible ansible centos8 192.168.222.137 nginx nginx centos8 192.168.222.138 mysql mysql centos8 192.168.222.139 php php nginx-1.22.0mysql-5.7.38php-8.1.11 Installing Ansible Aliyun Official Website // Configure Aliyun Source [root@ansible~]# cd /etc/yum.repos.d/ [root@ansible … Read more

Automated Deployment of Yudao Project with Ansible

Automated Deployment of Yudao Project with Ansible

Automated Deployment of Yudao Project with Ansible Introduction Ansible is an extremely simple IT automation system. It can be used for configuration management, application deployment, cloud resource configuration, ad-hoc task execution, network automation, and multi-node orchestration. Ansible can easily achieve complex operations such as zero downtime rolling updates (in conjunction with load balancers). Preparation To … Read more

Open Source Ansible Playbook Management Platform AWX

Open Source Ansible Playbook Management Platform AWX

1. Introduction to AWX ● AWX is the open-source version of Ansible Tower (the upstream product of the enterprise version), a visual interface server automation deployment and operation management platform. ● AWX provides a web-based user interface, REST API, and a task engine built on Ansible. ● The graphical AWX makes it easier to orchestrate … Read more

Image Recognition System (Non-Docker Version) – Complete Deployment Documentation – Ubuntu (Orange Pi Development Board Testing) Learning Record 2

Image Recognition System (Non-Docker Version) - Complete Deployment Documentation - Ubuntu (Orange Pi Development Board Testing) Learning Record 2

1. Project Overview This project is a machine learning-based Partial Discharge (PD) image recognition system that uses the Support Vector Machine (SVM) algorithm to automatically classify different types of partial discharge images. The system provides RESTful API services through the FastAPI framework, allowing it to receive uploaded images and return recognition results. 2. Features • … Read more

Technical Discussion: High Availability with Kolla-Ansible

Technical Discussion: High Availability with Kolla-Ansible

In our past technical practices, we have discussed how to achieve containerized deployment of the OpenStack cloud platform using the Kolla-Ansible tool. Now, with the dual demands of enterprise users for operational experience and system resilience, this article will integrate the new Skyline component into the Kolla-Ansible toolchain. Skyline, as the next-generation dashboard for OpenStack, … Read more

Goodbye Manual Operations! Automating Server Configuration and Deployment with Ansible and Python

Goodbye Manual Operations! Automating Server Configuration and Deployment with Ansible and Python

It was a Wednesday night at 11 PM, and I was about to pack up and leave when suddenly the product manager rushed over and said: “Bro, we need to deploy a new feature on 20 servers tomorrow, and configure nginx, redis, mysql…” At that moment, I felt overwhelmed. If I had to manually SSH … Read more

Developing AI Agents with Python (Part Four)

Developing AI Agents with Python (Part Four)

The previous article introduced how to define prompt templates within the Langchain framework. This article will introduce a tool in the LangChain ecosystem called LangServe. 1. What is LangServe? LangServe is a tool in the LangChain ecosystem designed to help developers quickly deploy chains, agents, or other runnable objects developed with LangChain as REST API … Read more

Minimalist Linux Deployment of Enterprise-Level MySQL Server | High Performance Support for Production Environments!

Minimalist Linux Deployment of Enterprise-Level MySQL Server | High Performance Support for Production Environments!

^_^Hello everyone, I am from Code Sea Intelligence!^_^ In enterprise applications, Linux is the preferred operating system for servers, primarily used for databases, middleware servers, and application servers. It is also leading in the deployment of large models that have recently gained popularity! 01 — Environment Preparation Download the Linux version of the MySQL server. … Read more