2020-03-15 18:05:15 +00:00
|
|
|
# Setup Base Image (Debian)
|
|
|
|
|
|
|
|
1. Setup Base OS
|
|
|
|
|
2021-11-06 02:59:09 +00:00
|
|
|
Install latest Debian Net-install via CD
|
2022-08-10 03:49:25 +00:00
|
|
|
|
2023-12-19 04:50:07 +00:00
|
|
|
**LATEST TESTED IMAGE (12.2)** <br/>
|
|
|
|
Basic: https://cdimage.debian.org/mirror/cdimage/archive/12.2.0/amd64/iso-cd/ <br/>
|
|
|
|
Note: No need to use "Additional Firmware" images any more
|
2022-08-10 03:49:25 +00:00
|
|
|
|
|
|
|
**MOST RECENT DEBIAN IMAGES (not tested)** <br/>
|
|
|
|
Basic: [https://www.debian.org/CD/netinst/](https://www.debian.org/CD/netinst/) <br/>
|
|
|
|
|
2022-03-28 02:47:11 +00:00
|
|
|
If VM, set VM Settings:
|
2022-03-10 04:03:51 +00:00
|
|
|
- Set Ethernet adapter to Bridged Mode
|
2020-03-15 18:05:15 +00:00
|
|
|
|
2022-03-28 02:47:11 +00:00
|
|
|
If PC, set PC / UEFI Settings:
|
|
|
|
- Disable Secure Boot
|
|
|
|
|
2020-03-15 18:05:15 +00:00
|
|
|
Follow instructions:
|
|
|
|
|
|
|
|
- Graphical Install
|
|
|
|
- English, US, American English
|
2023-12-01 22:06:57 +00:00
|
|
|
- Hostname: mynode
|
2020-03-15 18:05:15 +00:00
|
|
|
- Domain Name: <LEAVE_EMPTY>
|
|
|
|
- Root Password: bolt
|
2023-12-01 22:06:57 +00:00
|
|
|
- Full Name: mynode
|
2020-03-15 18:05:15 +00:00
|
|
|
- Username: mynode
|
|
|
|
- Password: bolt
|
|
|
|
- Timezone: Central
|
2022-03-10 04:03:51 +00:00
|
|
|
- Partition: Manual, One ext4 Partition, No Swap
|
2020-03-15 18:05:15 +00:00
|
|
|
- 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
|
2022-03-27 18:41:13 +00:00
|
|
|
sudo shutdown -h now
|
2020-03-15 18:05:15 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
10. Make image now (if imaging)
|