This repository has been archived by the owner on Dec 11, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
77 lines (54 loc) · 3.2 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
Notes
- "artifactory::java_manage" flag set to "true" enables class "java" declaration
as we need to override attributes "package" and "java_home"
https://puppet.com/docs/puppet/5.3/lang_classes.html#resource-like-behavior
Recommended minimal JVM parameters
The larger your repository or number of concurrent users, the larger you need to
make the -Xms and -Xmx values accordingly. Recommended minimal values are:
-server -Xms512m -Xmx2g -Xss256k -XX:+UseG1GC
For more recommendations about your hardware configuration (especially the -Xmx
parameter), please refer to Recommended Hardware:
https://www.jfrog.com/confluence/display/RTF/System+Requirements#SystemRequirements-RecommendedHardware
Where you set your JVM parameters depends on how you are running Artifactory:
For a manual installation, modify
JAVA_OPTIONS in $ARTIFACTORY_HOME/bin/artifactory.default.
For a service installation, modify
JAVA_OPTIONS in $ARTIFACTORY_HOME/etc/default
(you will need to stop and then restart the service after making the
modification)
For an RPM or Debian installation, modify
JAVA_OPTIONS in /etc/opt/jfrog/artifactory/default
Managed Files and Folders
Artifactory home /var/opt/jfrog/artifactory artifactory
Artifactory etc /etc/opt/jfrog/artifactory artifactory
Artifactory logs /var/opt/jfrog/artifactory/logs artifactory
Artifactory env variables /etc/opt/jfrog/artifactory/default artifactory
Tomcat home /opt/jfrog/artifactory/tomcat artifactory (root for sub dirs)
Artifactory startup script /etc/init.d/artifactory root
Artifactory binary /opt/jfrog/artifactory root
Installing Artifactory OSS from an RPM disribution
```
wget https://bintray.com/jfrog/artifactory-rpms/rpm -O bintray-jfrog-artifactory-rpms.repo
sudo mv bintray-jfrog-artifactory-rpms.repo /etc/yum.repos.d/
sudo yum install jfrog-artifactory-oss
```
Resource limit directives, their equivalent ulimit shell commands and the unit used
Directive ulimit equivalent Unit
LimitCPU= ulimit -t Seconds
LimitFSIZE= ulimit -f Bytes
LimitDATA= ulimit -d Bytes
LimitSTACK= ulimit -s Bytes
LimitCORE= ulimit -c Bytes
LimitRSS= ulimit -m Bytes
LimitNOFILE= ulimit -n Number of File Descriptors
LimitAS= ulimit -v Bytes
LimitNPROC= ulimit -u Number of Processes
LimitMEMLOCK= ulimit -l Bytes
LimitLOCKS= ulimit -x Number of Locks
LimitSIGPENDING= ulimit -i Number of Queued Signals
LimitMSGQUEUE= ulimit -q Bytes
LimitNICE= ulimit -e Nice Level
LimitRTPRIO= ulimit -r Realtime Priority
LimitRTTIME= No equivalent Microseconds
Oracle Java download via curl (reflects puppetlabs/java and puppet/archive)
curl -fsSL 'http://download.oracle.com/otn-pub/java/jdk/8u161-b12/2f38c3b165be4555a1fa6e98c45e0808/jre-8u161-linux-x64.rpm' -b 'gpw_e24=http%3A%2F%2Fwww.oracle.com%2F; oraclelicense=accept-securebackup-cookie' -D- -o/tmp/jdk-8u162-linux-x64.rpm_20180130-11842-1iicswq