1. Download image from URL: https://downloads.raspberrypi.org/raspbian_lite_latest
2. Using win32 Disk Image program, write the 2019-06-20-raspbian-buster-full.img to the mini-sd card.
3. Raspbian stretch Lite default login Linux users. User management in Raspbian is done on the command line.
The default
user is pi , and the
password is raspberry .
You can add users and change each user's password.
4. install ssh
$ sudo apt-get install openssh-server openssh-client
5. Alternatively, use systemctl to start the service
$ sudo systemctl enable ssh
$ sudo systemctl start sshapt-get
6. Add user malex
$ sudo adduser malex
7. Add malex as sudoers
$ sudo vi /etc/sudoers
add:
malex ALL=(ALL:ALL) ALL
8. passwordless ssh
$ sudo ls -al ~/.ssh/id_*.pub
$ sudo ssh-keygen -t rsa -b 4096 -C "azmadriaga@gmail.com"
$ sudo ssh-copy-id malex@192.168.1.100
9. sudo apt-get install nmap
10. sudo apt-get install xrdp
No comments:
Post a Comment