DEV Community

Cover image for how to install open edx on ubuntu

how to install open edx on ubuntu

Cubite on August 30, 2021

By finishing this article you'll install your own production-ready learning management system. What is open edX? open edX is an open ...
Collapse
 
ogezie profile image
ogezie

Hi,
Please, is it possible to update this script as this one is not working. When it gets to cd /edx/app/edx_ansible/edx_ansible/playbooks/, the script stops because there is no such location.

Collapse
 
corpcubite profile image
Cubite

Hi @ogezie I check the script but it should work. If you already have a dir called edx it doesn't download the playbooks there maybe that's the issue but I test the script and update it if it's needed. Thanks for your feedback.

Collapse
 
ogezie profile image
ogezie

Hi Cubite,
I finally got it to work. Thanks a lot for this. I really appreciate it. How can I generate SSL certs using letsencrypt, and set Domain names and create admin users.
Thanks for you help.

Thread Thread
 
corpcubite profile image
Cubite

HI @ogezie
Glad it worked. Follow the instructions in dev.to/corpcubite/how-to-install-o... to setup SSL certificate and DNS records

Collapse
 
corpcubite profile image
Cubite • Edited

Hi @ogezi
We tested the script and it's working. Before running the script make sure there is no directory called /edx/ and run wget https://gist.githubusercontent.com/cubiteDevops/521cbca51ef8fa778418bdeddbd14c8c/raw/6561ba91d280ebcdfa3e6749e83f804d5bda2e89/openedx-installer.sh -O - | sudo bash
. We also have a one click installer for digital ocean that installs Open edX in a couple of minutes. You can learn more about it here dev.to/corpcubite/how-to-install-o...

Collapse
 
ogezie profile image
ogezie

Hi,
Thank you for your reply. I have been running this code on a fresh Google Cloud machine without any folder called edx. I have done it again today and I have uploaded an image. Is there something I need to do before running this script? I checked the script and theres a line where it is supposed to download an ansible script but it doesn't. I checked the git link myself and there no such file. I would really love to have this script working. Please, could you kindly check again to be sure that all the links are through and the necessaty files can be downloaded?
Thank you for your time.

Collapse
 
mrskmishra profile image
MrSkMishra

Hi,
Please, is it possible to update this script as this one is not working. When it gets to
bash: line 12: cd: /edx/app/edx_ansible/edx_ansible/playbooks/: No such file or directory
sudo: /edx/app/edx_ansible/edx_ansible/playbooks/: command not found

Collapse
 
ductong169z profile image
Kazima

Hi, I have the problem with Mysql.
I try to add new key "warlord0blog.wordpress.com/2019/05..."
But It not work. Please help me . Thanks

Collapse
 
ductong169z profile image
Kazima

TASK [mysql : add the mysql signing key] ***************************************
fatal: [localhost]: FAILED! => {"changed": false, "id": "8C718D3B5072E1F5", "msg": "key does not seem to have been added"}