Mihini/Install Mihini
The fast option to get ready with Mihini is to get it from the .deb
, the .rpm
or the AUR:
Contents
ArchLinux / ArchLinuxARM
The AUR package is available for any arch, so if you have yaourt (which is available on ArchLinuxARM with pacman -Syu yaourt
), you just need to: yaourt -Syu mihini-git
Others
Download
Choose your architecture
- i386 (desktop, 32bits)
- amd64 (desktop, 64bits)
- armhf (ARM with hard float, like Raspberry Pi)
- beaglebone (with Ångström)
Choose your package type
- deb (Debian, Ubuntu, Linux Mint, Ångström, OpenEmbedded, OpenWRT…)
- rpm (Fedora, RHEL)
Dowload it on your computer/device
$ wget http://mihini.saurel.me/mihini-0.8.0-<Your architecture>.<your pakage type>
Install
The following commands needs to be executed either with the "root" user or with sudo <command>
Debian / Ubuntu / Linux Mint
$ dpkg -i mihini-*.deb
Fedora / RHEL
$ rpm -U mihini-*.rpm
Ångström / OpenEmbedded / OpenWRT
$ opkg install mihini-*.deb
Managing the daemon
With the .deb
, a sysV init script is provided, and with the .rpm
and the the AUR and BeagleBone packages, there is a systemd service file.
Theses daemons are automatically launched in the end of the installation process (and stopped when you uninstall the packages), except for BeagleBone, for which you have to systemctl start mihini.service
.
This means that you don't have to manage appmon_daemon & the Mihini Agent by yourself.
To manage the sysV init daemon, you can use sudo /etc/init.d/mihini {start|stop|restart|purge}
(purge will clean /var/opt/mihini/persist/*
),
and with systemd, there is also sudo systemctl {start|stop|restart|enable|disable} mihini
Next
Then, you can go back to the main tutorial: Run Mihini on an Open Hardware platform