MX on Linux: Difference between revisions

m
==Where to install all packages?==
 
*For simplicity on this page EXISTING PATH is used to represent any location in the Linux file structure where you decide to install Cumulus:
**Some people install it into ‘’’/home/pi/’’’, the default folder for the default user (Pi), because then the default user has full permissions automatically
**Mark suggests you install into ‘’’/opt/’’’ which is where other additional software is often installed
* All the Cumulus packages, should be put into a sub-folder called “CumulusMX” (note where capital letters must be used).
** You can create that folder as you unzip a MX release, or you can type <code>sudo mkdir EXISTING PATH/CumulusMX</code> first (note that EXISTING PATH is explained above and always starts with a slash “/”).
* For simplicity on this page EXISTING PATH is used to represent any location in the Linux file structure where you decide to install Cumulus:
** It is best to change permissions for the "CumulusMX" sub-folder, <code>chmod ugo+rwx CumulusMX</code> will give full rights to the folder, so that "sudo" is not needed to run an executable there, and you can read/update any file in the folder regardless of which user you have logged in.
**# Some people install it into ‘’’/home/pi/’’’, the default folder for the default user (Pi), because then the default user has full permissions automatically
*Many with a Raspberry Pi add an external drive to reduce wear on the internal micro-SD card, and so if they have to reload the kernel (sometimes called “operating system”), they don’t lose their Cumulus packages and data.
**# Mark suggests you install into ‘’’/opt/’’’ which is where other additional software is often installed. By default, the code for installing Cumulus as a service, will run that service as a root user, so it does not care where the software is installed
**This is more complicated in that you might have to create linux partitions on this disc, then mount these partitions, and this page is not the place to get too technical
*#* If you do install it outside your home folder, you might want to change the ownership of the "CumulusMX" sub-folder, to the default user (Pi), if so type <code>sudo chown -R pi: EXISTING PATH/CumulusMX</code> so you no longer need "sudo" to access the files (if you are running MX as a service, you also need to edit the user in the script provided to create the service, so MX does not create files with root ownership)
 
* Many with a Raspberry Pi add an external drive to reduce wear on the internal micro-SD card, and sokeep iftheir theyCumulus havefiles toaway reloadfrom the kerneldrive that (sometimesholds calledthe “operatingoperating system”),system. they don’t lose their Cumulus packages and data.
** This page is not going to get technical by telling you how to create, or mount, Linux partitions on your external drive, if it was not bought from a Raspberry Pi reseller.
 
==Alternative download link for older MX releases==
5,838

edits