Win32 Disk Imager
put card to rpi3 connecting to router
router check rpi3 ip address
connect to rpi3
ssh root@192.168.31.90
centos
yum -y update
check disk space only has 2GB
fdisk -l
df -h
roots-expand
/usr/local/bin/rootfs-expand
install wifi
curl --location https://github.com/RPi-Distro/firmware-nonfree/raw/master/brcm80211/brcm/brcmfmac43430-sdio.bin> /usr/lib/firmware/brcm/brcmfmac43430-sdio.bin
curl --location https://github.com/RPi-Distro/firmware-nonfree/raw/master/brcm80211/brcm/brcmfmac43430-sdio.txt > /usr/lib/firmware/brcm/brcmfmac43430-sdio.txt
systemctl reboot
ip addr | grep wlan
ntp
yum -y install ntp
timedatectl set-ntp yes
set time zone
timedatectl list-timezones | grep "Asia"
timedatectl set-timezone "Asia/Hong_Kong"
set locale
localectl list-locales | grep "en"
localectl set-locale LANG="en_US.UTF-8" LC_CTYPE="en_US"
localectl
set autocomplete
yum install -y bash-completion
setup wifi
ip addr show
nmcli connection show
nmtui
activate using device "wlan0"
install jdk 8
wget --no-check-certificate --no-cookies --header "Cookie: oraclelicense=accept-securebackup-cookie" http://download.oracle.com/otn-pub/java/jdk/8u144-b01/090f390dda5b47b9b721c7dfaa008135/jdk-8u144-linux-arm32-vfp-hflt.tar.gz
tar -zxvf jdk-8u144-linux-arm32-vfp-hflt.tar.gz -C /usr/local/java
export JAVA_HOME=/usr/local/java export PATH=$JAVA_HOME/bin:$PATH
sudo vi /etc/profile.d/java.sh
export JAVA_HOME=/usr/local/java/jdk1.8.0_144
export PATH=$JAVA_HOME/bin:$PATH
java -verson
Minoconda Python 2.7.5
wget https://repo.continuum.io/miniconda/Miniconda-latest-Linux-armv7l.sh
chmod +x Miniconda-latest-Linux-armv7l.sh
./Miniconda-latest-Linux-armv7l.sh
ctrl+F, yes
/home/leungric/miniconda
sudo nano ~/.bashrc
# added by Miniconda 3.16.0 installer
export PATH="/home/leungric/miniconda/bin:$PATH"
python --version
conda install anaconda-client
asd
python --version
asd
install firefox
sudo yum install bzip2
cd /usr/local
tar xvjf firefox-55.0.tar.bz2
沒有留言:
張貼留言