1.3 KiB
1.3 KiB
Setup Base Image (Debian)
-
Setup Base OS
Install latest Debian Net-install via CD
URL: 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
-
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
-
Make image now (if imaging)