1. System Installation
1.1. Download Ubuntu-mate Image: https://ubuntu-mate.org/raspberry-pi/
Download SDFORMATTERV4: https://www.sdcard.org/downloads/formatter_4/
Download win32diskimager:https://sourceforge.net/projects/win32diskimager/
1.2. Prepare a TF card greater than 8GB, using SDFORMATTERV4 format TF
1.3. Write Ubuntu-mate Mirror (ubuntu-mate-16.04-desktop-armhf-raspberry-pi.img) into TF using Win32diskimager
2, System Configuration 2.1, modify the file system size
Input sudo fdisk/dev/mmcblk0
Enter D carriage return
Enter 2 return car
Enter N return
Enter P return
Enter 2 return car
Enter Carriage Return W Enter
Then restart the system and enter sudo resize2fs/dev/mmcblk0p2
Reboot the system again
2.2. Set up network file sharing
2.2.1, installing Samba
sudo Install Samba sudo Install smbclient
2.2.2, configuring Samba
sudo nano/etc/samba/smb.conf
Add at the end of the file:
[Share]comment= This is theLinux share directorypath=/home/public =yeswritable=yes
Save Ctrl+o Exit Ctrl+x
2.2.3, start Samba service:
sudo /etc/init.d/samba restart
To access the shared directory under Windows:
\\192.168.1.102\share
2.3. Setting up VNC remote control
2.3.1, installation Tightvncserver
sudo Install Tightvncserver
2.3.2, setting the password
vncpasswd
2.3.3, set boot from boot
sudo nano/etc/init.d/tightvncserver
Input:
#!/bin/SH# # # BEGIN INIT info# provides:tightvncserver# Required-Start: $local _fs# Required-Stop: $local _fs# Default-start:2 3 4 5# Default-stop:0 1 6# Short-description:start/Stop tightvncserver### END INIT INFO # More details see:# http://Www.penguintutor.com/linux/tightvnc# # Customize This entry# Set the user variable to the name of the user to start Tightvncserver underexport user='Pi'# # # END Customization required eval CD~$USER Case " $" inchStart ) # starts the command line. Customize the resolution, console number, or other parameters here. su$USER-C'/usr/bin/tightvncserver-depth 16-geometry 960x600:1' Echo "starting TightVNC server for $USER" ;; Stop) # terminates the command line. Here the console number is consistent with the start. su$USER-C'/usr/bin/tightvncserver-kill:1' Echo "Tightvncserver stopped" ;; *) Echo "Usage:/etc/init.d/tightvncserver {start|stop}"Exit1 ;;EsacExit0
Save Ctrl+o Exit Ctrl+x
2.3.4, set file permissions, update the boot from startup list
sudo chmod 777 /etc/init.d/tightvncserversudo update-rc.d tightvncserver defaults
2.3.5, on Windows or Android VNC Client connection: 192.168.1.102:5901 can
2.4. Setting up Windows Remote Desktop
2.4.1, installation XRDP
sudo Install XRDP
2.4.2, Windows side use Mstsc.exe connection can
2.5. Install Input Method
2.5.1, installation IBUs
sudo Install IBUs sudo Install Ibus-pinyin
2.5.2, setting IBus Input Method: System settings, language support, keyboard input system changed to IBus
2.6. Update
sudo apt-get updatesudo apt-get upgrade
sudo rpi-update
Raspberry Pi 3B Installation ubuntu-mate notes