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

**URL:** https://discuss.openedx.org/t/install-tutor-with-nutmeg-in-production-server-dev-server-complete-tutorial/8025
**Category:** Site Operators
**Tags:** tutor
**Created:** [August 7, 2022, 4:09pm UTC](https://discuss.openedx.org/t/install-tutor-with-nutmeg-in-production-server-dev-server-complete-tutorial/8025 "2022-08-07T16:09:52Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Parvin\_Kumar](https://avatars.discourse-cdn.com/v4/letter/p/eada6e/32.png) [@Parvin\_Kumar](https://discuss.openedx.org/u/Parvin_Kumar)
#### Post date: [August 7, 2022, 4:09pm UTC](https://discuss.openedx.org/t/install-tutor-with-nutmeg-in-production-server-dev-server-complete-tutorial/8025/1 "2022-08-07T16:09:53Z")

</div>

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)  
`:/home/parvin/.local/bin`

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

---

<div class="post-metadata">

### Author: ![Tom\_Brown](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/tom_brown/32/4066_2.png) [@Tom\_Brown](https://discuss.openedx.org/u/Tom_Brown)
#### Post date: [August 17, 2022, 9:58pm UTC](https://discuss.openedx.org/t/install-tutor-with-nutmeg-in-production-server-dev-server-complete-tutorial/8025/2 "2022-08-17T21:58:35Z")

</div>

@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:

- Create a User [Local deployment — Tutor documentation](https://docs.tutor.overhang.io/local.html#createuser)
- Load a Demo course [Local deployment — Tutor documentation](https://docs.tutor.overhang.io/local.html#importing-the-demo-course)

And really all of the stuff on this page was helpful.  
[https://docs.tutor.overhang.io/local.htm](https://docs.tutor.overhang.io/local.htm)

---

<div class="post-metadata">

### Author: ![Tom\_Brown](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/tom_brown/32/4066_2.png) [@Tom\_Brown](https://discuss.openedx.org/u/Tom_Brown)
#### Post date: [August 17, 2022, 10:00pm UTC](https://discuss.openedx.org/t/install-tutor-with-nutmeg-in-production-server-dev-server-complete-tutorial/8025/3 "2022-08-17T22:00:00Z")

</div>

@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.

---

<div class="post-metadata">

### Author: ![Parvin\_Kumar](https://avatars.discourse-cdn.com/v4/letter/p/eada6e/32.png) [@Parvin\_Kumar](https://discuss.openedx.org/u/Parvin_Kumar)
#### Post date: [August 18, 2022, 5:33am UTC](https://discuss.openedx.org/t/install-tutor-with-nutmeg-in-production-server-dev-server-complete-tutorial/8025/4 "2022-08-18T05:33:16Z")

</div>

@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`

---

<div class="post-metadata">

### Author: ![Hal\_Riggs](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/hal_riggs/32/4233_2.png) [@Hal\_Riggs](https://discuss.openedx.org/u/Hal_Riggs)
#### Post date: [August 27, 2022, 2:59am UTC](https://discuss.openedx.org/t/install-tutor-with-nutmeg-in-production-server-dev-server-complete-tutorial/8025/5 "2022-08-27T02:59:43Z")

</div>

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?

---

<div class="post-metadata">

### Author: ![Parvin\_Kumar](https://avatars.discourse-cdn.com/v4/letter/p/eada6e/32.png) [@Parvin\_Kumar](https://discuss.openedx.org/u/Parvin_Kumar)
#### Post date: [August 28, 2022, 2:37am UTC](https://discuss.openedx.org/t/install-tutor-with-nutmeg-in-production-server-dev-server-complete-tutorial/8025/6 "2022-08-28T02:37:29Z")

</div>

for features refer this one  
[https://docs.tutor.overhang.io/plugins/v0/gettingstarted.html?#yaml-file](https://docs.tutor.overhang.io/plugins/v0/gettingstarted.html?#yaml-file)
