Skip to main content

Posts

Showing posts from June, 2020

OrangePi OctoPrint Installation

This passage is based on YouTube Installing Armbian and OctoPrint on an Orange Pi , https://www.youtube.com/watch?v=LzLb_FnXu70. Update and upgrade your OS 1. sudo apt-get update 2. sudo apt-get upgrade Create your user and give it sudo permissions 3. sudo adduser octoprint 4. sudo usermod -a -G tty octoprint 5. sudo usermod -a -G dialout octoprint 6. sudo adduser octoprint sudo 7. sudo visudo Scroll to the bottom of the document, and add the line at the bottom octoprint ALL=(ALL) NOPASSWD:ALL Ctrl + O to save, Ctrl + X to exit Remove the password from the octoprint user 8. sudo passwd octoprint -d Install the required support software to make this all work 9. sudo apt-get install git python-pip python-dev python-setuptools psmisc virtualenv * This line cannot fully completed in my Armbian Focal with Linux 5.4.43-sunxi64. * Probably we need to install both Python 2.7 and Python3, try sudo apt-get install python2 sudo apt-get install python3 Switch to the octoprint user and confirm your