-
-
Notifications
You must be signed in to change notification settings - Fork 266
Installation Options
For a simple installation/upgrade of TinyPilot, see the instructions in the main README.
To choose configuration options for the install, specify them in the /home/tinypilot/settings.yml
file.
These settings would persist on every update too.
Possible variables are available in:
Here's an example that installs TinyPilot with a desired capture resolution of 1280x720 and chooses the 1.0.2 version of TinyPilot.
- Add the installation options to your TinyPilot
settings.yml
file:
TINYPILOT_SETTINGS="/home/tinypilot/settings.yml"
echo 'ustreamer_resolution: "1280x720"' | sudo tee -a "${TINYPILOT_SETTINGS}"
echo 'tinypilot_repo_branch: "1.0.2"' | sudo tee -a "${TINYPILOT_SETTINGS}"
sudo chown tinypilot:tinypilot "${TINYPILOT_SETTINGS}"
- run the
quick-install
script:
curl \
--silent \
--show-error \
https://raw.githubusercontent.com/mtlynch/tinypilot/master/quick-install | \
bash - && \
sudo reboot
If you're using a Toshiba TC358743-based HDMI capture chip, the following installation options optimize performance with that chip:
- Add the installation options to your TinyPilot
settings.yml
file:
TINYPILOT_SETTINGS="/home/tinypilot/settings.yml"
echo 'ustreamer_capture_device: "tc358743"' | sudo tee -a "${TINYPILOT_SETTINGS}"
sudo chown tinypilot:tinypilot "${TINYPILOT_SETTINGS}"
- run the
quick-install
script:
curl \
--silent \
--show-error \
https://raw.githubusercontent.com/mtlynch/tinypilot/master/quick-install | \
bash - && \
sudo reboot
If you're interested in contributing to TinyPilot, see the CONTRIBUTING file for instructions on setting up your development environment.
This procedures shows how to install TinyPilot using proxy.
- get
quick-install
script.
sudo su
export http_proxy=http://<proxy server address>:<proxy port>/
# if you use proxy which requires login:
# export http_proxy=http://<user id>:<password>@<proxy server address>:<proxy port>/
export https_proxy=${http_proxy}
wget --no-check-certificate https://raw.githubusercontent.com/mtlynch/tinypilot/master/quick-install
- Edit
quick-install
and save asquick-install-proxy
sed -e 's/sudo apt-get/sudo -E apt-get/' quick-install > quick-install-proxy
sed -i -e 's/pip install/pip --trusted-host pypi.org --trusted-host files.pythonhosted.org install/' quick-install-proxy
sed -i -e "s/ansible-galaxy install/ansible-galaxy install --ignore-cert/" quick-install-proxy
- run
quick-install-proxy
bash quick-install-proxy && reboot
To order TinyPilot kits and accessories: https://tinypilotkvm.com