.
ctys-distribute - local and remote installation, bulk-distribution
ctys-distribute
[-d <debug-options>] [-F (1|2|3|force|forceclean|forceall)] [-h] [-H <help-options>] [-l <remote login>] [-M <access-mask>] [--menu-create=(PRIVATE|SHARED)] [-P ( (UserHomeCopy|UHC) |(UserHomeLinkonly|UHL) |(SharedAnyDirectory|SAD),<subopts> |(SharedAnyLinkonly|SAL),<subopts> |(AnyDirectory|AD),<subopts> )] [-V] [-X] <list-of-target-acounts>
ctys-distribute is the main interface for local and remote installation. The installation of a single target and an arbitrary list of remote targets for automated bulk installations is provided.
Various distribution and installation methods for distribution packages
and installation types could be applied, these are for the current
version:
<path-to>/ctys-distribute.sh -F 2 -P UHC userA@hostBinstalls the complete copy contained within the '<path-to>' directory tree. Therefore symbolic links are resolved to their actual physical paths, the resulting directory path to a valid copy is used. The copy has to be valid, but not neccessarily to be installed, or the current users active installation. The default when omitting a '<path-to>' is resolved by the PATH search algorithm and proceeded similar to the previos case. Resulting in using the current installation as the install source for the user 'userA@hostB', where the current configuration for 'userA@hostB' is deleted and replaced completely due to the '-F 2' option. Where UHC is the shortcut for 'UserHomeCopy' The call of
<path-to>/ctys-distribute.sh -F 2 -P UHLinstalls the complete current installation on for the user 'userA@hostB', where the current configuration is deleted and replaced completely by '-F 2', and the source executables are referenced by symbolic links only. The documents are physically shared by search-path references. Where UHL is the shortcut for 'UserHomeLinkonly' Once installed one of the following calls may be applied for further help. When a full installation with has proceeded, the suffix '.sh' could be omitted for the created symbolic links:
<path-to>/ctys-distribute.sh -H man <path-to>/ctys-distribute.sh -H html=base <path-to>/ctys-distribute.sh -H html=doc <path-to>/ctys.sh -H man <path-to>/ctys.sh -H pdf <path-to>/ctys.sh -H html <path-to>/ctys.sh -H html=base <path-to>/ctys.sh -H html=doc <path-to>/ctys.sh -H path <path-to>/ctys.sh -H listThe following keys are not case sensitive, additionally the uppercase letters could be used as abbreviations - which are not case sensitive too, e.g. 'UHC' for 'UserHomeCopy', or 'uHc'.
INSTBASE=${RPM_BUILD_ROOT}/usr/share INSTTARGET=${INSTBASE}/${RPM_PACKAGE_NAME}-${RPM_PACKAGE_VERSION} ${PWD}/bin/ctys-distribute.sh -F 1 -P AnyDirectory,${INSTTARGET} localhostThis installs the complete package without configuration of user accounts. The user accounts have to be configured by calling:
/usr/share/bin/ctys-distribute.sh -F 1 -P UserHomeLinkonly localhostATTENTION: When a previous installation is present the configuration directories should be updated too due to the circumstance, that these also contain some dynamic evaluation code. But these probably may contain some custom patches, thus the '-F 1' option preserves the configuration directory '$HOME/.ctys'. For forced update these may either be removed manually, or by usage of '-F 2' option.
The utilitiy scp of the OpenSSH package is used for any transfer, thus remote SSH access is required.
The call evaluates its own actual physical file location by recursive dereferencing symbolic links and uses the actual containing distribution for further steps. Thus if a specific distribution outside the search path is to be installed, the call path has to be provided explicitly: <path-to-installbase>/bin/ctys-distribute
.
ctys-distribute
Refer to "ctys" generic options for additional information.
Bypassed to ctys-install1.sh
Print help, refer to "-H" for additional information.
The extended help option is based on system interfaces for display of manpages, PDF and HTML documents. This comprises the man pages and installed manuals.
For additional help refer to the documents or type ctys -H help.
The remote USER to be used as a EMail style prefix for all given
remote hostnames within the <list-of-target-acounts>.
This option is supported with hostname-only targets, it
cannot be intermixed with EMail style <USER>@<HOST> targets.
Access mask for post-chmod, where the value is literally passed to:
"chmod -R <access-mask> <base-lib-dir>"
The user-local file access permissions remain unmodified.
Creates menu entries during installation by call of ctys-xdg.
The creation of SHARED manus requires root permissions.
The --force option is not provided, thus the entries could be installed
on supported and verified desktops only.
For the remaining the tool ctys-xdg has to be called manually.
This option supports the selection of prepared installation packages, which are automated by preconfigured parameters or to be finished by interactive dialogue from the command line interface.
The packages are prepared during build operations within the local "packages" directory for the current version.
For system directory appropriate access permissions are required.
Version.
Terse output format, effects "-V" when set left-of.
.
.
Arno-Can Uestuensoez | <https://arnocan.wordpress.com/> |
<https://unifiedsessionsmanager.sourceforge.io/> | |
<https://github.com/unifiedsessionsmanager> | |
Copyright (C) 2008, 2009, 2010, 2011, 2020 Ingenieurbuero Arno-Can Uestuensoez
This is software and documentation from BASE package,
For additional information refer to enclosed Releasenotes and License files.