Back

Raspbian studying note

hilaolu

hilaolu

May 25, 2018

Switch to USTC Mirror

sudo sed -i 's|raspbian.raspberrypi.org|mirrors.ustc.edu.cn/raspbian|g' /etc/apt/sources.list
sudo sed -i 's|archive.raspberrypi.org|mirrors.ustc.edu.cn/archive.raspberrypi.org|g' /etc/apt/sources.list.d/raspi.list

Modify Graphics Memory

raspi-config

Modify Swap

nano /etc/dphys-swapfile

Change CONF_SWAPSIZE ,then

/etc/init.d/dphys-swapfile restart

Install Oracle JDK

apt install oracle-java8-jdk -y

Change Kernel

rpi-update
Comment has been closed