User Tools

Site Tools


howto:bsd:install:freebsd

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
howto:bsd:install:freebsd [2013/11/27 19:07]
hugme The new version requires ffmpeg2 which is just graphics/ffmpeg. It also errors if dcraw isn't installed. It doesn't require it but runs better with it. I've added a help section.
howto:bsd:install:freebsd [2015/07/02 13:21]
mmolinari Updated Serviio Web UI to 1.5; 1.4beta is not compatible with the latest Serviio.
Line 26: Line 26:
  
 === Install Packages from Ports === === Install Packages from Ports ===
-Set recommended [[http://www.freshports.org/multimedia/ffmpeg/|ffmpeg]] options then install Serviio via the Ports collection.+Set recommended [[http://www.freshports.org/multimedia/ffmpeg/|ffmpeg]] options then install Serviio via the Ports collection. The newest version of serviio (which if you're installing from here it's the version you'll have) will require ffmpeg2 instead of 1. I've also added an install of dcraw, while it's not required you won't be able to use some of the thumbnail and image features of serviio without it.
  
 <code bash> <code bash>
Line 55: Line 55:
 portmaster www/apache24 portmaster www/apache24
 cd /usr/ports/lang/php5 && make config WITH_APACHE=YES cd /usr/ports/lang/php5 && make config WITH_APACHE=YES
-portmaster lang/php5 ftp/php5-curl textproc/php5-xml converters/php5-mbstring devel/php5-json textproc/php5-simplexml textproc/php5-dom+portmaster lang/php5 www/mod_php5 ftp/php5-curl textproc/php5-xml converters/php5-mbstring devel/php5-json textproc/php5-simplexml textproc/php5-dom
 </code> </code>
  
Line 62: Line 62:
  
 <code bash> <code bash>
-cd /tmp && fetch https://dl.dropboxusercontent.com/u/42061/WebUI%20v1.4beta.zip +cd /tmp && fetch https://github.com/SwoopX/Web-UI-for-Serviio/archive/Serviio-1.5.zip 
-unzip -d /usr/local/www/apache24/data/ WebUI%20v1.4beta.zip+unzip -d /usr/local/www/apache24/data/ Serviio-1.5.zip
 </code> </code>
  
Line 70: Line 70:
 <code bash> <code bash>
 cd /usr/local/etc/apache24; cp httpd.conf httpd.conf.original cd /usr/local/etc/apache24; cp httpd.conf httpd.conf.original
-perl -pwi -e 's^DocumentRoot "/usr/local/www/apache24/data"^DocumentRoot "/usr/local/www/apache24/data/serviioweb-1.4beta"^g' httpd.conf +perl -pwi -e 's^DocumentRoot "/usr/local/www/apache24/data"^DocumentRoot "/usr/local/www/apache24/data/Web-UI-for-Serviio-Serviio-1.5"^g' httpd.conf 
-perl -pwi -e 's^<Directory "/usr/local/www/apache24/data">^<Directory /usr/local/www/apache24/data/serviioweb-1.4beta>^g' httpd.conf+perl -pwi -e 's^<Directory "/usr/local/www/apache24/data">^<Directory /usr/local/www/apache24/data/Web-UI-for-Serviio-Serviio-1.5>^g' httpd.conf
 perl -pwi -e 's^DirectoryIndex index.html^DirectoryIndex index.html index.php^g' httpd.conf perl -pwi -e 's^DirectoryIndex index.html^DirectoryIndex index.html index.php^g' httpd.conf
 perl -pwi -e 's^AddType application/x-gzip .gz .tgz^AddType application/x-gzip .gz .tgz\n AddType application/x-httpd-php .php\n AddType application/x-httpd-php-source .phps^g' httpd.conf perl -pwi -e 's^AddType application/x-gzip .gz .tgz^AddType application/x-gzip .gz .tgz\n AddType application/x-httpd-php .php\n AddType application/x-httpd-php-source .phps^g' httpd.conf
Line 93: Line 93:
 === If it's not running === === If it's not running ===
  
-If it doesn't run right away don't panic. There is a very verbose logfile here: /var/log/serviio/serviio.log which should tell you where to look.+If it doesn't run right away don't panic. There is a very verbose logfile here:  
 +<code bash> 
 +/var/log/serviio/serviio.log 
 +</code>
  
 For starters check the ownership of all the files in the following files and directories. If they are not all owned by the DLNA user serviio will exit on it's own with no CLI messages. For starters check the ownership of all the files in the following files and directories. If they are not all owned by the DLNA user serviio will exit on it's own with no CLI messages.
  
 +<code bash>
  /var/db/serviio/thumbnaios*  /var/db/serviio/thumbnaios*
  /var/db/serviio/db  /var/db/serviio/db
 +</code>
howto/bsd/install/freebsd.txt · Last modified: 2016/09/14 18:40 by lokotito