2017年8月21日 星期一

Raspberry Pi 3 Installation Guide ARM Java Firefox Wifi Minoconda Python

CentOS-Userland-7-armv7hl-Minimal-1611-RaspberryPi3.img.xz 2016-12-09 10:12 312M
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

install firefox
sudo yum install bzip2
cd /usr/local
wget http://ftp.mozilla.org/pub/firefox/releases/55.0/linux-x86_64/en-US/firefox-55.0.tar.bz2
tar xvjf firefox-55.0.tar.bz2

沒有留言:

張貼留言

2007 to 2023 HP and Dell Servers Comparison

  HP Gen5 to Gen11  using ChatGPT HP ProLiant Gen Active Years CPU Socket Popular HP CPUs Cores Base Clock Max RAM Capacity Comparable Dell ...