http://guoliang-dev.github.io/rabbit-backup/
rabbit-backup uses dropbox api to upload local file to dropbox.com; // that’s why we need a dropbox access token.
Features:
Usage:
rabbit-youtube.py -u ChromeDevelopers /tmp/test/
for more details: http://guoliang-dev.github.io/rabbit-youtube/
requirement:
code:
create a Dockerfile
this image will install python and start a SimpleHTTPServer:
FROM ubuntu ENV DEBIAN_FRONTEND noninteractive CMD ["bash"] RUN apt-get update RUN apt-get install -y python EXPOSE 8000 CMD python -m SimpleHTTPServer 8000
Build project
docker build -t myapp:latest .
run docker image
docker run -P myapp
-P for port forwarding: Publish all exposed ports to random ports
check the web page
find port by:
docker ps -l
This project can be found here:
https://github.com/guoliang-dev/docker-hello-world-python
Install / Start SSH in your guest Linux
sudo service ssh status
install open-ssh in case it’s not ready in your guest:
sudo apt-get install openssh-server
start the service if the service is stopped.
sudo service ssh start
Setup VirtualBox – port forwarding
virtualbox > edit settings for the guest vm:
network > port forwarding (e.g host 3022 -> guest 22)
SSH to the guest linux
ssh user@loalhost -p 3022
// Proudly powered by Apache, PHP, MySQL, WordPress, Bootstrap, etc,.