Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "Mihini/Install Mihini"
m (→Choose your architecture: beaglebone's architecture is "beaglebone") |
(→ArchLinux / ArchLinuxARM: added informations about defaultconfig.lua & platform.lua for ArchLinux package) |
||
Line 3: | Line 3: | ||
= ArchLinux / ArchLinuxARM = | = ArchLinux / ArchLinuxARM = | ||
− | The AUR package is available for any arch, so if you have [https://wiki.archlinux.org/index.php/Yaourt yaourt] (which is available on ArchLinuxARM with <code>pacman -Syu yaourt</code>), you just need to: <code>yaourt -Syu mihini-git</code> | + | The AUR package is available for any arch, so if you have [https://wiki.archlinux.org/index.php/Yaourt yaourt] (which is available on ArchLinuxARM with <code>pacman -Syu yaourt</code>), you just need to: <code>yaourt -Syu mihini-git</code> |
+ | |||
+ | The disadvantage of this method which works on every architecture is that you can't get the default config files for your architecture. You may want to use this [https://github.com/nim65s/mihini-repo/blob/CPack/porting/raspberrypi-linaro/agent/defaultconfig.lua defaultconfig.lua] in <code>/opt/mihini/lua/agent/</code> as well as the platform.lua corresponding to your platform: | ||
+ | |||
+ | * [https://github.com/nim65s/mihini-repo/blob/CPack/porting/raspberrypi-linaro/agent/platform.lua Raspberry Pi] | ||
+ | * [https://github.com/nim65s/mihini-repo/blob/CPack/porting/beaglebone/agent/platform.lua BeagleBone] | ||
= Others = | = Others = |
Revision as of 07:43, 4 July 2013
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
The disadvantage of this method which works on every architecture is that you can't get the default config files for your architecture. You may want to use this defaultconfig.lua in /opt/mihini/lua/agent/
as well as the platform.lua corresponding to your platform:
Others
Download
Choose your architecture
- i386 (desktop, 32bits)
- amd64 (desktop, 64bits)
- armhf (ARM with hard float, like Raspberry Pi)
- beaglebone
Choose your package type
- deb (Debian, Ubuntu, Linux Mint, Ångström, OpenEmbedded, OpenWRT…)
- rpm (Fedora, RHEL)
Dowload it on your computer/device
$ wget http://saurel.me/sierra/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 AUR packages, there is a systemd config file.
Theses daemons are automatically launched in the end of the installation process (and stopped when you uninstall the packages). This mean 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