1.6 KiB
1.6 KiB
Setup Base Image (Debian)
-
Setup Base OS
Install latest Debian Net-install via CD
LATEST TESTED IMAGE (12.2)
Basic: https://cdimage.debian.org/mirror/cdimage/archive/12.2.0/amd64/iso-cd/
Note: No need to use "Additional Firmware" images any moreMOST RECENT DEBIAN IMAGES (not tested)
Basic: https://www.debian.org/CD/netinst/If VM, set VM Settings:
- Set Ethernet adapter to Bridged Mode
If PC, set PC / UEFI Settings:
- Disable Secure Boot
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: Manual, One ext4 Partition, No Swap
- CDs and Packages: No, Next, Next
- Software Selection: No GUI, No Print Server, Add SSH Server
- Install Grub: Yes, /dev/sda
- Install Complete: Continue
-
Login as root / bolt
-
Install basic Software
apt-get -y install sudo useradd -p $(openssl passwd -1 bolt) -m -s /bin/bash admin adduser admin sudo
-
Delete mynode user
deluser mynode rm -rf /home/mynode exit
-
Login as admin / bolt
-
Delete root password
sudo passwd -d root
-
Update packages
sudo apt-get -y update sudo apt-get -y upgrade
-
Install some basics
sudo apt-get -y install tmux
-
Sync
sync sudo shutdown -h now
-
Make image now (if imaging)