Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "Mihini/Install Mihini"
m (→Managing the daemon) |
(DNS updated) |
||
(11 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
The fast option to get ready with Mihini is to get it from the <code>.deb</code>, the <code>.rpm</code> or the AUR: | The fast option to get ready with Mihini is to get it from the <code>.deb</code>, the <code>.rpm</code> or the AUR: | ||
− | = | + | = 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> | |
− | === | + | = 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 === | ||
<source lang="bash"> | <source lang="bash"> | ||
− | $ wget http:/ | + | $ wget http://mihini.saurel.me/mihini-0.8.0-<Your architecture>.<your pakage type> |
− | + | </source> | |
− | </source> | + | |
− | == | + | == Install == |
− | + | The following commands needs to be executed either with the "root" user or with <code>sudo <command></code> | |
+ | === Debian / Ubuntu / Linux Mint === | ||
<source lang="bash"> | <source lang="bash"> | ||
− | $ | + | $ dpkg -i mihini-*.deb |
− | + | </source> | |
− | </source> | + | |
− | === | + | === Fedora / RHEL === |
+ | <source lang="bash"> | ||
+ | $ rpm -U mihini-*.rpm | ||
+ | </source> | ||
+ | === Ångström / OpenEmbedded / OpenWRT === | ||
<source lang="bash"> | <source lang="bash"> | ||
− | $ | + | $ opkg install mihini-*.deb |
− | + | </source> | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | </source> | + | |
= Managing the daemon = | = Managing the daemon = | ||
− | With the <code>.deb</code>, a sysV init script is provided, and with the <code>.rpm</code> and the | + | With the <code>.deb</code>, a sysV init script is provided, and with the <code>.rpm</code> 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). | + | 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 <code>systemctl start mihini.service</code>. |
− | This | + | 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 <code>sudo /etc/init.d/mihini {start|stop|restart|purge}</code> (purge will clean <code>/var/opt/mihini/persist/*</code>), | To manage the sysV init daemon, you can use <code>sudo /etc/init.d/mihini {start|stop|restart|purge}</code> (purge will clean <code>/var/opt/mihini/persist/*</code>), |
Latest revision as of 05:42, 17 November 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
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