function show() {
DOMAIN=".example.com"
REMOTE="$2$DOMAIN"
ssh -tR 1080:127.0.0.1:$1 vps "sudo ssh -Nl \$USER -L $REMOTE:80:127.0.0.1:1080 localhost"
}
###IF you are using Raspian many of these tasks are unescessary. With Raspbian:
- SSH is ready to go out of the box
- default runlevel is 3
- many items can be configured with raspi-config tool
###Adding more swap for high memory use concerns
sudo dd if=/dev/zero of=/swap bs=1M count=1024
sudo mkswap /swap
sudo swapon /swap
##Packaging
- What packages are required?
- Is there a usuable binary available?
- Where is the source code located?
- What are the compilation requirements on target platform?
##Job Creation
- How to run process? eg. start, stop, restart.Control Script? Helpful wrapper script? ({name}_ctl)