freedombonee/doc/EN/armbian.org

3.4 KiB

/free/freedombonee/src/commit/13d834bfcb614660060ea6d6208b5ef7543acf41/doc/EN/images/logo.png

Installing on Armbian

"we are the music makers, we are the dreamers of dreams. cyberpunks and pirates. chaotic spectres haunting cyberspace. engineers, artists, hackers."

If you have a single board ARM computer which isn't one of the supported ones then you can probably still install Freedombone onto it if it has a Debian Stretch Armbian image available for it.

Download the Armbian image for your board. It must be version 9 (Stretch), otherwise it won't work. Extract the image from its archive, then copy it to a microSD card:

sudo dd bs=1M if=[Armbian .img file] of=/dev/sdX conv=fdatasync

Where /dev/sdX is the path for the microSD drive on your system.

When that's done use a tool such as Gparted to resize the partition on the microSD card to fill up any remaining available space.

Insert the microSD drive into your ARM board, connect it to your internet router with an ethernet cable and plug in the power.

The board should then show up somewhere on your local network. You can log into your internet router to see what devices are connected and obtain the local IP address for the board that way, or use a network scanning tool.

Once you know the local IP address of your ARM board then you can log into it with:

ssh root@[local IP address]

Using the default Armbian password of 1234. You should see the Armbian welcome message and will be asked to change the password, then create a new user account.

/free/freedombonee/src/commit/13d834bfcb614660060ea6d6208b5ef7543acf41/doc/EN/images/armbian_setup.jpg

When the user account is created type exit to leave the ssh session then log back in with your new user account.

ssh myusername@[local IP address]

Become the root user:

sudo su

Then clone the Freedombone repository and checkout the stretch development branch.

apt-get -y install git dialog build-essential
git clone https://github.com/bashrc/freedombone
cd freedombone
git checkout stretch

Install the Freedombone commands:

make install

And now you can begin installing the Freedombone system. There are two ways of doing this. If you already own a domain name which you want to use then run:

freedombone menuconfig

Alternatively, if you don't own a domain name, don't have administrator access to your internet router or if you want to be able to access your sites only via onion addresses then run:

freedombone menuconfig-onion

You will then be taken through a few questions and the system will install. Afterwards you'll be able to log into your system with:

ssh myusername@freedombone.local -p 2222

Then select Administrator options. If you chose the first install option using a domain name then go to Show Firewall and make sure that the ports shown are forwarded from your internet router to your ARM board.

You can then add or remove apps as needed.