Posts

Showing posts from October, 2017

Testing Moodle on Debian 9

So I bought a Raspberry Pie and put Debian 9 on it so that I can play around with it as a home server. Currently I am configuring Moodle on it, so here are my notes: Debian 9 (stretch) has 2.7.17 in the repositories. This is fairly old, so I will be installing the git version instead. First: sudo apt-get update Second: sudo apt-get install apache2 mysql-client mysql-server php7.0 libapache2-mod-php7.0 Third: sudo apt-get install graphviz aspell php7.0-pspell php7.0-curl php7.0-gd php7.0-intl php7.0-mysql php7.0-xml php7.0-xmlrpc php7.0-ldap php7.0-zip php7.0-soap php7.0-mbstring Forth: sudo service apache2 restart Fifth: sudo apt-get install git-core Sixth: cd /opt Seventh: sudo git clone git://git.moodle.org/moodle.git Eighth: cd moodle Ninth: sudo git branch -a Since the guide I'm following is installing Moodle 3.1, and I don't want any incompatibilities, this is what I will be installing as well. 10th: sudo git branch --track MO

Setting Up Mopidy, Ncmpcpp, and Spotify on Debian Buster (Updated)

  In Debian Buster, the main thing that caused me problems was that I had mpd installed, and it caused havic with, but once I uninstalled it, things started working. Here is the breakdown of what I did: Add the archive’s GPG key:   wget - q - O - https : // apt . mopidy . com / mopidy . gpg | sudo apt - key add -   Add the APT repo to your package sources:   sudo wget - q - O / etc / apt / sources . list . d / mopidy . list https : // apt . mopidy . com /buster . list   Install Mopidy and all dependencies:     sudo apt-get update sudo apt-get install mopidy ncmpcpp mopidy-mpd mopidy-spotify There are two configuration files that need to be adjusted.  First, there is the Mopidy configuration file : ~ /.config/mopidy/mopidy.conf Here is my configuration file: [logging] color = true console_format = %(levelname)-8s %(message)s debug_format = %(levelname)-8s %(asctime)s [%(process)d:%(threadName)s] %(name)s\n  %(message)s debug_file = mopidy.log co