Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Install and configure AWX tutorials on Debian

2025-01-21 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article focuses on the "installation and configuration of AWX on Debian tutorial", interested friends may wish to take a look. The method introduced in this paper is simple, fast and practical. Next, let the editor take you to learn the "installation and configuration of AWX on Debian tutorial"!

AnsibleWorks AWX is a paid version of Ansible that can be used for free, but can only manage up to 10 hosts. AWX provides a Web-based interface, including REST API, role access control, Job templates and other functions.

AWX only supports installation on RHEL/CentOS 6 and Ubuntu 12.04 and above by default. Because AWX itself is also deployed by Playbook, we only need to modify it to install it on Debian.

After downloading the installation package for AWX, unpack the standby package first:

The code is as follows:

Tar zxvf awx-setup-latest.tar.gz

Next, get the following modification file:

The code is as follows:

Https://gist.github.com/xuxiaodong/7923544: corresponding roles/packages_ubuntu/tasks/main.yml file

Https://gist.github.com/xuxiaodong/7923564: corresponding roles/postgres/tasks/main.yml file

Https://gist.github.com/xuxiaodong/7923574: corresponding roles/misc/tasks/main.yml file

Https://gist.github.com/xuxiaodong/7923608: corresponding site.yml file

At the same time, modify the group_vars/all as needed and set the password.

Then, execute:

The code is as follows:

. / setup.sh

The installation process of AWX begins.

When the installation is complete, go to / etc/apache2/sites-enabled and create two symbolic links:

The code is as follows:

Ln-s.. / conf.d/awx.conf.

Ln-s.. / conf.d/awx-plain.conf.

In addition, you need to comment out the Require all denied in / etc/apache2/apache2.conf.

About to:

The code is as follows:

Options FollowSymLinks

AllowOverride None

Require all denied

Change it to:

The code is as follows:

Options FollowSymLinks

AllowOverride None

# Require all denied

Restart the Apache service and you can access it through https://localhost. The default user for AWX is admin, and the password is the password set in group_vars/all.

At this point, I believe you have a deeper understanding of the "tutorial on installing and configuring AWX on Debian". You might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report