Installation
[WORK IN PROGRESS]
This installation guide uses gentoo like OS and is tested to work also in a virtual machine. To install a virtual machine in a Debian environment, you can follow these guides. 1) https://wiki.debian.org/LXC#Installation 2) https://wiki.debian.org/LXC/SimpleBridge#Using_lxc-net
Installation on Gentoo
$ emerge eix
$ emerge sudo
$ emerge -av mediainfo
$ emerge -av exiftool
$ emerge imagemagick
$ USE="-drm -opengl" emerge -av ufraw
$ emerge -av mysql
$ emerge --config dev-db/mysql
$ nano /etc/portage/make.conf
Be careful not to paste strange characters, even if not visible.
$ nano /etc/portage/package.use/php
$ emerge -av =dev-lang/php-5.6.35-r1
[Type yes if sodisfied]
$ emerge --update --newuse --deep --ask world
$ eix-update
$ nano /etc/portage/package.use/mysql
$ emerge -av apache
$ visudo
The part below, and only this section is to modifie in /etc/sudoers. In this manner will be abilitate all user for group wheel (to confront with gpasswd) Remember that you must open this file with visudo.
$ eix-update
$ eix dev-lang/php
$ emerge -av =dev-lang/php-5.6.35-r1
$ eselect php list apache2
[1] php5.6 *
[2] php7.1
$ nano /etc/conf.d/apache2
$ rc-service apache2 restart
$ nano /etc/php/apache2-php5.6/php.ini
$ rc-service mysql start
$ mysql -u root -p
CREATE DATABASE DAM2;
CREATE DATABASE asset09;
CREATE DATABASE flow_bins;
\q
$ wget http://git.cubotto.org/db_structure.zip
$ unzip db_structure.zip
$ mysql -u root -p asset09 < asset09.sql
$ mysql -u root -p flow_bins < flow_bins.sql
$ mysql -u root -p DAM2 < DAM2.sql
The table asset09.admgoups it must never be changed, contains the numerical values of the levels of permissions associated with the users contained in the table asset09.administrators
The table asset09.support it must never be changed, contains information for treatments of media assets associated with the different types of devices.
$ nano /etc/portage/package.use/ffmpeg
(si devono riverificare queste linee emerge -av libva
416 USE="drm" emerge -av libva
417 USE="drm" emerge -av libva
418 etc-update
419 USE="drm" emerge -av libva
420 emerge -av ffmpeg
421 emerge -av ffmpeg)
$ emerge -av ffmpeg
$ emerge -av ffmpegthumbnailer
$ emerge --ask dev-vcs/git
$ git config --global user.email "<your@email.org>"
$ git config --global user.name "<your_user_name>"
$ cd /var/www/localhost/htdocs
$ git clone http://git.cubotto.org:/cranio/Kegmmav.git
$ chown -R apache:apache Kegmmav/
$ nano /etc/apache2/vhosts.d/00_default_vhost.conf
rc-service apache2 restart
gpasswd -a apache wheel
crei la dir source sotto usr/local/ e ci metti i sorgenti del modulo di streaming
cd ~/mod_h264_streaming-2.2.7
./configure --with-apxs=`which apxs2`
make
sudo make install
add in httpd.conf this line
LoadModule h264_streaming_module /usr/lib/apache2/modules/mod_h264_streaming.so
AddHandler h264-streaming.extensions .mp4
rc-service apache2 restart
ricordarsi prima di installare ffmpeg di creare in package.use il file con le sue istruzioni
Last updated