mynode/doc/setup_base_image_debian.md
2022-03-09 22:03:51 -06:00

1.4 KiB

Setup Base Image (Debian)

  1. Setup Base OS

    Install latest Debian Net-install via CD

    URL: https://www.debian.org/CD/netinst/ CURRENT IMAGE (10.11): https://cdimage.debian.org/mirror/cdimage/archive/10.11.0/amd64/iso-cd/

    Set VM Settings:

    • Set Ethernet adapter to Bridged Mode

    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
  2. Login as root / bolt

  3. Install basic Software

    apt-get -y install sudo
    useradd -p $(openssl passwd -1 bolt) -m -s /bin/bash admin
    adduser admin sudo
    
  4. Delete mynode user

    deluser mynode
    rm -rf /home/mynode
    exit
    
  5. Login as admin / bolt

  6. Delete root password

    sudo passwd -d root
    
  7. Update packages

    sudo apt-get -y update
    sudo apt-get -y upgrade
    
  8. Install some basics

    sudo apt-get -y install tmux
    
  9. Sync

    sync
    
  10. Make image now (if imaging)