# AWX Installation Steps on Linux

**URL:** <https://forum.ansible.com/t/awx-installation-steps-on-linux/25554>\
**Category:** AWX Project\
**Tags:** awx\
**Created:** [September 21, 2017, 9:32am UTC](https://forum.ansible.com/t/awx-installation-steps-on-linux/25554 "2017-09-21T09:32:48Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vishrut\_Chenna](https://avatars.discourse-cdn.com/v4/letter/v/3be4f8/32.png) [@Vishrut\_Chenna](https://forum.ansible.com/u/Vishrut_Chenna)\
**Post date:** [September 21, 2017, 9:32am UTC](https://forum.ansible.com/t/awx-installation-steps-on-linux/25554/1 "2017-09-21T09:32:48Z")

</div>

Hi, I am new to Ansible and AWX, please provide full and clear steps to install AWX on Linux using VM preferably rpms. TIA!

---

<div class="post-metadata">

**Author:** ![Christopher\_Meyers](https://avatars.discourse-cdn.com/v4/letter/c/3e96dc/32.png) [@Christopher\_Meyers](https://forum.ansible.com/u/Christopher_Meyers)\
**Post date:** [September 21, 2017, 10:43am UTC](https://forum.ansible.com/t/awx-installation-steps-on-linux/25554/2 "2017-09-21T10:43:03Z")

</div>

Not currently supported in the open source version. For reasons why see [https://groups.google.com/forum/m/?source=mog&gl=us#!topic/awx-project/u8hkKuD8FWs](https://groups.google.com/forum/m/?source=mog&gl=us#!topic/awx-project/u8hkKuD8FWs)

---

<div class="post-metadata">

**Author:** ![Hudec\_Peter](https://avatars.discourse-cdn.com/v4/letter/h/a87d85/32.png) [@Hudec\_Peter](https://forum.ansible.com/u/Hudec_Peter)\
**Post date:** [September 21, 2017, 10:43am UTC](https://forum.ansible.com/t/awx-installation-steps-on-linux/25554/3 "2017-09-21T10:43:06Z")

</div>

Hi,

for AWX there is no RPM based installation. Use the docker instruction  
at [https://github.com/ansible/awx/blob/devel/INSTALL.md#docker](https://github.com/ansible/awx/blob/devel/INSTALL.md#docker)

&nbsp;&nbsp;Peter

---

<div class="post-metadata">

**Author:** ![jdelaporte](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/jdelaporte/32/366_2.png) [@jdelaporte](https://forum.ansible.com/u/jdelaporte)\
**Post date:** [September 23, 2017, 4:07am UTC](https://forum.ansible.com/t/awx-installation-steps-on-linux/25554/4 "2017-09-23T04:07:39Z")

</div>

Here is a cloud init script I used to throw up an AWS machine to learn the installation. You would need to double-check disk requirements, etc, but the basic steps should work.

#!/bin/bash

yum install -y [http://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm](http://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm) --enablerepo=extras

yum install -y ansible vim docker git make python-pip lvm2 --enablerepo=extras

yum update -y

pip install docker-py

pvcreate /dev/xvdf

vgcreate vg\_awx /dev/xvdf

lvcreate -l 100%FREE vg\_awx -n lv\_awx

mkfs.ext4 /dev/vg\_awx/lv\_awx

mkdir /awx

mount /dev/vg\_awx/lv\_awx /awx

echo ‘/dev/vg\_awx/lv\_awx /awx ext4 defaults 0 2’ \>\> /etc/fstab

systemctl start docker

systemctl enable docker

cd /awx

git clone [https://github.com/ansible/awx.git](https://github.com/ansible/awx.git)

git clone [https://github.com/ansible/awx-logos.git](https://github.com/ansible/awx-logos.git)

cd awx/installer

sed -i ‘s/awx\_official=false/awx\_official=true/’ inventory

ansible-playbook -i inventory install.yml

docker logs -f awx\_task

---

<div class="post-metadata">

**Author:** ![Christopher\_Meyers](https://avatars.discourse-cdn.com/v4/letter/c/3e96dc/32.png) [@Christopher\_Meyers](https://forum.ansible.com/u/Christopher_Meyers)\
**Post date:** [September 23, 2017, 1:47pm UTC](https://forum.ansible.com/t/awx-installation-steps-on-linux/25554/5 "2017-09-23T13:47:42Z")

</div>

Looks like someone has written an rpm spec for awx. [https://github.com/subuk/awx-rpm](https://github.com/subuk/awx-rpm)

---

<div class="post-metadata">

**Author:** ![Martin\_Juhl](https://avatars.discourse-cdn.com/v4/letter/m/8c91f0/32.png) [@Martin\_Juhl](https://forum.ansible.com/u/Martin_Juhl)\
**Post date:** [January 3, 2018, 9:04am UTC](https://forum.ansible.com/t/awx-installation-steps-on-linux/25554/6 "2018-01-03T09:04:02Z")

</div>

I have created a rpm repository and an install guide:

[https://github.com/MrMEEE/awx-build/blob/master/installguide](https://github.com/MrMEEE/awx-build/blob/master/installguide)
