Setting Up MythTV on an Odroid C2

passwd root
apt-get update
apt-get upgrade
apt-get dist-upgrade
apt autoremove
apt-get install nano mariadb-server apache2 open-iscsi
nano /etc/apt/sources.list.d/webmin.list

deb sarge contrib
deb sarge contrib

apt-key add jcameron-key.asc
apt-get update
apt-get install webmin

(Set Time Zone in Webmin)
nano /etc/mysql/mariadb.conf.d/50-server.cnf

bind-address =

service mysql start
nano /etc/iscsi/iscsid.conf

node.startup = automatic

/etc/init.d/open-iscsi restart
iscsiadm -m discovery -t st -p X.X.X.X (where X.X.X.X is the IP address of your iSCSI target)
iscsiadm -m node
/etc/init.d/open-iscsi restart
add-apt-repository ppa:mythbuntu/0.28
apt-get update
apt-get install mythtv mythweb
service ntp start
chmod a+x
(Use Webmin to copy MythTV database backup to root folder)
./ –drop_database –create_database –directory /root –filename mythconverg-1317-20170223222314.sql.gz
nano /etc/php/7.0/apache2/php.ini

max_input_vars = 100000

mkdir /recordings
chown mythtv:mythtv /recordings
chmod 777 /recordings
nano /etc/fstab

/dev/sdX1   /recordings   ext4   defaults,auto,_netdev   0   0

service mythtv-backend start
mythmetadatalookup –refresh-all-rules
mythmetadatalookup –refresh-all
mythmetadatalookup –refresh-all-artwork

Leave a Reply

Your email address will not be published. Required fields are marked *