User Tools

Site Tools


tech:rpi:start

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
tech:rpi:start [2017/12/27 20:20]
rk4n3
tech:rpi:start [2018/12/10 18:14] (current)
rk4n3
Line 1: Line 1:
 +<typo fs:​xx-large;​ fw: bold;>​Raspberry Pi</​typo>​
 +====== RaspEX ======
 +===== Installation =====
 +  * Write image onto MicroSD
 +  * Boot, take note of MAC addresses and add to LAN DHCP/DNS accordingly
 +  * Run the ''​resize_rootfs.sh''​ script as ''​root''​ (its in ''/​root''​)
 +  * Change hostname (in both ''/​etc/​hostname''​ and ''/​etc/​hosts''​) and reboot
 +===== Initialization Tips & Tricks =====
 +==== Date/Time ====
 +  * Set timezone: ''​dpkg-reconfigure tzdata''​
 +  * Calibrate date/​time: ​ ''​ntpdate us.pool.ntp.org''​
 +  * Edit ''/​etc/​ntp.conf''​ and start NTPD with ''/​etc/​init.d/​ntp start''​
 +==== Migrate user(s) ====
 +  * Create desired login(s)<​code>​groupadd -g 1xx0 yourgroup
 +useradd -u 1xx0 -g 1xx0 -d /​home/​yourlogin -s /bin/bash -c "Your Name" -m yourlogin</​code>​
 +  * Add login(s) to groups (use ''​id -a raspex''​ to identify list of groups needed for admin login)<​code>​usermod -a -G list,​of,​group,​names yourlogin
 +</​code>​
 +  * Add login to ''/​etc/​sudoers''​
 +  * Delete default user: ''​deluser raspex ; rm -rf /​home/​raspex''​
 +==== Disable Auto-Login ====
 +Edit ''/​etc/​slim.conf''​ and change the ''​auto_login''​ value to ''​no''​ \\
 +==== Details ... ====
 +  * Wallpaper location: ​ ''/​usr/​share/​images/​bunsen/​wallpapers/​default''​
 +  * Disable conky: ​ ''​apt remove --purge conky conky-all''​
 +==== Packages ====
 +  * ''​apt install xscreensaver''​
 +  * ''​apt install git''​
 +
 ====== Notes ====== ====== Notes ======
 ===== Basic Installation ===== ===== Basic Installation =====
Line 31: Line 59:
   * Configure gpu_mem=256 using ''​raspi-config''​   * Configure gpu_mem=256 using ''​raspi-config''​
   * Configure this to be run at each boot (put in ''/​etc/​rc.local''​):<​code>​echo "​performance"​ | /​usr/​bin/​tee /​sys/​devices/​system/​cpu/​cpu0/​cpufreq/​scaling_governor</​code>​   * Configure this to be run at each boot (put in ''/​etc/​rc.local''​):<​code>​echo "​performance"​ | /​usr/​bin/​tee /​sys/​devices/​system/​cpu/​cpu0/​cpufreq/​scaling_governor</​code>​
 +  * Disable pulseaudio
 +    * In ''/​etc/​pulse/​client.conf''​ set ''​autospawn=no''​ and ''​daemon-binary=/​bin/​true''​
   * Install MythTV Light per instructions at [[https://​www.mythtv.org/​wiki/​MythTV_Light]]   * Install MythTV Light per instructions at [[https://​www.mythtv.org/​wiki/​MythTV_Light]]
     * In ''/​etc/​apt/​sources.list''​ add a line like:<​code>​deb http://​dl.bintray.com/​bennettpeter/​deb stretch myth28</​code>​     * In ''/​etc/​apt/​sources.list''​ add a line like:<​code>​deb http://​dl.bintray.com/​bennettpeter/​deb stretch myth28</​code>​
tech/rpi/start.1514427646.txt.gz ยท Last modified: 2017/12/27 20:20 by rk4n3