https://github.com/ryansch/docker-cups-rpi
https://github.com/ryansch/docker-cups-rpi
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/ryansch/docker-cups-rpi
- Owner: ryansch
- Created: 2016-10-15T14:17:57.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-11-30T18:01:27.000Z (over 8 years ago)
- Last Synced: 2025-03-11T00:08:19.202Z (3 months ago)
- Size: 9.77 KB
- Stars: 7
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Inspired by https://github.com/a0js/rpi-cups
## Usage
### On mac:
- Insert rasp pi sd card into mac
- `brew install pv ssh-copy-id`
- `git clone https://github.com/hypriot/flash`
- `cd flash/Darwin`
- `PRINT_HOSTNAME=print`
- `./flash --hostname $PRINT_HOSTNAME https://downloads.hypriot.com/hypriotos-rpi-v1.1.1.img.zip` (or latest release)
- When complete, install sd card into rpi and power on
- `ssh-copy-id -i .ssh/id_rsa.pub pirate@${PRINT_HOSTNAME}.local` (default password is hypriot)
- Disable password logins: `PasswordAuthentication no` in /etc/ssh/sshd_configNote: You may have to enable password logins on your mac os client temporarily to complete these steps.
- `systemctl restart ssh.service`### On rpi:
- `cd /opt`
- `sudo git clone https://github.com/ryansch/docker-cups-rpi cups`
- `sudo cp /opt/cups/cups.service /etc/systemd/system/`
- `sudo systemctl enable /etc/systemd/system/cups.service`
- `sudo systemctl start cups.service`### On mac:
- Visit 'http://print.local:631' with your browser
Default administration credentials are print/print.