Skip to content

Instantly share code, notes, and snippets.

@Domin8-IPTV
Created June 1, 2018 20:02
Show Gist options
  • Save Domin8-IPTV/fc9c50f987471f9459c67d17805ac725 to your computer and use it in GitHub Desktop.
Save Domin8-IPTV/fc9c50f987471f9459c67d17805ac725 to your computer and use it in GitHub Desktop.
#!/bin/bash
# xbmc movies
sudo su
apt-get update
apt-get install apache2 libapache2-mod-php php-imagick php-cli php-sqlite3 php-json php-mbstring git curl unzip
a2dismod mpm_event
a2enmod rewrite expires php7.0 mpm_prefork
service apache2 restart
cd /var/www/html
git clone git://github.com/Jalle19/xbmc-video-server.git
cd xbmc-video-server
curl -sS https://getcomposer.org/installer | php
php composer.phar install
php ./src/protected/yiic.php createinitialdatabase
php ./src/protected/yiic.php setpermissions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment