Ansible Automation Platform Installation Guide == * https://access.redhat.com/documentation/en-us/red_hat_ansible_automation_platform/2.4/html/red_hat_ansible_automation_platform_planning_guide/index # Install AAP2 on RedHat 9 ## 參考資料 * [版本 2.3 官方安裝手冊](https://access.redhat.com/documentation/en-us/red_hat_ansible_automation_platform/2.3/html/red_hat_ansible_automation_platform_installation_guide/index) * [版本 2.2 官方安裝手冊](https://access.redhat.com/documentation/zh-cn/red_hat_ansible_automation_platform/2.2/html-single/red_hat_ansible_automation_platform_installation_guide/index#choosing_and_obtaining_a_red_hat_ansible_automation_platform_installer) ## Brief Steps * 從上述文件 2.2 版,透過指令加入 rpm ```shell= sudo dnf install --enablerepo=ansible-automation-platform-2.2-for-rhel-9-x86_64-rpms ansible-automation-platform-installer ``` * 踩到第一個問題:作業系統還沒 register redhat * [解法](https://access.redhat.com/articles/6538061) * [試用的網站](https://access.redhat.com/zh_CN/downloads) * 本來以為可以透過別人的試用序號來試用六十天,但是測試後是不行的!!    * 走另外一個方法:從自己帳號去按試用,下載、放到 S3 * 在 red hat 安裝 aws cli、`aws s3 cp s3://xxx.tar .` * 解壓縮這個安裝包 `tar xvzf ansible-automation-platform-setup-bundle-2.3-2.1.tar.gz` * ## 安裝 AAP 之前置作業 ### Automation Hub (AAH) * AAH 安裝文件 https://access.redhat.com/documentation/zh-tw/red_hat_ansible_automation_platform/2.3 * 需求 * 訂閱:有效的 Red Hat Ansible Automation Platform * 系統:Red Hat Enterprise Linux 7.7 或 8.2 以上 * Ansible: 2.9 版本 * RAM: 4 Gb 以上 * CPU: 2 core 以上 * 儲存: 20 Gb * Browser: Latest Firefox or Chrome * DB: PostgreSQL version 10 * 注意事項 * **You cannot install Ansible Tower and a Private Automation Hub instance on the same node.** The inventory file can handle the installation of both Ansible Tower and Automation Hub. These instructions are only for the installation of Automation Hub. * 文件指出,不可將 **Ansible Tower** 和 **Automation Hub** 裝在同一台機器 * 理由是『inventory』會同時操縱 **Ansible Tower** 和 **Automation Hub** ### 相依性 * Automation controller * Automation Hub * Automation Services Catalog * Insights for Ansible Automation Platform * PostgreSQL * [文件](https://access.redhat.com/support/policy/updates/ansible-automation-platform) ## 安裝 vim ```shell= sudo dnf install vim ``` ## 安裝 PostgreSQL 15 * https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/9/html/configuring_and_using_database_servers/using-postgresql_configuring-and-using-database-servers#installing-postgresql_using-postgresql ```shell= sudo dnf module install postgresql:15/server ``` ## 從 EC2 匯出虛擬主機 * [官方文件](https://docs.aws.amazon.com/zh_tw/vm-import/latest/userguide/vmexport.html) 1. epel-release 2.
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up