Commit 9f98f3e8 authored by Neil Gershenfeld's avatar Neil Gershenfeld

wip

parent d18bfaf9
<pre>
shopcam server
can use Ubuntu MATE on a Raspberry Pi 3 with a Logitech C920 HD Webcam
sudo apt-get update
sudo apt-get dist-upgrade
sudo apt-get install gedit chromium-browser git npm nodejs-legacy guvcview ristretto uvcdynctrl tightvncserver xtightvncviewer openssh-server
System -> Administration -> Time and Date -> Keep synchronized with internet servers
install local web server:
sudo npm install -g http-server-with-auth
clone repos:
git clone https://gitlab.cba.mit.edu/pub/cams.git
git clone https://gitlab.cba.mit.edu/pub/mods.git
git clone https://github.com/novnc/noVNC.git
install vnc service (assuming username is fab):
cd /home/fab/cams
sudo cp tightvncserver.service /lib/systemd/system
sudo systemctl daemon-reload
sudo systemctl enable tightvncserver.service
sudo systemctl start tightvncserver.service
journalctl -u tightvncserver.service
can use:
ristretto to view images
uvcdynctrl -f to list resolutions
guvcview to adjust camera
<pre>
sudo apt-get update
sudo apt-get dist-upgrade
sudo apt-get install gedit chromium-browser git npm nodejs-legacy guvcview geeqie tightvncserver xtightvncviewer openssh-server
systemctl enable ssh
System -> Administration -> Time and Date -> Keep synchronized with internet servers
git clone ssh://git@gitlab.cba.mit.edu:846/pub/cams.git
git clone ssh://git@gitlab.cba.mit.edu:846/pub/mods.git
edit .vnc/xstartup
set tightvncpasswd
sudo cp tightvncserver.service /lib/systemd/system
sudo systemctl daemon-reload
sudo systemctl enable tightvncserver.service
sudo systemctl start tightvncserver.service
journalctl -u tightvncserver.service
ssh -L 5901:127.0.0.1:5901 -N -f -l user_name ip_address
ssh -L 5901:127.0.0.1:5901 -l user_name ip_address
xtightvncviewer 127.0.0.1:1
<pre>
shopcam server, prior node version
to clone: git clone https://gitlab.cba.mit.edu/pub/cams.git
to reinitialize: ./init
......
......@@ -2,10 +2,10 @@
xrdb $HOME/.Xresources
xsetroot -solid grey
#x-terminal-emulator -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
#x-window-manager &
# Fix to make GNOME work
export XKL_XMODMAP_DISABLE=1
cd /home/fab/noVNC
./utils/launch.sh --vnc 127.0.0.1:5901 &
cd /home/fab/mods
http-server-with-auth --username your_username --password your_password &
chromium-browser http://your_username:your_password@127.0.0.1:8080/?program=programs/image/motion%20detect&
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment