Category:Cumulus MX: Difference between revisions

201 bytes added ,  15:35, 21 June 2020
m
Line 86: Line 86:


== Installing ==
== Installing ==
There is no automatic installer (this may change). Cumulus MX is supplied as a zipped package on a link from [[software|download page]].


When running Cumulus MX, you either have a package that runs it for you, or in your command type interface you type '''CumulusMX.exe''' or '''sudo mono CumulusMX.exe''' depending on device,  (or click a shortcut).  
There is no automatic installer (this may change). Cumulus MX is supplied as a zipped package on a link from [[software|Software page]].


There is a second exe file in the package. <tt>ExportMySql.exe daily</tt> or '''sudo mono ExportMySql.exe daily''' depending on device will populate a newly created database table to hold daily summary values with past rows. Replace "dayfile" with "monthly" in the run instruction for this exe to update all rows in a newly created table to hold values from all the monthly log files.
It includes two executables:
 
=== CumulusMX.exe ===
 
Whilst effectively MX is run by a '''CumulusMX.exe''' or '''sudo mono CumulusMX.exe''' depending on device, you actually need to ensure all the other components are loaded, so you either have a package that runs it for you, or you click a shortcut that includes the necessary path setting.
 
=== ExportMySQL.exe ===
 
This second exe file in the package. Run with <tt>ExportMySql.exe daily</tt> or '''sudo mono ExportMySql.exe daily''' depending on device; will populate a newly created database table to hold daily summary values with past rows taken from [[Dayfile.txt]]. Replace "dayfile" with "monthly" in the run instruction for this exe to update all rows in a newly created table to hold values from all the [[standard log files]].




Line 374: Line 381:
To revert to normal auto-running of CumulusMX, go through the same again, but this time edit crontab to remove the # from the start of the line "@reboot...". Save changes and reboot - CumulusMX will be running.
To revert to normal auto-running of CumulusMX, go through the same again, but this time edit crontab to remove the # from the start of the line "@reboot...". Save changes and reboot - CumulusMX will be running.


Updating a version of CumulusMX is easily done as follows:
Updating a version of CumulusMX is easily done as follows using this:
1. Stop CumulusMX running (it locks files while it is running)
1. Stop CumulusMX running (it locks files while it is running)
2. Install the updated CumulusMX version into a new directory - I call mine CumulusMX3xyz (where xyz are the last 3 digits of the build number) so that I can easily see which build it is
2. Install the updated CumulusMX version into a new directory - I call mine CumulusMX3xyz (where xyz are the last 3 digits of the build number) so that I can easily see which build it is
Line 417: Line 424:


In some builds of MX you have to run as "root", there are ways of giving "root" like permissions when running MX as another user, see forum for details until this section has been updated.
In some builds of MX you have to run as "root", there are ways of giving "root" like permissions when running MX as another user, see forum for details until this section has been updated.


= Updating to a new MX release =
= Updating to a new MX release =
5,838

edits