mynode/doc/setup_base_image_other.md
Mitchell Cash c419fa3e78
Move documentation into separate doc directory and convert to markdown (#234)
* 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
2020-03-15 13:05:15 -05:00

788 B

Setup Base Image (Other)

  1. Login as administrator

  2. Set hostname

    hostname myNode
    
  3. Add admin user

    sudo useradd -p $(openssl passwd -1 bolt) -m -s /bin/bash admin
    sudo adduser admin sudo
    
  4. Update OS

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

    sudo apt-get -y install tmux
    
  6. Reboot

    sudo reboot
    
  7. Log back in as admin

  8. Delete default users for your specific device (if any)

    # For example:
    # sudo deluser pi
    # sudo rm -rf /home/pi
    
  9. Sync

    sync
    
  10. Make image now (if imaging)

    Final results:

    • Image with SSH access
    • Root user disabled
    • Default user admin with password bolt