From cac87ed75e687b8312763d083a95074764482d6e Mon Sep 17 00:00:00 2001 From: Malcolm Ke Win Date: Sat, 29 Sep 2018 13:39:18 +0800 Subject: [PATCH 1/2] Update README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 22a166b..7faa7ed 100644 --- a/README.md +++ b/README.md @@ -53,6 +53,7 @@ It's inspired by the following projects. - [How to build Barge](./docs/build.md) - [Customization of Barge](./docs/customization.md) +- [Use BargeOS on DigitalOcean VPS](./docs/bargeos_on_digitalocean.md) ## License From d7621868938840f234e87a6941f7fecaf0c98f9f Mon Sep 17 00:00:00 2001 From: Malcolm Ke Win Date: Sat, 29 Sep 2018 13:41:07 +0800 Subject: [PATCH 2/2] Create bargeos_on_digitalocean.md --- docs/bargeos_on_digitalocean.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 docs/bargeos_on_digitalocean.md diff --git a/docs/bargeos_on_digitalocean.md b/docs/bargeos_on_digitalocean.md new file mode 100644 index 0000000..9480345 --- /dev/null +++ b/docs/bargeos_on_digitalocean.md @@ -0,0 +1,15 @@ +0. Download latest release barge.img file (13MB) from: https://github.com/bargees/barge-os/releases +0. Login and goto https://cloud.digitalocean.com/images/custom_images +0. Click "Upload Image" and select barge.img to upload +0. Create Droplets/Custom images/barge.img +0. ssh bargee@ (password is also bargee) +0. sudo fdisk -l, found the "EndLBA" is <26635> +0. sudo fdisk /dev/vda, Command (m for help): n, Partition type: p, Partition number (1-4): 2, First sector: 26636 ... created new partition +0. sudo mkfs.ext4 -b 4096 -i 4096 -L BARGE-DATA /dev/vda2 +0. sudo reboot +0. ssh bargee@ (password is still bargee) +0. passwd (password only can be saved after we made BARGE-DATA partition) +0. sudo reboot +0. ssh bargee@ (new password) +0. sudo pkg install nano +0. docker run -it ubuntu /bin/sh