-
Notifications
You must be signed in to change notification settings - Fork 39
Installation instructions (Linux)
This page contains instructions on how to install this application on Ubuntu 14.04 and Debian Wheezy. If you're using another version of the above or a different distribution altogether you'll eventually have to adapt them slightly. The instructions assume that your shell user is able to use the sudo
command.
Run the following commands, one by one, in the exact order shown here:
sudo su
apt-get install libapache2-mod-php5 php5-gd php5-cli php5-sqlite php5-json php5-gd git curl
a2enmod rewrite expires
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
./src/protected/yiic createinitialdatabase
./src/protected/yiic setpermissions
After running the commands above you'll have to add a few lines to Apache's default site configuration to allow .htaccess
files to be used. Open the file /etc/apache2/sites-available/000-default.conf
and add the following right before the last line (</VirtualHost>
):
<Directory /var/www/html/xbmc-video-server/>
Options FollowSymLinks
AllowOverride All
Require all granted
</Directory>
Finally, after saving the file you must restart Apache using service apache2 restart
for the changes to take effect.
Run the following commands, one by one, in the exact order shown here:
sudo su
apt-get install libapache2-mod-php5 php5-gd php5-cli php5-sqlite php5-json php5-gd git curl
a2enmod rewrite expires
service apache2 restart
cd /var/www
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
./src/protected/yiic createinitialdatabase
./src/protected/yiic setpermissions
After running the commands above you'll have to add a few lines to Apache's default site configuration to allow .htaccess
files to be used. Open the file /etc/apache2/sites-available/default
and add the following right before the last line (</VirtualHost>
):
<Directory /var/www/xbmc-video-server/>
Options FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>
Finally, after saving the file you must restart Apache using service apache2 restart
for the changes to take effect.
To update your copy of the software to the latest version, run the following commands inside the xbmc-video-server directory:
git pull
php composer.phar install
./src/protected/yiic migrate --interactive=0