Skip to content

Instantly share code, notes, and snippets.

@gairys
Forked from arudmin/rpi.sh
Created June 8, 2019 17:45
Show Gist options
  • Save gairys/bc3e4149b7389ceaad68af39430639c3 to your computer and use it in GitHub Desktop.
Save gairys/bc3e4149b7389ceaad68af39430639c3 to your computer and use it in GitHub Desktop.

Revisions

  1. @arudmin arudmin revised this gist Aug 16, 2014. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions rpi.sh
    Original file line number Diff line number Diff line change
    @@ -2,6 +2,7 @@
    echo "RASPBERRY PI UPDATING SCRIPT STARTED"

    # Nginx Repo Add
    sudo hostname -v pi
    sudo localedef en_US.UTF-8 -i en_US -fUTF-8
    sudo echo 'deb http://nginx.org/packages/debian/ wheezy nginx
    deb-src http://nginx.org/packages/debian/ wheezy nginx' >> /etc/apt/sources.list
  2. @arudmin arudmin revised this gist Aug 16, 2014. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion rpi.sh
    Original file line number Diff line number Diff line change
    @@ -17,7 +17,7 @@ sudo aptitude dist-upgrade -y
    sudo aptitude install -y git npm htop iftop iotop telnet dstat screen runit chkconfig \
    gcc g++ make autoconf avahi-utils build-essential chkconfig libao-dev mutt isc-dhcp-server \
    libavahi-client-dev libcrypt-openssl-rsa-perl libio-socket-inet6-perl libjpeg8-dev \
    libssl-dev libwww-perl pkg-config matchbox ttf-mscorefonts-installer xwit \
    libssl-dev libwww-perl pkg-config matchbox ttf-mscorefonts-installer xwit python-setuptools\
    sqlite3 libnss3 ruby make gcc binutils cups libasound2-dev libavahi-client-dev \
    libxml2-dev libxslt-dev python-dev python-lxml python-html5lib python-bs4 librsvg2-dev \
    python-rsvg heroku fswebcam
  3. @arudmin arudmin revised this gist Aug 16, 2014. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion rpi.sh
    Original file line number Diff line number Diff line change
    @@ -16,7 +16,7 @@ sudo aptitude dist-upgrade -y

    sudo aptitude install -y git npm htop iftop iotop telnet dstat screen runit chkconfig \
    gcc g++ make autoconf avahi-utils build-essential chkconfig libao-dev mutt isc-dhcp-server \
    libavahi-client-dev libcrypt-openssl-rsa-perl libio-socket-inet6-perl \
    libavahi-client-dev libcrypt-openssl-rsa-perl libio-socket-inet6-perl libjpeg8-dev \
    libssl-dev libwww-perl pkg-config matchbox ttf-mscorefonts-installer xwit \
    sqlite3 libnss3 ruby make gcc binutils cups libasound2-dev libavahi-client-dev \
    libxml2-dev libxslt-dev python-dev python-lxml python-html5lib python-bs4 librsvg2-dev \
  4. @arudmin arudmin revised this gist Aug 16, 2014. 1 changed file with 2 additions and 1 deletion.
    3 changes: 2 additions & 1 deletion rpi.sh
    Original file line number Diff line number Diff line change
    @@ -19,7 +19,8 @@ gcc g++ make autoconf avahi-utils build-essential chkconfig libao-dev mutt isc-d
    libavahi-client-dev libcrypt-openssl-rsa-perl libio-socket-inet6-perl \
    libssl-dev libwww-perl pkg-config matchbox ttf-mscorefonts-installer xwit \
    sqlite3 libnss3 ruby make gcc binutils cups libasound2-dev libavahi-client-dev \
    libxml2-dev libxslt-dev python-dev python-lxml python-html5lib python-bs4 librsvg2-dev python-rsvg \
    libxml2-dev libxslt-dev python-dev python-lxml python-html5lib python-bs4 librsvg2-dev \
    python-rsvg heroku fswebcam

    sudo easy_install pip
    sudo pip install virtualenv
  5. @arudmin arudmin revised this gist Aug 2, 2014. 1 changed file with 2 additions and 1 deletion.
    3 changes: 2 additions & 1 deletion rpi.sh
    Original file line number Diff line number Diff line change
    @@ -22,7 +22,8 @@ sqlite3 libnss3 ruby make gcc binutils cups libasound2-dev libavahi-client-dev \
    libxml2-dev libxslt-dev python-dev python-lxml python-html5lib python-bs4 librsvg2-dev python-rsvg \

    sudo easy_install pip
    sudo pip install virtualenv //pil html5lib sh lxml beautifulsoup4 tweepy config xively
    sudo pip install virtualenv
    #pil html5lib sh lxml beautifulsoup4 tweepy config xively


    ## PiJS.io
  6. @arudmin arudmin revised this gist Aug 2, 2014. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion rpi.sh
    Original file line number Diff line number Diff line change
    @@ -22,7 +22,7 @@ sqlite3 libnss3 ruby make gcc binutils cups libasound2-dev libavahi-client-dev \
    libxml2-dev libxslt-dev python-dev python-lxml python-html5lib python-bs4 librsvg2-dev python-rsvg \

    sudo easy_install pip
    sudo pip install pil html5lib sh lxml beautifulsoup4 tweepy config xively virtualenv
    sudo pip install virtualenv //pil html5lib sh lxml beautifulsoup4 tweepy config xively


    ## PiJS.io
  7. @arudmin arudmin revised this gist Aug 1, 2014. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion rpi.sh
    Original file line number Diff line number Diff line change
    @@ -6,7 +6,7 @@ sudo localedef en_US.UTF-8 -i en_US -fUTF-8
    sudo echo 'deb http://nginx.org/packages/debian/ wheezy nginx
    deb-src http://nginx.org/packages/debian/ wheezy nginx' >> /etc/apt/sources.list
    wget http://nginx.org/keys/nginx_signing.key
    sudo apt-key add nginx_signing.key
    sudo apt-key add nginx_signing.key && rm nginx_signing.key

    sudo aptitude remove -y wolfram-engine

  8. @arudmin arudmin revised this gist Jul 7, 2014. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions rpi.sh
    Original file line number Diff line number Diff line change
    @@ -2,6 +2,7 @@
    echo "RASPBERRY PI UPDATING SCRIPT STARTED"

    # Nginx Repo Add
    sudo localedef en_US.UTF-8 -i en_US -fUTF-8
    sudo echo 'deb http://nginx.org/packages/debian/ wheezy nginx
    deb-src http://nginx.org/packages/debian/ wheezy nginx' >> /etc/apt/sources.list
    wget http://nginx.org/keys/nginx_signing.key
  9. @arudmin arudmin revised this gist Jul 6, 2014. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion rpi.sh
    Original file line number Diff line number Diff line change
    @@ -14,7 +14,7 @@ sudo aptitude upgrade -y
    sudo aptitude dist-upgrade -y

    sudo aptitude install -y git npm htop iftop iotop telnet dstat screen runit chkconfig \
    gcc g++ make autoconf avahi-utils build-essential chkconfig libao-dev mutt \
    gcc g++ make autoconf avahi-utils build-essential chkconfig libao-dev mutt isc-dhcp-server \
    libavahi-client-dev libcrypt-openssl-rsa-perl libio-socket-inet6-perl \
    libssl-dev libwww-perl pkg-config matchbox ttf-mscorefonts-installer xwit \
    sqlite3 libnss3 ruby make gcc binutils cups libasound2-dev libavahi-client-dev \
  10. @arudmin arudmin revised this gist Jun 3, 2014. 1 changed file with 3 additions and 2 deletions.
    5 changes: 3 additions & 2 deletions rpi.sh
    Original file line number Diff line number Diff line change
    @@ -14,13 +14,14 @@ sudo aptitude upgrade -y
    sudo aptitude dist-upgrade -y

    sudo aptitude install -y git npm htop iftop iotop telnet dstat screen runit chkconfig \
    gcc g++ make autoconf avahi-utils build-essential chkconfig libao-dev \
    gcc g++ make autoconf avahi-utils build-essential chkconfig libao-dev mutt \
    libavahi-client-dev libcrypt-openssl-rsa-perl libio-socket-inet6-perl \
    libssl-dev libwww-perl pkg-config matchbox ttf-mscorefonts-installer xwit \
    sqlite3 libnss3 ruby make gcc binutils cups libasound2-dev libavahi-client-dev \
    libxml2-dev libxslt-dev python-dev python-lxml python-html5lib python-bs4 librsvg2-dev python-rsvg \

    # pip install pil html5lib sh lxml beautifulsoup4
    sudo easy_install pip
    sudo pip install pil html5lib sh lxml beautifulsoup4 tweepy config xively virtualenv


    ## PiJS.io
  11. @arudmin arudmin revised this gist Jun 3, 2014. 1 changed file with 3 additions and 3 deletions.
    6 changes: 3 additions & 3 deletions rpi.sh
    Original file line number Diff line number Diff line change
    @@ -14,13 +14,13 @@ sudo aptitude upgrade -y
    sudo aptitude dist-upgrade -y

    sudo aptitude install -y git npm htop iftop iotop telnet dstat screen runit chkconfig \
    gcc g++ make autoconf avahi-utils build-essential chkconfig scgit \
    libao-dev libavahi-client-dev libcrypt-openssl-rsa-perl libio-socket-inet6-perl \
    gcc g++ make autoconf avahi-utils build-essential chkconfig libao-dev \
    libavahi-client-dev libcrypt-openssl-rsa-perl libio-socket-inet6-perl \
    libssl-dev libwww-perl pkg-config matchbox ttf-mscorefonts-installer xwit \
    sqlite3 libnss3 ruby make gcc binutils cups libasound2-dev libavahi-client-dev \
    libxml2-dev libxslt-dev python-dev python-lxml python-html5lib python-bs4 librsvg2-dev python-rsvg \

    # pip install pil html5lib sh lxml
    # pip install pil html5lib sh lxml beautifulsoup4


    ## PiJS.io
  12. @arudmin arudmin revised this gist Jun 3, 2014. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion rpi.sh
    Original file line number Diff line number Diff line change
    @@ -14,7 +14,7 @@ sudo aptitude upgrade -y
    sudo aptitude dist-upgrade -y

    sudo aptitude install -y git npm htop iftop iotop telnet dstat screen runit chkconfig \
    gcc g++ make autoconf avahi-utils build-essential chkconfig git \
    gcc g++ make autoconf avahi-utils build-essential chkconfig scgit \
    libao-dev libavahi-client-dev libcrypt-openssl-rsa-perl libio-socket-inet6-perl \
    libssl-dev libwww-perl pkg-config matchbox ttf-mscorefonts-installer xwit \
    sqlite3 libnss3 ruby make gcc binutils cups libasound2-dev libavahi-client-dev \
  13. @arudmin arudmin revised this gist Jun 3, 2014. 1 changed file with 4 additions and 0 deletions.
    4 changes: 4 additions & 0 deletions rpi.sh
    Original file line number Diff line number Diff line change
    @@ -1,9 +1,13 @@
    #!/bin/bash
    echo "RASPBERRY PI UPDATING SCRIPT STARTED"

    # Nginx Repo Add
    sudo echo 'deb http://nginx.org/packages/debian/ wheezy nginx
    deb-src http://nginx.org/packages/debian/ wheezy nginx' >> /etc/apt/sources.list
    wget http://nginx.org/keys/nginx_signing.key
    sudo apt-key add nginx_signing.key

    sudo aptitude remove -y wolfram-engine

    sudo aptitude update -y
    sudo aptitude upgrade -y
  14. @arudmin arudmin revised this gist Jun 3, 2014. 1 changed file with 5 additions and 0 deletions.
    5 changes: 5 additions & 0 deletions rpi.sh
    Original file line number Diff line number Diff line change
    @@ -1,5 +1,10 @@
    #!/bin/bash
    echo "RASPBERRY PI UPDATING SCRIPT STARTED"

    sudo echo 'deb http://nginx.org/packages/debian/ wheezy nginx
    deb-src http://nginx.org/packages/debian/ wheezy nginx' >> /etc/apt/sources.list


    sudo aptitude update -y
    sudo aptitude upgrade -y
    sudo aptitude dist-upgrade -y
  15. @arudmin arudmin revised this gist Jun 3, 2014. 1 changed file with 2 additions and 1 deletion.
    3 changes: 2 additions & 1 deletion rpi.sh
    Original file line number Diff line number Diff line change
    @@ -44,7 +44,8 @@ sudo mv shairport/ /usr/local/shairport/

    ## Time Capsule
    ## Manual ## http://www.zisoft.de/elektronik/raspberrypi/timecapsule.html
    #sudo aptitude install -y hfsplus hfsutils hfsprogs avahi-daemon libavahi-client-dev libdb5.3-dev db-util db5.3-util libgcrypt11 libgcrypt11-dev
    # sudo aptitude install -y hfsplus hfsutils hfsprogs avahi-daemon libavahi-client-dev libdb5.3-dev db-util db5.3-util libgcrypt11 libgcrypt11-dev
    # wget http://downloads.sourceforge.net/project/netatalk/netatalk/3.1.1/netatalk-3.1.1.tar.bz2

    #UUID=`sudo blkid | awk -F "\"" ' /'hfsplus'/ {print $2} '`
    #SDA_path=`sudo blkid | awk -F ":" ' /'hfsplus'/ {print $1} '`
  16. @arudmin arudmin revised this gist Jun 3, 2014. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion rpi.sh
    Original file line number Diff line number Diff line change
    @@ -44,7 +44,7 @@ sudo mv shairport/ /usr/local/shairport/

    ## Time Capsule
    ## Manual ## http://www.zisoft.de/elektronik/raspberrypi/timecapsule.html
    #sudo aptitude install -y hfsplus hfsutils hfsprogs avahi-daemon libavahi-core-dev libdb5.3-dev db-util db5.3-util libgcrypt11 libgcrypt11-dev
    #sudo aptitude install -y hfsplus hfsutils hfsprogs avahi-daemon libavahi-client-dev libdb5.3-dev db-util db5.3-util libgcrypt11 libgcrypt11-dev

    #UUID=`sudo blkid | awk -F "\"" ' /'hfsplus'/ {print $2} '`
    #SDA_path=`sudo blkid | awk -F ":" ' /'hfsplus'/ {print $1} '`
  17. @arudmin arudmin revised this gist Jun 3, 2014. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion rpi.sh
    Original file line number Diff line number Diff line change
    @@ -44,7 +44,7 @@ sudo mv shairport/ /usr/local/shairport/

    ## Time Capsule
    ## Manual ## http://www.zisoft.de/elektronik/raspberrypi/timecapsule.html
    #sudo aptitude install -y hfsplus hfsutils hfsprogs avahi-daemon libavahi-client-dev libdb5.3-dev db-util db5.3-util libgcrypt11 libgcrypt11-dev
    #sudo aptitude install -y hfsplus hfsutils hfsprogs avahi-daemon libavahi-core-dev libdb5.3-dev db-util db5.3-util libgcrypt11 libgcrypt11-dev

    #UUID=`sudo blkid | awk -F "\"" ' /'hfsplus'/ {print $2} '`
    #SDA_path=`sudo blkid | awk -F ":" ' /'hfsplus'/ {print $1} '`
  18. @arudmin arudmin revised this gist Jun 3, 2014. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion rpi.sh
    Original file line number Diff line number Diff line change
    @@ -44,7 +44,7 @@ sudo mv shairport/ /usr/local/shairport/

    ## Time Capsule
    ## Manual ## http://www.zisoft.de/elektronik/raspberrypi/timecapsule.html
    #sudo aptitude install -y hfsplus hfsutils hfsprogs avahi-daemon \ libavahi-client-dev libdb5.3-dev db-util db5.3-util libgcrypt11 libgcrypt11-dev
    #sudo aptitude install -y hfsplus hfsutils hfsprogs avahi-daemon libavahi-client-dev libdb5.3-dev db-util db5.3-util libgcrypt11 libgcrypt11-dev

    #UUID=`sudo blkid | awk -F "\"" ' /'hfsplus'/ {print $2} '`
    #SDA_path=`sudo blkid | awk -F ":" ' /'hfsplus'/ {print $1} '`
  19. @arudmin arudmin revised this gist Jun 3, 2014. 1 changed file with 1 addition and 2 deletions.
    3 changes: 1 addition & 2 deletions rpi.sh
    Original file line number Diff line number Diff line change
    @@ -44,8 +44,7 @@ sudo mv shairport/ /usr/local/shairport/

    ## Time Capsule
    ## Manual ## http://www.zisoft.de/elektronik/raspberrypi/timecapsule.html
    #sudo aptitude install -y hfsplus hfsutils hfsprogs avahi-daemon \
    #libavahi-client-dev libdb5.3-dev db-util db5.3-util libgcrypt11 libgcrypt11-dev
    #sudo aptitude install -y hfsplus hfsutils hfsprogs avahi-daemon \ libavahi-client-dev libdb5.3-dev db-util db5.3-util libgcrypt11 libgcrypt11-dev

    #UUID=`sudo blkid | awk -F "\"" ' /'hfsplus'/ {print $2} '`
    #SDA_path=`sudo blkid | awk -F ":" ' /'hfsplus'/ {print $1} '`
  20. @arudmin arudmin revised this gist Jun 1, 2014. 1 changed file with 2 additions and 0 deletions.
    2 changes: 2 additions & 0 deletions rpi.sh
    Original file line number Diff line number Diff line change
    @@ -11,6 +11,8 @@ libssl-dev libwww-perl pkg-config matchbox ttf-mscorefonts-installer xwit \
    sqlite3 libnss3 ruby make gcc binutils cups libasound2-dev libavahi-client-dev \
    libxml2-dev libxslt-dev python-dev python-lxml python-html5lib python-bs4 librsvg2-dev python-rsvg \

    # pip install pil html5lib sh lxml


    ## PiJS.io
    curl http://pijs.io/install-pijs.sh | bash
  21. @arudmin arudmin revised this gist May 31, 2014. 1 changed file with 2 additions and 1 deletion.
    3 changes: 2 additions & 1 deletion rpi.sh
    Original file line number Diff line number Diff line change
    @@ -9,7 +9,8 @@ gcc g++ make autoconf avahi-utils build-essential chkconfig git \
    libao-dev libavahi-client-dev libcrypt-openssl-rsa-perl libio-socket-inet6-perl \
    libssl-dev libwww-perl pkg-config matchbox ttf-mscorefonts-installer xwit \
    sqlite3 libnss3 ruby make gcc binutils cups libasound2-dev libavahi-client-dev \
    libxml2-dev libxslt-dev python-dev python-lxml python-html5lib python-bs4
    libxml2-dev libxslt-dev python-dev python-lxml python-html5lib python-bs4 librsvg2-dev python-rsvg \


    ## PiJS.io
    curl http://pijs.io/install-pijs.sh | bash
  22. @arudmin arudmin revised this gist May 30, 2014. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion rpi.sh
    Original file line number Diff line number Diff line change
    @@ -9,7 +9,7 @@ gcc g++ make autoconf avahi-utils build-essential chkconfig git \
    libao-dev libavahi-client-dev libcrypt-openssl-rsa-perl libio-socket-inet6-perl \
    libssl-dev libwww-perl pkg-config matchbox ttf-mscorefonts-installer xwit \
    sqlite3 libnss3 ruby make gcc binutils cups libasound2-dev libavahi-client-dev \
    libxml2-dev libxslt-dev python-dev python-lxml
    libxml2-dev libxslt-dev python-dev python-lxml python-html5lib python-bs4

    ## PiJS.io
    curl http://pijs.io/install-pijs.sh | bash
  23. @arudmin arudmin revised this gist May 30, 2014. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion rpi.sh
    Original file line number Diff line number Diff line change
    @@ -9,7 +9,7 @@ gcc g++ make autoconf avahi-utils build-essential chkconfig git \
    libao-dev libavahi-client-dev libcrypt-openssl-rsa-perl libio-socket-inet6-perl \
    libssl-dev libwww-perl pkg-config matchbox ttf-mscorefonts-installer xwit \
    sqlite3 libnss3 ruby make gcc binutils cups libasound2-dev libavahi-client-dev \
    libxml2-dev libxslt-dev python-dev
    libxml2-dev libxslt-dev python-dev python-lxml

    ## PiJS.io
    curl http://pijs.io/install-pijs.sh | bash
  24. @arudmin arudmin revised this gist May 29, 2014. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion rpi.sh
    Original file line number Diff line number Diff line change
    @@ -1,5 +1,5 @@
    #!/bin/bash
    echo "RASPBERRY PI UPDATING STARTED"
    echo "RASPBERRY PI UPDATING SCRIPT STARTED"
    sudo aptitude update -y
    sudo aptitude upgrade -y
    sudo aptitude dist-upgrade -y
  25. @arudmin arudmin revised this gist May 29, 2014. 1 changed file with 3 additions and 3 deletions.
    6 changes: 3 additions & 3 deletions rpi.sh
    Original file line number Diff line number Diff line change
    @@ -7,9 +7,9 @@ sudo aptitude dist-upgrade -y
    sudo aptitude install -y git npm htop iftop iotop telnet dstat screen runit chkconfig \
    gcc g++ make autoconf avahi-utils build-essential chkconfig git \
    libao-dev libavahi-client-dev libcrypt-openssl-rsa-perl libio-socket-inet6-perl \
    libssl-dev libwww-perl pkg-config matchbox \
    ttf-mscorefonts-installer xwit sqlite3 libnss3 ruby make gcc binutils cups \
    libasound2-dev libavahi-client-dev
    libssl-dev libwww-perl pkg-config matchbox ttf-mscorefonts-installer xwit \
    sqlite3 libnss3 ruby make gcc binutils cups libasound2-dev libavahi-client-dev \
    libxml2-dev libxslt-dev python-dev

    ## PiJS.io
    curl http://pijs.io/install-pijs.sh | bash
  26. @arudmin arudmin revised this gist May 22, 2014. 1 changed file with 3 additions and 0 deletions.
    3 changes: 3 additions & 0 deletions rpi.sh
    Original file line number Diff line number Diff line change
    @@ -36,6 +36,9 @@ sudo mv shairport/ /usr/local/shairport/
    #cd ..
    #rm -fR rubygems-1.8.24

    ## VPN
    ## MANUAL ## http://ablex.ru/2013/04/nastrojjka-vpn-servera-na-raspberry-pi/

    ## Time Capsule
    ## Manual ## http://www.zisoft.de/elektronik/raspberrypi/timecapsule.html
    #sudo aptitude install -y hfsplus hfsutils hfsprogs avahi-daemon \
  27. @arudmin arudmin revised this gist May 22, 2014. 1 changed file with 11 additions and 11 deletions.
    22 changes: 11 additions & 11 deletions rpi.sh
    Original file line number Diff line number Diff line change
    @@ -37,14 +37,14 @@ sudo mv shairport/ /usr/local/shairport/
    #rm -fR rubygems-1.8.24

    ## Time Capsule
    sudo aptitude install -y hfsplus hfsutils hfsprogs avahi-daemon \
    libavahi-client-dev libdb5.3-dev db-util db5.3-util libgcrypt11 libgcrypt11-dev

    UUID=`sudo blkid | awk -F "\"" ' /'hfsplus'/ {print $2} '`
    SDA_path=`sudo blkid | awk -F ":" ' /'hfsplus'/ {print $1} '`
    TC_path="/mnt/timecapsule"
    sudo mkdir $TC_path
    sudo mount -o force $SDA_path $TC_path
    echo "sudo nano /etc/fstab"
    sudo su -c 'echo "UUID=\"$UUID\" $TC_path hfsplus rw,force,exec,auto,users 0 3" >> /etc/fstab'

    ## Manual ## http://www.zisoft.de/elektronik/raspberrypi/timecapsule.html
    #sudo aptitude install -y hfsplus hfsutils hfsprogs avahi-daemon \
    #libavahi-client-dev libdb5.3-dev db-util db5.3-util libgcrypt11 libgcrypt11-dev

    #UUID=`sudo blkid | awk -F "\"" ' /'hfsplus'/ {print $2} '`
    #SDA_path=`sudo blkid | awk -F ":" ' /'hfsplus'/ {print $1} '`
    #TC_path="/mnt/timecapsule"
    #sudo mkdir $TC_path
    #sudo mount -o force $SDA_path $TC_path
    #echo "sudo nano /etc/fstab"
    #sudo su -c 'echo "UUID=\"$UUID\" $TC_path hfsplus rw,force,exec,auto,users 0 3" >> /etc/fstab'
  28. @arudmin arudmin revised this gist May 20, 2014. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion rpi.sh
    Original file line number Diff line number Diff line change
    @@ -46,5 +46,5 @@ TC_path="/mnt/timecapsule"
    sudo mkdir $TC_path
    sudo mount -o force $SDA_path $TC_path
    echo "sudo nano /etc/fstab"
    sudo echo "UUID=\"$UUID\" $TC_path hfsplus rw,force,exec,auto,users 0 3" >> /etc/fstab
    sudo su -c 'echo "UUID=\"$UUID\" $TC_path hfsplus rw,force,exec,auto,users 0 3" >> /etc/fstab'

  29. @arudmin arudmin revised this gist May 20, 2014. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion rpi.sh
    Original file line number Diff line number Diff line change
    @@ -9,7 +9,7 @@ gcc g++ make autoconf avahi-utils build-essential chkconfig git \
    libao-dev libavahi-client-dev libcrypt-openssl-rsa-perl libio-socket-inet6-perl \
    libssl-dev libwww-perl pkg-config matchbox \
    ttf-mscorefonts-installer xwit sqlite3 libnss3 ruby make gcc binutils cups \
    libasound2-dev libavahi-client-dev libssl-dev
    libasound2-dev libavahi-client-dev

    ## PiJS.io
    curl http://pijs.io/install-pijs.sh | bash
  30. @arudmin arudmin revised this gist May 20, 2014. 1 changed file with 2 additions and 1 deletion.
    3 changes: 2 additions & 1 deletion rpi.sh
    Original file line number Diff line number Diff line change
    @@ -7,7 +7,7 @@ sudo aptitude dist-upgrade -y
    sudo aptitude install -y git npm htop iftop iotop telnet dstat screen runit chkconfig \
    gcc g++ make autoconf avahi-utils build-essential chkconfig git \
    libao-dev libavahi-client-dev libcrypt-openssl-rsa-perl libio-socket-inet6-perl \
    libssl-dev libwww-perl pkg-config matchbox chromium x11-xserver-utils \
    libssl-dev libwww-perl pkg-config matchbox \
    ttf-mscorefonts-installer xwit sqlite3 libnss3 ruby make gcc binutils cups \
    libasound2-dev libavahi-client-dev libssl-dev

    @@ -24,6 +24,7 @@ sudo mv shairport/ /usr/local/shairport/
    #shairport -a 'Speakers'

    ## KIOSK MODE
    # sudo aptitude install -y chromium x11-xserver-utils
    # http://blogs.wcode.org/2013/09/howto-boot-your-raspberry-pi-into-a-fullscreen-browser-kiosk/

    ## RUBY and GEMs