Ubuntu22.04-setup

  1. Create an Ubuntu live usb

    • Create it from Ubuntu: use the startup disk creator tool provided by Ubuntu

    • Create it from Mac: https://ubuntu.com/tutorials/create-a-usb-stick-on-macos

    • Sometimes after reinstallation and restart, the grub2 may get wrong. If this happens, follow the following instruction.

      You need to ensure (hd0,msdos1)/boot/grub exists before running the following commands; sometimes grub could be in other places, e.g., (hd0,msdos5)/boot/grub

      grub> ls (hd0,msdos1)/
      grub> set boot=(hd0,msdos1)
      grub> set prefix=(hd0,msdos1)/boot/grub
      grub> insmod normal
      grub> normal
      

      Sometimes may need to change BIOS boot loader sequence.

  2. Setup Network

  3. Install Google Chrome

  4. Install openssh-server and enable ssh connection

    sudo apt install openssh-server
    /etc/init.d/ssh restart
    
  5. Install and setup screen

  6. Install Lambda stack

  7. Sync with Google Drive via Insync

  8. Install KeepassX

    sudo apt install keepass2
    
  9. Install git

    sudo apt install git
    
  10. Install and setup vim

    sudo apt install vim
    
  11. Install build-essential

    sudo apt install build-essential
    
  12. Install Python3 and alias Python to Python3

    • Python3 is likely installed by default. Check it before installation.
  13. Install and setup pyenv

  14. Install PyTorch and Tensorflow in pyenv and verify GPU utilization

  15. Install and setup git and GitHub

  16. Install 嘸蝦米

  17. Install pycharm-professional

    sudo snap install pycharm-professional --classic
    
  18. Install VS code

    sudo snap install --classic code
    
  19. Install InkScape

    sudo apt install inkscape
    
  20. Use Software updater to update packages

  21. Setup printer

  22. Enable remote desktop