Installation scripts don't work on Solaris
------------------------------------------
Key: RTFACT-1601
URL:
http://issues.jfrog.org/jira/browse/RTFACT-1601 Project: Artifactory
Issue Type: Bug
Components: Installer
Affects Versions: 2.0.4
Environment: artifactory 2.0.4
SunOS 5.10 Generic_127112-07 i86pc i386 i86pc
java version "1.6.0_04"
Java(TM) SE Runtime Environment (build 1.6.0_04-b12)
Java HotSpot(TM) Server VM (build 10.0-b19, mixed mod
Reporter: Erik Drolshammer
Assignee: Yoav Landman
I tried to follow
http://wiki.jfrog.org/confluence/display/RTF/Installing+on+Un*x, but ran into some problems.
1. I cannot run the install.sh script, since the tools referenced are not available on solaris.
I tried to set up things manually. I have done so before, with 1.2.5.u1, and it was not that much work.
2. id -nu is not available by default in solaris, so either must the posix-compatible /usr/xpg4/bin/id be used or something else must be used to check if the user is root. Btw, how will this check work if the script is run as a user with sudo-rights?
3. Solaris use SMF instead of RC-scripts. Commands like "su - " is thus not a good idea, since SMF will already have done a su command to the artifactory user.
4. Why not use a default properties file loaded from a known location instead of a sh-script (artifactory.default)? Since I have no way to automatically the installation of Artifactory I at least want to keep all the files in one location. Something like:
artifactory/bin
artifactory/etc
artifactory/logs
artifactory/run
artifactory/data
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.jfrog.org/jira/secure/Administrators.jspa-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
_______________________________________________
Artifactory-developers mailing list
Artifactory-developers@...
https://lists.sourceforge.net/lists/listinfo/artifactory-developers