Install Tutor with Nutmeg in Production Server/Dev Server Complete Tutorial

I am Starting My First Tutorial and Forgive me if I do any mistake.

Minimum System Requirement for Installing OpenEdx in production(Ubuntu 20.04 and 8 Gb Ram 2 CPU Core and 50 gb Storage)
For User I am Creating Parvin and I am recommending only use single username

  1. First we have to create a user after logged into Root User
    sudo adduser parvin

  2. Now we have to add this user to Sudo Access
    sudo usermod -aG sudo parvin

  3. Switch to New User in my case Parvin
    su - parvin

  4. Now we have to run update command in ubuntu
    sudo apt update -y

  5. Now we have to install latest version of Docker and Docker Compose
    sudo apt-get install docker docker-compose -y

  6. After installing Docker and Docker Compose we have to add docker into sudo user
    sudo usermod -aG docker parvin

  7. Now we have to enable our docker at startup so if our server goes restart then it will start automatically
    sudo systemctl enable docker

  8. Now our system is ready for installing Tutor for installing Tutor we have to install Python and setuptools
    sudo apt install python3 python3-pip libyaml-dev -y

  9. Now we have to install Tutor in our System for installing latest version of Tutor use this command and it is recommended that always use latest version of Tutor
    pip install "tutor[full]"

  10. While installing Tutor we are getting error of Pyyml Error for that we have to install this Pyyml version
    pip install PyYAML==5.4.1

  11. Upgrade command of tutor to check Tutor error is resolved or not and is there any other setup error is there or not
    pip install --upgrade "tutor[full]"

  12. Our Tutor is installed but it will not run because we have not added python and Tutor path in our new user so we have to add our path in this file
    sudo nano /etc/environment

  13. In the end of the environment file add these values (Please change with your username mine is parvin)

  14. after completing all above steps we have to reboot our server
    sudo reboot

  15. After restart login as Parvin user and run these commands
    tutor local quickstart # for local installations
    tutor dev quickstart # for local development installations

For Dev setup it will be suggest always use Ubuntu 20.04 as primary OS and always use SSD for this setup otherwise Hard Disk lifespan is reduced if you run multiple times quickstart or build images command
Minimum config we have to use for dev is 4 GB ram and minimum CPU is recommended is core i5

I will create basic platform use Tutorials for all People within this week

Note: Please do not use Hard Disk in any setup

@Parvin_Kumar I really appreciated your instructions here. These ran great. I ended up spinning up a VM on an Intel Macintosh running Ubuntu 20.04 and got as far as the instruction listed here. This did seem to give me a running server. However, I don’t know Open Edx. I did not know how to login to the server I created.

May I suggest an addition to your very fine Tutor Tutorial.

At least showing folks how to:

And really all of the stuff on this page was helpful.

@Parvin_Kumar I have a question:
What is the difference between these two commands in your instructions.

tutor local quickstart # for local installations
tutor dev quickstart # for local development installations

I see a side menu that pop up in Dev Mode. However, I don’t know enough about Open Edx to understand the significance of these differences.

@Tom_Brown ,

If you wanted to customize Edx then you must have to install dev version. and from your blog post you are using local machine so I will suggest use Dev version tutor dev quickstart.

If you have Cloud VPS from any service provider with domain you have to use tutor local quickstart

1 Like

Thanks for the tutorial! It enabled me to get an instance of Nutmeg via tutor running in
a VirtualBox instance of Ubuntu.

Do you know how to modify the FEATURES options in tutor that are normally in
the cms.yml and lms.yml files on a non-tutor installation?

for features refer this one