Skip to main content

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.

Jump to: navigation, search

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:  
  
= Installation =
+
= ArchLinux / ArchLinuxARM  =
  
== Debian-based  ==
+
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>
  
=== 32 bits  ===
+
= Others =
 +
== Download ==
 +
=== Choose your architecture ===
  
<source lang="bash">
+
* i386 (desktop, 32bits)
$ wget http://<path>/mihini-0.8.0-i368.deb
+
* amd64 (desktop, 64bits)
$ sudo dpkg -i mihini-0.8.0-i368.deb
+
* armhf (ARM with hard float, like Raspberry Pi)
</source>
+
* beaglebone (with Ångström)
  
=== 64 bits  ===
+
=== 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://<path>/mihini-0.8.0-and64.deb
+
$ wget http://mihini.saurel.me/mihini-0.8.0-<Your architecture>.<your pakage type>
$ sudo dpkg -i mihini-0.8.0-amd64.deb
+
</source>
</source>  
+
  
== Fedora  ==
+
== Install ==
  
=== 32 bits  ===
+
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">
$ wget http://<path>/mihini-0.8.0-i386.rpm
+
$ dpkg -i mihini-*.deb
$ sudo rpm -U mihini-0.8.0.i386.rpm
+
</source>
</source>  
+
  
=== 64 bits  ===
+
=== Fedora / RHEL ===
 +
<source lang="bash">
 +
$ rpm -U mihini-*.rpm
 +
</source>
  
 +
=== Ångström / OpenEmbedded / OpenWRT ===
 
<source lang="bash">
 
<source lang="bash">
$ wget http://<path>/mihini-0.8.0-amd64.rpm
+
$ opkg install mihini-*.deb
$ sudo rpm -U mihini-0.8.0.amd64.rpm
+
</source>
</source>
+
 
+
== 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: <source lang="bash">
+
 
+
$ yaourt -Syu mihini-git
+
</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 AUR packages, there is a systemd config file.
+
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 mean that you don't have to manage appmon_daemon & the Mihini Agent by yourself.
+
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:

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

Back to the top