14硬盘接口j1800主板安装OMV+kodi
本帖最后由 nonzhe 于 2015-8-13 14:32 编辑好久没有折腾主板了。
今天入手一个1800主板,听说很节能。
有14个接口。
一个是主板上的msata,一个主板上的sata。这两个接口是在bios中能认到的。
另外12个就是额外拓展的。芯片温度烫手感觉。
win8下完美。
群晖还没试过。
直接试验omv,因为可以集合kodi播放高清,别浪费hdmi口了!
代码1:
omv-update
apt-get install python-software-properties pkg-config
apt-get install software-properties-common
apt-get install freeglut3 freeglut3-dev libdrm-dev doxygen swig git-core
这里是intel的
- For intel graphics:
apt-get install xorg xserver-xorg-video-intel libva-intel-vaapi-driver
ait的就是下面的:
- For amd graphics:
apt-get install xorg xserver-xorg-video-ati
代码2:
apt-get install automake autopoint bison build-essential ccache cmake curl cvs default-jre fp-compiler gawk gdc gettext gperf libasound2-dev libass-dev libavcodec-dev libavfilter-dev libavformat-dev libavutil-dev libbluetooth-dev libbluray-dev libbluray1 libboost-dev libboost-thread-dev libbz2-dev libcap-dev libcdio-dev libcec-dev libcec1 libcrystalhd-dev libcrystalhd3 libcurl3 libcurl4-gnutls-dev libcwiid-dev libcwiid1 libdbus-1-dev libenca-dev libflac-dev libfontconfig-dev libfreetype6-dev libfribidi-dev libglew-dev libiso9660-dev libjasper-dev libjpeg-dev libltdl-dev liblzo2-dev libmad0-dev libmicrohttpd-dev libmodplug-dev libmp3lame-dev libmpeg2-4-dev libmpeg3-dev libmysqlclient-dev libnfs-dev libogg-dev libpcre3-dev libplist-dev libpng-dev libpostproc-dev libpulse-dev libsamplerate-dev libsdl-dev libsdl-gfx1.2-dev libsdl-image1.2-dev libsdl-mixer1.2-dev libshairport-dev libsmbclient-dev libsqlite3-dev libssh-dev libssl-dev libswscale-dev libtiff-dev libtinyxml-dev libtool libudev-dev libusb-dev libva-dev libva-egl1 libva-tpi1 libvdpau-dev libvorbisenc2 libxml2-dev libxmu-dev libxrandr-dev libxrender-dev libxslt1-dev libxt-dev libyajl-dev mesa-utils nasm pmount python-dev python-imaging python-sqlite unzip yasm zip zlib1g-dev
代码3:
建立用户kodi
useradd -m -s /bin/bash kodi
密码
passwd kodi
代码
1.登录kodi用户
2.cd $HOME
git clone git://github.com/xbmc/xbmc.git kodi
编译:
Compile (perform one step after the other)
cd $HOME/kodi
apt-get remove libtag1-dev
make -C lib/taglib
make -C lib/taglib install
./bootstrap
./configure
make
make install
运行:
xinit kodi
自动开机运行kodi
1 Upstart init script
Create a /etc/init/kodi.conf with following contents.
# kodi-upstart
# starts Kodi on startup by using xinit.
# by default runs as kodi, to change edit below.
env USER=kodi
description "Kodi-barebones-upstart-script"
author "Matt Filetto"
start on (filesystem and stopped udevtrigger)
stop on runlevel
# tell upstart to respawn the process if abnormal exit
respawn
script
exec su -c "xinit /usr/bin/kodi-standalone -- -nocursor :0" $USER
end script
Note: -- -nocursor option kills all X cursor on Kodi startup and does not interfere with mouse use/operation
You may have to edit /etc/X11/Xwrapper.config and replace the last line that says:
allowed_users=console
to
allowed_users=anybody
3 Add a new init script
This method works well under Debian. The current configuration is a HTPC running Debian Squeeze, with no window manager installed. The main goal here is to start an Xserver only for Kodi. It allows also to specify which user will start / own the Kodi process. This method will not work if you have a window manager installed (however, it should not be hard to modify the script to suit your needs)
Create a new script under /etc/init.d/. Call it kodi
Change the rights, in order to allow it to be executable.
# chmod a+x /etc/init.d/kodi
copy the code under in the file. Modify the variables to suit your configuration:
#! /bin/sh
### BEGIN INIT INFO
# Provides: kodi
# Required-Start: $all
# Required-Stop: $all
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: starts instance of Kodi
# Description: starts instance of Kodi using start-stop-daemon and xinit
### END INIT INFO
############### EDIT ME ##################
# path to xinit exec
DAEMON=/usr/bin/xinit
# startup args
DAEMON_OPTS=" /usr/local/bin/kodi-standalone -- :0"
# script name
NAME=kodi
# app name
DESC=Kodi
# user
RUN_AS=kodi
# Path of the PID file
PID_FILE=/var/run/kodi.pid
############### END EDIT ME ##################
test -x $DAEMON || exit 0
set -e
case "$1" in
start)
echo "Starting $DESC"
start-stop-daemon --start -c $RUN_AS --background --pidfile $PID_FILE--make-pidfile --exec $DAEMON -- $DAEMON_OPTS
;;
stop)
echo "Stopping $DESC"
start-stop-daemon --stop --pidfile $PID_FILE
;;
restart|force-reload)
echo "Restarting $DESC"
start-stop-daemon --stop --pidfile $PID_FILE
sleep 5
start-stop-daemon --start -c $RUN_AS --background --pidfile $PID_FILE--make-pidfile --exec $DAEMON -- $DAEMON_OPTS
;;
*)
N=/etc/init.d/$NAME
echo "Usage: $N {start|stop|restart|force-reload}" >&2
exit 1
;;
esac
exit 0
Test the script by trying to start / stop Kodi with it.
# /etc/init.d/kodi start
........
# /etc/init.d/kodi stop
If all is ok, you can add the script to your configuration, by issuing a "update-rc.d"
# update-rc.d kodi defaults
If Kodi does not start, you may need to allow X to start from non-consoles. Under Debian/Ubuntu, run:
# dpkg-reconfigure x11-common
and choose "Anyone".
You can now reboot the server, Kodi should be started just after the boot sequence.
主板上有13个硬盘灯接口。msata和sata1共用
其他12个独立一个指示灯输出,共12个指示灯接口有效
这个板子很多人都到手很多天了,我是至少到手1个多星期了,怎么说呢,问题多多,SATA口在DSM下并不能完全识别,网卡的速度在DSM下会识别为百兆,劝你还是直接WIN8.1吧,DSM就是不适合 kongroom 发表于 2015-8-2 21:48
这个板子很多人都到手很多天了,我是至少到手1个多星期了,怎么说呢,问题多多,SATA口在DSM下并不能完全识 ...
好像是的,dsm未完善。机箱不知道 哪个好 ?有没有人推荐一下 nonzhe 发表于 2015-8-2 22:05
好像是的,dsm未完善。机箱不知道 哪个好 ?有没有人推荐一下
能装下这么多硬盘的无非就两种选择,一种是服务器的塔式机箱,还有一种是光盘塔机箱,我用的是后者,用的光驱位转硬盘位笼,占3个光驱位转5个硬盘,唯一缺点就是没有背部IO口,我自己切割的,需要改造。 小散热片上要加个风扇,不然温度太高会出现不认盘的 这主板哪有卖的。。。 没图说起来没意思{:8_225:} 主板上有13个硬盘灯接口。msata和sata1共用 看看,学习一下 make -C lib/taglib
在这一步卡了
出现 make: *** lib/taglib: No such file or directory. Stop shi2818xin 发表于 2016-1-12 19:57
make -C lib/taglib
在这一步卡了
出现 make: *** lib/taglib: No such file or directory. Stop ...
缺少库TAGLIB,,
http://taglib.github.io/releases/taglib-1.8.tar.gz下载,解压,
安装CMake
apt-get install CMake
到TAGLIB解压的文件夹编译安装
cmake -DCMAKE_INSTALL_PREFIX=/usr/local -DCMAKE_RELEASE_TYPE=Release
make
make install
页:
[1]