Last Issue Review:Getting Started with Raspberry Pi 3: A Quick Trial
The Raspberry Pi is successfully installed and booting normally is just the first step of a long journey. To enhance the user’s experience, the system needs to be configured and tools installed. As the saying goes, “To do a good job, one must first sharpen one’s tools.” 1. Change Password The Raspbian operating system automatically logs in a user named pi with the default password raspberry. Press CTRL+Alt+T to open the Linux terminal, and a black window will pop up displaying the prompt pi@raspberry. Use the passwd command to change the password to something familiar. First, enter the current UNIX password, which is the default password raspberry, and then enter the new password.
2. Get System Information The Raspbian operating system comes pre-installed with many system programming tools. Use the command gcc -v to check the gcc version and uname -a to get the kernel information.
Many programming environments are built-in, such as Java, python2&3, Scratch, etc.
3. Install Vim I prefer using vim, so I installed it with sudo apt-get install vim. 4. Use PuTTY for SSH Login Enter the command ifconfig in the Raspberry Pi terminal to check the IP information of eth0. Download PuTTY on Windows, set the IP information, and log into the Raspberry Pi via SSH.
When you see login as: enter the username, and then for password:, enter the password. If validated successfully, you will log in via PuTTY.
5. Change Software Sources Software installation often fails, and using –fix-missing doesn’t help. I looked at methods shared by others on the forum. To facilitate future software installations, I changed to a domestic mirror source, using Tsinghua University’s TUNA mirror site, address: https://mirrors.tuna.tsinghua.edu.cn/help/raspbian/. Backup the original source and modify it. Use sudo vim /etc/apt/sources.list to enter insert mode by pressing i, copy the address below, and paste it in PuTTY by right-clicking. Press ESC, then : to enter command mode and type wq to save and exit. deb http://mirrors.tuna.tsinghua.edu.cn/raspbian/raspbian/ jessie main non-free contrib deb-src http://mirrors.tuna.tsinghua.edu.cn/raspbian/raspbian/ jessie main non-free contrib
Then update the system software source information with sudo apt-get update.
6. Install VNC Server Install the remote desktop VNC server with sudo apt-get install tightvncserver. After installation, run tightvncserver, which will ask for a control password, and optionally enter a view-only password. The view-only password can only be used for viewing the desktop, while the control password allows you to operate the desktop. Download and install the VNC client on Windows for easy remote desktop login to the Raspberry Pi. The address is https://www.realvnc.com/download/vnc/. Set the VNC server address to Raspberry Pi IP:1 and click connect.
7. Install FTP Server. Enter the command sudo apt-get install vsftpd in the terminal. On Windows, enter the IP to log in successfully and retrieve screenshots from scrot via FTP.
Welcome to click to read the original text and communicate with the author.
Follow EEWORLD (Electronic Engineering World) WeChat public account: reply “submission”, your original work will have the opportunity to appear in our WeChat push.
To communicate with more industry insiders, please click to read the original text to log into the EEWORLD forum.
![]()
WeChat ID: EEWORLD Forum Activities E 掌握
![]()
Follow EEWORLD Service Account EE Benefits at your fingertips
![]()
WeChat ID: EEXINRUI Chip Information Sharp Interpretation