「Shinobi」の版間の差分
Kusanaginoturugi (トーク | 投稿記録) 細 (→インストール) |
Kusanaginoturugi (トーク | 投稿記録) (→インストール: Note 差し替え) |
||
18行目: | 18行目: | ||
{{Warning|{{pkg|ffmpeg}} で代用することも可能ですが、CPU がサチることが知られているので、前述の AUR 版の使用を強くお勧めします。}} |
{{Warning|{{pkg|ffmpeg}} で代用することも可能ですが、CPU がサチることが知られているので、前述の AUR 版の使用を強くお勧めします。}} |
||
− | {{Note|Shinobi will be running as a non-privileged user |
+ | {{Note|Shinobi will be running as a non-privileged user not as root which is how upstream expects {{ic|node}} to run. A few limitation are imposed as a result: |
# Installation of plugins from the webUI will not work. Manually start the server as root if these are needed. |
# Installation of plugins from the webUI will not work. Manually start the server as root if these are needed. |
||
− | # The restart feature from the webUI will not work since {{ic|pm2}} is not being used. |
+ | # The restart feature from the webUI will not work since {{ic|pm2}} is not being used. |
+ | # Binding to ports <1000 will not work, as only root can do so. This is only relevant if using FTP or SMTP to receive motion/object detection. See [[Shinobi#Motion/object_detection_from_within_the_camera]] for a several work around options.}} |
||
== Setup == |
== Setup == |
2021年10月3日 (日) 13:47時点における版
関連記事
Shinobi は Node.js で記述された最新のオープンソース NVR(Network Video Recorder) です。個人または教育のための使用であれば、Pro バージョンの使用にライセンスキーは必要ありません。商用目的の使用の場合は、このページを参照してください。
目次
h.265 video について
インストール
shinobi-gitAUR と ffmpeg-shinobiAUR をインストールします。Arch ARM のユーザはこの 2 つのパッケージが公式リポジトリで提供されているので、pacman でインストールできます。
Setup
Install and set up the MariaDB server
Refer to MariaDB#Installation for initial setup, then to create a database for Shinobi, use the following commands:
$ mysql -u root -p <<enter the mariadb root password assigned in the first step>> MariaDB [(none)]> CREATE DATABASE ccio; flush privileges; \q
Setup Shinobi
Create the user and setup database framework: First substitute 127.0.0.1 with the LAN IP address of the server. For example, if this is 192.168.9.100:
$ sed 's/127.0.0.1/192.168.9.100/g' < /usr/share/shinobi/sql/user.sql > /tmp/user.sql # mysql < /tmp/user.sql # mysql ccio < /usr/share/shinobi/sql/framework.sql
Next, edit /etc/shinobi/conf.json
changing both instances of 127.0.0.1 to match the actual IP address of the server.
Optionally setup the mail section accordingly as well as replacing the cron key with something random as indicated in the comments.
Optionally change the the super admin password by editing /etc/shinobi/super.json
and replacing the value for "pass" with an md5sum hashed password. Generate one like this:
echo -n PASSWORD | md5sum
Start and Enable shinobi. Browse to http://192.168.9.100:8080/super to perform initial setup including creating a user/users. See the official configure guide for a walk-through. Once finished, browse to http://192.168.9.100:8080 and log in as the non-admin user.
Android and iOS apps
Shinobi Mobile Apps for both Android and iOS are available though this public test.
Resources
- Shinobi docs - Official docs and guides.
- iSpy camera database - Large database of URLs for various cameras.
- Shinobi camera database - Searchable database of supported cameras including things such as protocols, URLs for streams, and other technical specs.
- Home assistant camera database - Another resource for finding URLs for streams.