簡體   English   中英

我需要在Ubuntu 12.04上安裝edx平台的流浪漢才能通過AWS步驟

[英]Do I need vagrant for installation edx platform on Ubuntu 12.04 for getting through AWS step

我嘗試通過本教程https://github.com/edx/configuration/wiki/edX-Ubuntu-12.04-64-bit-Installation在ubuntu 12.04上安裝edx平台。 我不使用Vagrant,但要踩[aws | update the ssh motd on Ubuntu] [aws | update the ssh motd on Ubuntu]我遇到fatal: [localhost] => error while evaluating conditional: vagrant_home_dir.stat.exists == false錯誤fatal: [localhost] => error while evaluating conditional: vagrant_home_dir.stat.exists == false 這很奇怪,因為教程可以幫助您無須安裝edx。 為什么我會收到關於不存在無業游民的錯誤?

我的意思是,此部分是aws certs 看看那里https://github.com/edx/configuration/blob/master/playbooks/edx_sandbox.yml#L51 所以...我不確定該安裝什么,但似乎與Amazon Web Services有關。 在搜索了一些有關AWS和edx的信息之后,我知道該edx可以安裝在AWS上。 但是我在VPS上安裝了edx,這讓我更加困惑。 也許我不需要完成此步驟。 也許我還不明白。

對不起,如果我的英語不太清楚。 謝謝。

Ansible任務會給您帶來錯誤,它是update the ssh motd on Ubuntu它位於configuration/playbooks/roles/aws/tasks/main.yml此任務用於更新ubuntu上的ssh modt,它刪除了一些默認的motd顯示在ubuntu上添加自定義motd,這對於EC2實例是必需的。

- name: update the ssh motd on Ubuntu
  file: >
    mode=0644
    path={{ item }}
  when: vagrant_home_dir.stat.exists == false
  with_items:
  - "/etc/update-motd.d/10-help-text"
  - "/usr/share/landscape/landscape-sysinfo.wrapper"
  - "/etc/update-motd.d/51-cloudguest"
  - "/etc/update-motd.d/91-release-upgrade"

由於您沒有使用EC2實例,因此可以通過注釋掉它來跳過它。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM