Is production: true
#migrated #raspberry-pi

Title: How to setup raspbian on fresh install

Created: 24 May 2020 Modified: 24 May 2020

Description:



Instructions

  1. Setup hostname How to change server hostname

  2. Setup timezone How to change CentOS timezone

  3. Init environment

    git clone https://gogs.xethh.me/JtxcAFMs/configurations.git
    
    sudo su {user}
    cp .vimrc ~/
    
  4. Add extra user {user} disallow pi ssh, pi user name is relative easy to guess

    adduser {user}
    sudo usermod ru20mixm -a -G sudo
    
    #del below files to ensure every is neccessary to type password be sudo
    #Shoud contains code like "pi ALL=(ALL) NOPASSWD:ALL"
    rm /etc/sudoers.d/010-pi_nopassword
    
  5. Secure ssh and public key Secure ssh configuration Use public/private key for authentication How to add google authenticator to ssh [ubuntu]

[Legacy Link]