passwd root
apt-get update
apt-get upgrade
apt-get dist-upgrade
apt autoremove
reboot
apt-get install nano mariadb-server apache2 open-iscsi
nano /etc/apt/sources.list.d/webmin.list
deb http://download.webmin.com/download/repository sarge contrib
deb http://download.webmin.com/download/repository sarge contrib
wget http://www.webmin.com/jcameron-key.asc
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 = 10.0.1.10
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
wget https://github.com/MythTV/mythtv/raw/master/mythtv/programs/scripts/database/mythconverg_restore.pl
chmod a+x mythconverg_restore.pl
(Use Webmin to copy MythTV database backup to root folder)
./mythconverg_restore.pl –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
reboot
mythtv-setup
service mythtv-backend start
mythmetadatalookup –refresh-all-rules
mythmetadatalookup –refresh-all
mythmetadatalookup –refresh-all-artwork