mirror of
https://github.com/mynodebtc/mynode.git
synced 2024-12-25 22:18:07 +00:00
c419fa3e78
* Move existing documentation to its own `doc` folder * Convert setup_base_image_debian to Markdown * Convert setup_base_image_other to Markdown * Convert setup_base_image_raspi3 to Markdown * Convert setup_babse_image_raspi4 to Markdown * Convert setup_base_image_rock64 to Markdown * Convert setup_base_image_rockpro64 to Markdown * Update filepaths in code to point to new `doc` directory
72 lines
1.3 KiB
Markdown
72 lines
1.3 KiB
Markdown
# Setup Base Image (Debian)
|
|
|
|
1. Setup Base OS
|
|
|
|
Install Debian 10.1.0 Net-install via CD
|
|
|
|
URL: [https://www.debian.org/CD/netinst/](https://www.debian.org/CD/netinst/)
|
|
|
|
Follow instructions:
|
|
|
|
- Graphical Install
|
|
- English, US, American English
|
|
- Hostname: myNode
|
|
- Domain Name: <LEAVE_EMPTY>
|
|
- Root Password: bolt
|
|
- Full Name: myNode
|
|
- Username: mynode
|
|
- Password: bolt
|
|
- Timezone: Central
|
|
- Partition: Guided Use Entire Disk, Continue, Continue, Continue, Yes
|
|
- CDs and Packages: No, Next, Next
|
|
- Software Selection: No GUI, No Print Server, Add SSH Server
|
|
- Install Grub: Yes, /dev/sda
|
|
- Install Complete: Continue
|
|
|
|
2. Login as root / bolt
|
|
|
|
3. Install basic Software
|
|
|
|
```sh
|
|
apt-get -y install sudo
|
|
useradd -p $(openssl passwd -1 bolt) -m -s /bin/bash admin
|
|
adduser admin sudo
|
|
```
|
|
|
|
4. Delete mynode user
|
|
|
|
```sh
|
|
deluser mynode
|
|
rm -rf /home/mynode
|
|
exit
|
|
```
|
|
|
|
5. Login as admin / bolt
|
|
|
|
6. Delete root password
|
|
|
|
```sh
|
|
sudo passwd -d root
|
|
```
|
|
|
|
7. Update packages
|
|
|
|
```sh
|
|
sudo apt-get -y update
|
|
sudo apt-get -y upgrade
|
|
```
|
|
|
|
8. Install some basics
|
|
|
|
```sh
|
|
sudo apt-get -y install tmux
|
|
```
|
|
|
|
9. Sync
|
|
|
|
```sh
|
|
sync
|
|
```
|
|
|
|
10. Make image now (if imaging)
|