Forskjell mellom versjoner av «OctoPrint/testing»

Fra Bitraf
Hopp til navigering Hopp til søk
(laget underside OctoPrint/testing)
 
(manual installation of OctoPrint)
Linje 3: Linje 3:
 
Testing av OctoPrint.
 
Testing av OctoPrint.
  
 +
== Manual installation ==
  
 +
=== Setup a SD card ===
 +
Download Raspbian Lite (currently Raspbian Buster Lite<ref>[https://www.raspberrypi.org/downloads/raspbian/ raspberrypi.org - Raspbian]</ref>) and put onto a SD card (or microSD card if that is what your Raspberry Pi requires).
 +
 +
Before putting the SD card into the Pi, do the following changes
 +
* allow ssh by creating a filer named 'ssh' on the boot partition (cd to mountpoint of boot partition, then do <code>touch ssh</code>)
 +
* mount the <code>rootfs</code> partition and change the hostname (default is raspberrypi) by editing the files etc/hostname and etc/hosts (only the line with the same name ('raspberrypi')on that partition. The name will show up on the network as '''hostname.local''', so use '''hostname-print''' for example (shows up on the network as hostname-print.local). If you mount it on a machine running Linux, you can use <code>sudo vi etc/hostname</code>, and <code>sudo nano etc/hosts</code> to edit the files.
 +
 +
== References ==
 +
<references/>
  
 
[[Category:Octoprint]] [[Category:3D printing]]
 
[[Category:Octoprint]] [[Category:3D printing]]

Revisjonen fra 21. nov. 2019 kl. 22:47

Tilbake til OctoPrint.

Testing av OctoPrint.

Manual installation

Setup a SD card

Download Raspbian Lite (currently Raspbian Buster Lite[1]) and put onto a SD card (or microSD card if that is what your Raspberry Pi requires).

Before putting the SD card into the Pi, do the following changes

  • allow ssh by creating a filer named 'ssh' on the boot partition (cd to mountpoint of boot partition, then do touch ssh)
  • mount the rootfs partition and change the hostname (default is raspberrypi) by editing the files etc/hostname and etc/hosts (only the line with the same name ('raspberrypi')on that partition. The name will show up on the network as hostname.local, so use hostname-print for example (shows up on the network as hostname-print.local). If you mount it on a machine running Linux, you can use sudo vi etc/hostname, and sudo nano etc/hosts to edit the files.

References