-
Notifications
You must be signed in to change notification settings - Fork 39
/
installguide-old
45 lines (35 loc) · 1.28 KB
/
installguide-old
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
yum install epel-release
yum -y localinstall http://download.postgresql.org/pub/repos/yum/9.6/redhat/rhel-7-x86_64/pgdg-centos96-9.6-3.noarch.rpm
yum -y install postgresql96-server.x86_64
/usr/pgsql-9.6/bin/postgresql96-setup initdb
systemctl start postgresql-9.6.service
systemctl enable postgresql-9.6.service
yum -y install rabbitmq-server memcached
systemctl start rabbitmq-server
systemctl enable rabbitmq-server
systemctl start memcached
systemctl enable memcached
-----
su - postgres
psql
create database awx;
----
/var/lib/pgsql/9.6/data/pg_hba.conf:
--
local all all trust
# IPv4 local connections:
host all all 127.0.0.1/32 trust
host all all localhost trust
# IPv6 local connections:
host all all ::1/128 ident
--
yum -y install wget
wget -O /etc/yum.repos.d/awx.repo https://copr.fedorainfracloud.org/coprs/mrmeee/awx/repo/epel-7/mrmeee-awx-epel-7.repo
yum -y install awx
set your machines hostname in /etc/tower/settings.py:
CLUSTER_HOST_ID = "<hostname>"
systemctl enable awx-web
systemctl start awx-web
systemctl enable awx-task
systemctl start awx-task
Webinterface will be available at http://<awx-server>:8052