返回首页 Raspberry pi 一个好玩的派

看 Kodi,用 OpenELEC

为什么又选择 OpenELEC

Raspbmc 的体积庞大功能较多,相应的速度和性能要弱;OpenELEC 是一个精简版,体积小功能少,相应的速度和性能都有提升。这就要看我们的选择了,如果像我一样用多个 sdcard 玩树莓派,那么用 OpenELEC 做家庭媒体中心就最合适不过了。

它的体积很小,请参考如下:

4.0.5 版:

  • OpenELEC-RPi.arm-4.0.5.img.gz 99.7M

  • OpenELEC-RPi.arm-4.0.5.img 164M

5.0.0 版:

  • -rwxrwxrwx. 2 linc linc 306184192 Dec 28 06:41 OpenELEC-RPi.arm-5.0.0.img

  • -rwxrwxrwx. 2 linc linc 99263770 Jan 3 17:56 OpenELEC-RPi.arm-5.0.0.img.gz

安装

还是从官网下载比较新,点击这里。

安装过程与 Raspbmc 相似,我直接在原 Raspbmc 的 sdcard 上安装,过程如下:

[linc@localhost ~]$ sudo fdisk -l  
Disk /dev/sdb: 15.9 GB, 15931539456 bytes  
64 heads, 32 sectors/track, 15193 cylinders, total 31116288 sectors  
Units = sectors of 1 * 512 = 512 bytes  
Sector size (logical/physical): 512 bytes / 512 bytes  
I/O size (minimum/optimal): 512 bytes / 512 bytes  
Disk identifier: 0x0002db69  

   Device Boot      Start         End      Blocks   Id  System  
/dev/sdb1   *        2048      264192      131072+   c  W95 FAT32 (LBA)  
/dev/sdb2          266240      331776       32768+  83  Linux  
[linc@localhost ~]$ df -h  
Filesystem            Size  Used Avail Use% Mounted on  
/dev/mapper/vg_localhost-lv_root  
                       24G   22G  1.3G  95% /  
tmpfs                 1.3G  480K  1.3G   1% /dev/shm  
/dev/sda7             485M   30M  430M   7% /boot  
/dev/sdb2              15G  173M   15G   2% /media/db413a9b-4a10-4f3d-ae2a-c34947d04ac8  
/dev/sdb1             128M  109M   20M  86% /media/4DBB-CE4E  
/dev/sda5              26G   24G  1.5G  95% /media/Work  
[linc@localhost ~]$ umount /dev/sdb1  
[linc@localhost ~]$ umount /dev/sdb2  
[linc@localhost ~]$ sudo dd bs=4M if=/media/Work/OpenELEC-RPi.arm-5.0.0.img of=/dev/sdb && sync  
[sudo] password for linc:   
73+0 records in  
73+0 records out  
306184192 bytes (306 MB) copied, 29.0638 s, 10.5 MB/s  

使用

用法与 Raspbmc 一样,都是 Kodi 嘛。

启动

这里还是乖乖的默认英文,因为选择简体中文后,都是乱码。可以在设置中改成中文,参考 Raspbmc。

Host Name

SSH 很重要,选择上。SMB 是默认就选择的。

SSH 默认的用户名和密码是什么?

Username: root

Password: openelec

CPU 使用率很低,反应速度很快

网络设置,连接 wifi

参考:

http://kodi.wiki/view/Video_library#Adding_videos_to_the_library

http://wiki.openelec.tv/index.php/OpenELEC_FAQ

http://kodi.wiki/view/Raspberry_Pi/FAQ

http://wiki.openelec.tv/index.php/Ssh_commands