Installation Process - williamgardner2017/Hampod_Program GitHub Wiki
- Go through steps of the installation process here.
There are two methods of installation
- The first method is to install the entire system as one bulk file.
- The second method is to install each Hampod component manually.
- On a separate computer, install BalenaEtcher.
- From the NanoPi Neo Official Card Image site, download Debian-Jessie 4.14 (named "h3-sd-debian-jessie-4.14-armhf-20231107.img.gz"). The link can be found here.
- Flash the downloaded Debian-Jessie Image file onto the microSD card using BalenaEtcher.
- Plug microSD into NanoPi Neo.
- Provide NanoPi with power using power cable and internet with ethernet cable.
- Run your computer IP.
- "ssh" into your NanoPi Neo by:
ssh root@<yourip>- Create "pi" user by running:
root@bar:~$ sudo adduser pi- Go through process of setting up user.
- exit the root user by running:
root@bar:~$ exit- Now that you have a non-root user, "ssh" into your NanoPi Neo through the "pi user by running:
ssh pi@<yourip>- Retrieve your IP address for the NanoPi by running:
pi@bar:~$ ip addr- Exit "pi" user and return to "root" user by running the following:
pi@bar:~$ exit
ssh root@<yourip>- Give the "pi" user "sudo" permissions by running the following:
root@bar:~$ sudo usermod -aG sudo pi- Exit "root" user and return to "pi" user by running the following:
root@bar:~$ exit
ssh pi@<yourip>- Run the following:
pi@bar:~$ sudo nano /etc/apt/sources.list- Replace the code in the
sources.listfile with the following:
deb http://archive.debian.org/debian/ stretch main non-free contrib
deb-src http://archive.debian.org/debian/ stretch main non-free contrib
- Run the following (NOTE: This might take a while). If it errors, go to step 19.
pi@bar:~$ sudo apt-get update- If it errors, run the following. Then rerun step 18:
pi@bar:~$ sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 04EE7237B7D453EC
pi@bar:~$ sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 648ACFD622F3D138
pi@bar:~$ sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 0E98404D386FA1D9
pi@bar:~$ sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys EF0F382A1A7B6500- Install "gcc" through running the following:
pi@bar:~$ sudo apt-get install gcc- Install "git" through running the following:
pi@bar:~$ sudo apt-get install git- Install the Hamlib library through running the following: PROVIDE HAMLIB PROCESS
- Install the Festival library through running the following: PROVIDE FESTIVAL PROCESS
- Run the following:
pi@bar:~$ sudo ldconfig- Run the following:
pi@bar:~$ sudo usermod -aG dialout pi