OctoPrint: verschil tussen versies
Uit WaaaghPedia
Geen bewerkingssamenvatting |
Geen bewerkingssamenvatting |
||
(Een tussenliggende versie door dezelfde gebruiker niet weergegeven) | |||
Regel 3: | Regel 3: | ||
== Extra Software installeren == | == Extra Software installeren == | ||
sudo apt-get install python-pip python-dev python-setuptools python-virtualenv git libyaml-dev build-essential | sudo apt-get install python-pip python-dev python-setuptools python-virtualenv git libyaml-dev build-essential | ||
== Update == | == Update == | ||
Regel 41: | Regel 38: | ||
https://github.com/PrusaMK2Users/MK2_Tips_and_Tricks/wiki/Generating-a-new-SSL-certificate-for-OctoPi | https://github.com/PrusaMK2Users/MK2_Tips_and_Tricks/wiki/Generating-a-new-SSL-certificate-for-OctoPi | ||
[[Category: | [[Category:SelfHosted Software]] | ||
[[Categorie:Linux Software]] |
Versie van 31 dec 2019 17:43
Extra Software installeren
sudo apt-get install python-pip python-dev python-setuptools python-virtualenv git libyaml-dev build-essential
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