Should we have a 'default' location we install tools into? #110
Replies: 10 comments 10 replies
-
One approach that would be similar to what I see on Mac would be to have a structure like:
Here is the |
Beta Was this translation helpful? Give feedback.
-
How about this:
|
Beta Was this translation helpful? Give feedback.
-
It shouldn't be limited to /usr/local/, it just need to be a user specified location. with |
Beta Was this translation helpful? Give feedback.
-
Gone are the days, even in the *nix world, where a system is used by only one user – every system of worth supports 10’s to 1000’s of users and the introduction of new code (new products, updates, changes) must be managed through a change process (some of which are grueling). A typical change process includes:
In a large environment it is critical that all changes be verified prior to implementation. There may be multiple development and production environments that support mission critical applications and services and even a small change can bring a system down or corrupt data. What I strongly recommend for zopen is the ability to install one, or more, tools into a user specified filesystem, which may be a new ZFS with version (or other) qualifiers or just a subdirectory. The installer can then perform initial testing from there. Next the installer can copy the filesystem to a new ZFS that can be mounted for additional testing, copied (or used) for development validation, and used as the mount for production. Then zopen update can be used against (1) and the process followed to move into production. Hope this makes sense. |
Beta Was this translation helpful? Give feedback.
-
Something I found on the Rocket forum: Not wanting to perform an installation to active system, our process is installation and maintenance to a non-active environment which is later copied to a SYSRES based set of files, which are mounted at IPL. The SMPE installation process hardcodes the Installation path /mvsde2/ into the installed files. #common export of PATH, LIBPATH and MANPATH for file in /mvsde2/usr/lpp1/roa/ro/etc/conda/activate.d/*.sh /mvsde2/usr/lpp1/roa/ro/etc/gitconfig [http] /mvsde2/usr/lpp1/roa/ro/etc/conda/activate.d/ant_home.sh export ANT_HOME_CONDA_BACKUP=$ANT_HOME /mvsde2/usr/lpp1/roa/ro/etc/conda/activate.d/git.sh export ASCII_TERMINFO=/mvsde2/usr/lpp1/roa/ro/share/terminfo The above from a partial manual review of installed files. After IPL we have standard SYMLINK for /usr/lpp1 which points to the sysres local version. i.e. /SYSRES/usr/lpp1 Bruce Hewson |
Beta Was this translation helpful? Give feedback.
-
I think all the tools need to be symlinked installed into a "TOOLLOCATION" type of envvar that specifies the PATH for bin, etc, man etc. The configuration paths for the tools need to be aware of TOOLLOCATION and find its default own configuration files without the need to source each of the .env files. |
Beta Was this translation helpful? Give feedback.
-
Just my 2cc, but I think it would be amazing to ship it as UMODs too :) Store the installers in /SERVICE and then have a 'postinstall' step that installs it to sites desired location.... (I'm currently trying to get that running with the 'gitmaster'-installer) On the other hand, this stuff doesn't need SysPro installations but can just as easy run from 'user-sphere' ... |
Beta Was this translation helpful? Give feedback.
-
Good input here. I know people are keen to just 'get it done' but I also want to ensure we 'do it right'. From a 'user experience' perspective, the following all seem reasonable:
|
Beta Was this translation helpful? Give feedback.
-
Russell Wilson (not sure what your github id is): can you add in your approach here? |
Beta Was this translation helpful? Give feedback.
-
this is now done. |
Beta Was this translation helpful? Give feedback.
-
Many of the Open Source packages we are porting have the notion of installing into some 'prefix' location.
This defaults to
/usr/local
. The Filesystem Hierarchy Standard states:Should we be building our software such that the installation prefix we specify is
/usr/local
or some other well-known location rather than/jenkins/workspace
?Should we keep the version info when we do this install so that customers can have multiple releases of a software package available?
If we do have multiple versions installed, should we either create, or define how to create, symbolic links so that a 'default' release of a software package can be specified?
One advantage of taking this approach is that if a systems programmer follows this advice and specifies defaults, we could drastically reduce the number of environment variables someone would need to specify since we would 'know' where everything is
Beta Was this translation helpful? Give feedback.
All reactions