Created
July 28, 2013 16:56
-
-
Save aaronmelton/6099259 to your computer and use it in GitHub Desktop.
VERY basic script I wrote to automate setup of a Raspbian Desktop for Ham Radio operations.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# Raspbian4HamRadio.sh 1.01 | |
# Aaron Melton <aaron(at)aaronmelton(dot)com> de KK4LOV | |
# | |
# | |
# | |
# Before we get busy customizing our box, let's make sure all the base packages | |
# are up-to-date. | |
# Update the repository cache to make sure we get the latest package versions | |
apt-get update | |
# | |
# | |
# Upgrade EVERYTHING. '-y' switch disables [Y/n] prompt | |
apt-get -y dist-upgrade | |
# | |
# | |
# Install some 'nice-to-have' packages that make linux life easier | |
apt-get install -y --no-install-recommends build-essential curl sudo | |
# | |
# | |
# Install sound drivers & utilities | |
apt-get install -y --no-install-recommends alsa-base alsa-utils | |
# | |
# | |
# Install X-server, LXDE window manager, Midori browser | |
apt-get install -y --no-install-recommends lxde midori xorg | |
# | |
# | |
# Install HamLib for rig control | |
apt-get install -y --no-install-recommends libhamlib-utils | |
# | |
# | |
# Install Portaudio, FLDIGI | |
apt-get install -y --no-install-recommends libportaudio2 fldigi | |
# | |
# | |
# Install xlog | |
apt-get install -y --no-install-recommends xlog | |
# | |
# | |
# Install TrustedQSL for Logbook of the World (LoTW) | |
apt-get install -y --no-install-recommends trustedqsl | |
# | |
# | |
# Install custom Raspberry Pi MOTD upon login | |
wget https://gist.github.com/aaronmelton/6099204/raw/607b279dbfa6fc2c05fb66c9af7e00264558981d/RaspberryPi.bash_profile -O /tmp/RaspberryPi.bash_profile | |
cp /tmp/RaspberryPi.bash_profile /etc/skel/.bash_profile | |
cp /tmp/RaspberryPi.bash_profile ~/.bash_profile | |
# | |
# | |
# Comment out any unwanted configuration changes by putting a '#' at the | |
# beginning of the line. Uncomment any lines to incorporate those changes. | |
# | |
# adduser YourUserName | |
# adduser YourUserName sudo | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment