Handelingen

OctoPi

Uit WaaaghPedia

https://octoprint.org/

Extra Software installeren

sudo apt-get install python-pip python-dev python-setuptools python-virtualenv git libyaml-dev build-essential

Extra Gcode

3D Printen/Gcode

Update

sudo apt-get update

pip install --upgrade pip


Webcam

https://github.com/PrusaMK2Users/MK2_Tips_and_Tricks/wiki/OctoPrint-Webcam-Setup

SSL

# Open a root shell
sudo -i

# Change to the /etc/ssl directory, where certificates are stored.
cd /etc/ssl/

# Request a new self-signed certificate, with a 10-year expiration, and 4096-bit RSA key
# It will ask you a lot of questions for details to put in the certificate.
openssl req -x509 -nodes -days 3650 -newkey rsa:4096 -keyout newcert.key -out newcert.crt

# Concatenate the new key and self-signed certificate into a single file the way HAProxy likes it
# Feel free to use a different name than 'snakeoil.pem' so long as you edit haproxy.cfg to match
cat newcert.crt newcert.key > snakeoil.pem

# Restart HAProxy so that the new certificate takes effect.
systemctl restart haproxy

# Leave the root shell and go back to normal.
exit

https://github.com/PrusaMK2Users/MK2_Tips_and_Tricks/wiki/Generating-a-new-SSL-certificate-for-OctoPi