본문 바로가기
카테고리 없음

DevOps - 도구 설치 1

by ^..^v 2020. 5. 27.
728x90
반응형

도구 다운로드

- GitHub 계정 : https://github.com/

- GIT : https://git-scm.com/downloads

- Atlassian Source Tree : https://www.sourcetreeapp.com/

- Tomcat : https://tomcat.apache.org/download-80.cgi

- Maven : https://maven.apache.org/download.cgi

- Artifactory : https://bintray.com/jfrog/artifactory/jfrog-artifactory-oss-zip/5.4.5

- Jenkins : https://www.jenkins.io/download/

- ElasticSearch : https://www.elastic.co/kr/downloads/elasticsearch

- Logstash : https://www.elastic.co/kr/downloads/logstash

- Kibana : https://www.elastic.co/kr/downloads/kibana/

 

Tomcat 설치 

작업 디렉터리에 다운로드 받은 apache-tomcat-8.5.55-windows-x64.zip 파일의 압축을 해제합니다. conf 디렉터리 아래의 tomcat-users.xml 파일에 역할(role)과 계정(user)을 등록합니다.

<?xml version="1.0" encoding="UTF-8"?>
<tomcat-users xmlns="http://tomcat.apache.org/xml"
              xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
              xsi:schemaLocation="http://tomcat.apache.org/xml tomcat-users.xsd"
              version="1.0">
  <role rolename="tomcat"/>
  <role rolename="manager-gui"/>
  <role rolename="manager-script"/>
  <user username="tomcat" password="tomcat" roles="tomcat"/>
  <user username="manager" password="tomcat" roles="tomcat,manager-gui"/>
  <user username="jenkins" password="jenkins" roles="manager-script"/>
</tomcat-users>

Tomcat을 실행합니다. 

D:\project\apache-tomcat-8.5.55\bin>catalina.bat start
Using CATALINA_BASE:   "D:\project\apache-tomcat-8.5.55"
Using CATALINA_HOME:   "D:\project\apache-tomcat-8.5.55"
Using CATALINA_TMPDIR: "D:\project\apache-tomcat-8.5.55\temp"
Using JRE_HOME:        "d:\project\jdk-12.0.2\"
Using CLASSPATH:       "D:\project\apache-tomcat-8.5.55\bin\bootstrap.jar;D:\project\apache-tomcat-8.5.55\bin\tomcat-juli.jar"

Tomcat 관리자 페이지(http://localhost:8080/manager)로 접속되는지 확인합니다. 사용자명은 manager, 패스워드는 tomcat입니다. 

 

Artifactory 설치

다운로드 받은 jfrog-artifactory-oss-5.4.5.zip 파일을 작업 디렉터리에 압축 해제합니다. 

압축 해제한 디렉터리의 app/bin/artifactory.bat 파일을 실행합니다. 

D:\project\artifactory-oss-5.4.5\bin>artifactory.bat

Starting Artifactory...

To stop, press Ctrl+c
java ok
Using CATALINA_BASE:   "D:\project\artifactory-oss-5.4.5\bin\..\tomcat"
Using CATALINA_HOME:   "D:\project\artifactory-oss-5.4.5\bin\..\tomcat"
Using CATALINA_TMPDIR: "D:\project\artifactory-oss-5.4.5\bin\..\tomcat\temp"
Using JRE_HOME:        "c:\Program Files\Java\jdk1.8.0_251\"
Using CLASSPATH:       "D:\project\artifactory-oss-5.4.5\bin\..\tomcat\bin\bootstrap.jar;D:\project\artifactory-oss-5.4.5\bin\..\tomcat\bin\tomcat-juli.jar"
5월 27, 2020 8:48:05 오전 org.apache.coyote.AbstractProtocol init
정보: Initializing ProtocolHandler ["http-nio-8081"]
5월 27, 2020 8:48:07 오전 org.apache.tomcat.util.net.NioSelectorPool getSharedSelector
정보: Using a shared selector for servlet write/read
5월 27, 2020 8:48:07 오전 org.apache.coyote.AbstractProtocol init
정보: Initializing ProtocolHandler ["ajp-nio-8019"]
5월 27, 2020 8:48:07 오전 org.apache.tomcat.util.net.NioSelectorPool getSharedSelector
정보: Using a shared selector for servlet write/read
5월 27, 2020 8:48:07 오전 org.apache.catalina.core.StandardService startInternal
정보: Starting service Catalina
5월 27, 2020 8:48:07 오전 org.apache.catalina.core.StandardEngine startInternal
정보: Starting Servlet Engine: Apache Tomcat/8.0.41
5월 27, 2020 8:48:07 오전 org.apache.catalina.startup.HostConfig deployDescriptor
정보: Deploying configuration descriptor D:\project\artifactory-oss-5.4.5\tomcat\conf\Catalina\localhost\access.xml
5월 27, 2020 8:48:07 오전 org.apache.catalina.startup.HostConfig deployDescriptor
정보: Deploying configuration descriptor D:\project\artifactory-oss-5.4.5\tomcat\conf\Catalina\localhost\artifactory.xml
08:48:08.533 [localhost-startStop-2] DEBUG o.a.converter.VersionProviderImpl - Last Artifactory database version is: v545
08:48:08.543 [localhost-startStop-2] INFO  o.a.converter.ConvertersManagerImpl - Triggering PRE_INIT conversion, from v545 to v545
08:48:08.614 [localhost-startStop-2] INFO  o.a.converter.ConvertersManagerImpl - Finished PRE_INIT conversion, current version is: v545
     /\
    /  \   ___ ___ ___  ___ ___
   / /\ \ / __/ __/ _ \/ __/ __|
  / ____ \ (_| (_|  __/\__ \__ \
 /_/    \_\___\___\___||___/___/
Access Version:  2.0.2
Access Revision: 20002900


08:48:10.095 [localhost-startStop-2] DEBUG o.a.converter.VersionProviderImpl - Last Artifactory database version is: v545
08:48:10.112 [Thread-5] INFO  o.a.c.c.watch.FileWatchingManager - Starting watch of folder configurations
2020-05-27 08:48:10 [ARTIFACTORY] [INFO ] End modify on local server='0154b79c7ca37152:5f3b6b2b:1725362debe:-8000' config='db.properties'
2020-05-27 08:48:10 [ARTIFACTORY] [INFO ] Received file changed event but file is same as in the DB
2020-05-27 08:48:10 [ARTIFACTORY] [INFO ] End modify on local server='0154b79c7ca37152:5f3b6b2b:1725362debe:-8000' config='artifactory.system.properties'
2020-05-27 08:48:10 [ARTIFACTORY] [INFO ] Received file changed event but file is same as in the DB
2020-05-27 08:48:10 [ARTIFACTORY] [INFO ] End modify on local server='0154b79c7ca37152:5f3b6b2b:1725362debe:-8000' config='artifactory.mimeType'
2020-05-27 08:48:10 [ARTIFACTORY] [INFO ] Received file changed event but file is same as in the DB
2020-05-27 08:48:10 [ARTIFACTORY] [INFO ] End modify on local server='0154b79c7ca37152:5f3b6b2b:1725362debe:-8000' config='artifactory.binarystore.xml'
2020-05-27 08:48:10 [ARTIFACTORY] [INFO ] Received file changed event but file is same as in the DB
2020-05-27 08:48:10 [ARTIFACTORY] [INFO ] End modify on local server='0154b79c7ca37152:5f3b6b2b:1725362debe:-8000' config='artifactory.security.access/data/access.version.properties'
2020-05-27 08:48:10 [ARTIFACTORY] [INFO ] Received file changed event but file is same as in the DB
2020-05-27 08:48:10 [ARTIFACTORY] [INFO ] End modify on local server='0154b79c7ca37152:5f3b6b2b:1725362debe:-8000' config='artifactory.security.access/keys/access.creds'
2020-05-27 08:48:10 [ARTIFACTORY] [INFO ] Received file changed event but file is same as in the DB
2020-05-27 08:48:10 [ARTIFACTORY] [INFO ] End modify on local server='0154b79c7ca37152:5f3b6b2b:1725362debe:-8000' config='artifactory.security.access/keys/root.crt'
2020-05-27 08:48:10 [ARTIFACTORY] [INFO ] Received file changed event but file is same as in the DB
2020-05-27 08:48:10 [ARTIFACTORY] [INFO ] End modify on local server='0154b79c7ca37152:5f3b6b2b:1725362debe:-8000' config='artifactory.security.access/keys/service_id'
2020-05-27 08:48:10 [ARTIFACTORY] [INFO ] Received file changed event but file is same as in the DB
2020-05-27 08:48:10 [ARTIFACTORY] [INFO ] End modify on local server='0154b79c7ca37152:5f3b6b2b:1725362debe:-8000' config='access.server.bundled.config'
2020-05-27 08:48:10 [ARTIFACTORY] [INFO ] Received file changed event but file is same as in the DB
2020-05-27 08:48:10.720  INFO 23544 --- [ost-startStop-1] o.j.a.s.startup.AccessHomeFinderImpl     : Using JFrog Access home at 'D:\project\artifactory-oss-5.4.5\bin\..\access' resolved from: System property (Artifactory)
2020-05-27 08:48:10 [ARTIFACTORY] [INFO ] Starting Artifactory [artifactory.home=D:\project\artifactory-oss-5.4.5\bin\..].
2020-05-27 08:48:11,375 [localhost-startStop-1] [JFrog-Access] [INFO ] (o.j.a.c.AccessApplicationContextInitializer:46) - Using JFrog Access home at 'D:\project\artifactory-oss-5.4.5\bin\..\access'
2020-05-27 08:48:11,413 [localhost-startStop-1] [JFrog-Access] [INFO ] (o.j.a.AccessApplication:48) - Starting AccessApplication v2.0.2 on DESKTOP-IH3G4IJ with PID 23544 (D:\project\artifactory-oss-5.4.5\tomcat\webapps\access\WEB-INF\lib\access-application-2.0.2.jar started by myanjini in D:\project\artifactory-oss-5.4.5\bin)
2020-05-27 08:48:11,415 [localhost-startStop-1] [JFrog-Access] [INFO ] (o.j.a.AccessApplication:637) - No active profile set, falling back to default profiles: default
2020-05-27 08:48:11,418 [art-init] [INFO ] (o.a.w.s.ArtifactoryContextConfigListener:280) -
                _   _  __           _                      ____   _____ _____
     /\        | | (_)/ _|         | |                    / __ \ / ____/ ____|
    /  \   _ __| |_ _| |_ __ _  ___| |_ ___  _ __ _   _  | |  | | (___| (___
   / /\ \ | '__| __| |  _/ _` |/ __| __/ _ \| '__| | | | | |  | |\___ \\___ \
  / ____ \| |  | |_| | || (_| | (__| || (_) | |  | |_| | | |__| |____) |___) |
 /_/    \_\_|   \__|_|_| \__,_|\___|\__\___/|_|   \__, |  \____/|_____/_____/
 Version:  5.4.5                                   __/ |
 Revision: 50405900                               |___/
 Artifactory Home: 'D:\project\artifactory-oss-5.4.5\bin\..'

5월 27, 2020 8:48:11 오전 org.apache.catalina.startup.HostConfig deployDescriptor
정보: Deployment of configuration descriptor D:\project\artifactory-oss-5.4.5\tomcat\conf\Catalina\localhost\artifactory.xml has finished in 4,506 ms
2020-05-27 08:48:11,900 [art-init] [INFO ] (o.a.s.ArtifactoryApplicationContext:433) - Artifactory application context set to NOT READY by refresh
2020-05-27 08:48:11,903 [art-init] [INFO ] (o.a.s.ArtifactoryApplicationContext:213) - Refreshing Artifactory: startup date [Wed May 27 08:48:11 KST 2020]; root of context hierarchy
2020-05-27 08:48:17,894 [localhost-startStop-1] [JFrog-Access] [INFO ] (o.j.a.s.d.u.AccessJdbcHelper:76) - Database: Apache Derby 10.11.1.1 - (1616546). Driver: Apache Derby Embedded JDBC Driver 10.11.1.1 - (1616546)
2020-05-27 08:48:17,895 [localhost-startStop-1] [JFrog-Access] [INFO ] (o.j.a.s.d.u.AccessJdbcHelper:78) - Connection URL: jdbc:derby:D:\project\artifactory-oss-5.4.5\bin\..\data\derby
2020-05-27 08:48:19,107 [art-init] [INFO ] (o.a.s.d.DbServiceImpl:188) - Database: Apache Derby 10.11.1.1 - (1616546). Driver: Apache Derby Embedded JDBC Driver 10.11.1.1 - (1616546)
2020-05-27 08:48:19,109 [art-init] [INFO ] (o.a.s.d.DbServiceImpl:190) - Connection URL: jdbc:derby:D:\project\artifactory-oss-5.4.5\bin\..\data/derby
2020-05-27 08:48:19,548 [localhost-startStop-1] [JFrog-Access] [INFO ] (o.j.a.s.s.t.TokenServiceImpl:79) - Scheduling task for revoking expired tokens using cron expression: 0 0 0/1 * * ?
2020-05-27 08:48:19,805 [localhost-startStop-1] [JFrog-Access] [INFO ] (o.j.a.r.c.JerseyConfig:62) - Registering jax-rs provider: org.jfrog.access.server.rest.resource.oauth.TokenRequestFormMessageBodyReader
2020-05-27 08:48:19,807 [localhost-startStop-1] [JFrog-Access] [INFO ] (o.j.a.r.c.JerseyConfig:62) - Registering jax-rs provider: org.jfrog.access.server.rest.resource.oauth.TokenRevokeFormMessageBodyReader
2020-05-27 08:48:19,811 [localhost-startStop-1] [JFrog-Access] [INFO ] (o.j.a.r.c.JerseyConfig:62) - Registering jax-rs provider: org.jfrog.access.server.rest.exception.mappers.TokenExpiredExceptionMapper
2020-05-27 08:48:19,815 [localhost-startStop-1] [JFrog-Access] [INFO ] (o.j.a.r.c.JerseyConfig:62) - Registering jax-rs provider: org.jfrog.access.server.rest.exception.mappers.ForbiddenExceptionMapper
2020-05-27 08:48:19,816 [localhost-startStop-1] [JFrog-Access] [INFO ] (o.j.a.r.c.JerseyConfig:62) - Registering jax-rs provider: org.jfrog.access.server.rest.exception.mappers.DefaultExceptionMapper
2020-05-27 08:48:19,818 [localhost-startStop-1] [JFrog-Access] [INFO ] (o.j.a.r.c.JerseyConfig:62) - Registering jax-rs provider: org.jfrog.access.server.rest.exception.mappers.TokenNotFoundExceptionMapper
2020-05-27 08:48:19,824 [localhost-startStop-1] [JFrog-Access] [INFO ] (o.j.a.r.c.JerseyConfig:62) - Registering jax-rs provider: org.jfrog.access.server.rest.exception.mappers.UnauthorizedExceptionMapper
2020-05-27 08:48:20,068 [localhost-startStop-1] [JFrog-Access] [WARN ] (o.s.b.a.j.JacksonAutoConfiguration$JodaDateTimeJacksonConfiguration:138) - spring.jackson.date-format could not be used to configure formatting of Joda's DateTime. You may want to configure spring.jackson.joda-date-time-format as well.
2020-05-27 08:48:20,650 [art-init] [INFO ] (o.j.s.b.p.t.BinaryProviderClassScanner:76) - Added 'blob' from jar:file:/D:/project/artifactory-oss-5.4.5/tomcat/webapps/artifactory/WEB-INF/lib/artifactory-storage-db-5.4.5.jar!/
2020-05-27 08:48:20,674 [art-init] [INFO ] (o.j.s.b.p.t.BinaryProviderClassScanner:76) - Added 'empty, external-file, external-wrapper, file-system, cache-fs, retry' from jar:file:/D:/project/artifactory-oss-5.4.5/tomcat/webapps/artifactory/WEB-INF/lib/binary-store-core-2.0.14.jar!/
2020-05-27 08:48:24,327 [art-init] [INFO ] (o.a.s.ArtifactorySchedulerFactoryBean:647) - Starting Quartz Scheduler now
2020-05-27 08:48:24,452 [art-init] [INFO ] (o.a.s.ArtifactoryApplicationContext:220) - Artifactory context starting up 38 Spring Beans...
2020-05-27 08:48:24,601 [localhost-startStop-1] [JFrog-Access] [INFO ] (o.j.a.s.AccessServerBootstrapImpl:81) - [ACCESS BOOTSTRAP] Starting JFrog Access bootstrap...
2020-05-27 08:48:25,369 [art-init] [INFO ] (o.a.s.a.ArtifactoryAccessClientConfigStore:472) - Using Access Server URL: http://localhost:8081/access (bundled) source: detected
2020-05-27 08:48:26,593 [localhost-startStop-1] [JFrog-Access] [INFO ] (o.j.a.s.AccessServerBootstrapImpl:159) - [ACCESS BOOTSTRAP] Updating server 'dfcc9831-7811-4091-bd5e-fcfab45cb770' private key finger print to: ed058fdfcb1ad7103a4ddb3b5d3e7b35ac0aa676305701389420be824d22c4d2
2020-05-27 08:48:26,875 [art-init] [INFO ] (o.a.s.a.AccessServiceImpl:233) - Waiting for access server...
2020-05-27 08:48:26,909 [localhost-startStop-1] [JFrog-Access] [INFO ] (o.j.a.s.AccessServerBootstrapImpl:88) - [ACCESS BOOTSTRAP] JFrog Access bootstrap finished.
2020-05-27 08:48:31,144 [localhost-startStop-1] [JFrog-Access] [INFO ] (o.j.a.AccessApplication:57) - Started AccessApplication in 22.19 seconds (JVM running for 26.005)
5월 27, 2020 8:48:31 오전 org.apache.catalina.startup.HostConfig deployDescriptor
정보: Deployment of configuration descriptor D:\project\artifactory-oss-5.4.5\tomcat\conf\Catalina\localhost\access.xml has finished in 23,935 ms
5월 27, 2020 8:48:31 오전 org.apache.catalina.startup.HostConfig deployDirectory
정보: Deploying web application directory D:\project\artifactory-oss-5.4.5\tomcat\webapps\ROOT
5월 27, 2020 8:48:31 오전 org.apache.catalina.startup.HostConfig deployDirectory
정보: Deployment of web application directory D:\project\artifactory-oss-5.4.5\tomcat\webapps\ROOT has finished in 26 ms
5월 27, 2020 8:48:31 오전 org.apache.coyote.AbstractProtocol start
정보: Starting ProtocolHandler ["http-nio-8081"]
5월 27, 2020 8:48:31 오전 org.apache.coyote.AbstractProtocol start
정보: Starting ProtocolHandler ["ajp-nio-8019"]
2020-05-27 08:48:33,522 [art-init] [INFO ] (o.a.s.a.AccessServiceImpl:243) - Got response from Access server after 6646 ms, continuing.
2020-05-27 08:48:33 [ARTIFACTORY] [INFO ] [Node ID: 0154b79c7ca37152:5f3b6b2b:1725362debe:-8000] detected local modify for config 'artifactory.security.access/data/access.version.properties'
2020-05-27 08:48:33 [ARTIFACTORY] [INFO ] Start modify on local server='0154b79c7ca37152:5f3b6b2b:1725362debe:-8000' config='artifactory.security.access/data/access.version.properties'
2020-05-27 08:48:33 [ARTIFACTORY] [INFO ] Updating database with config changes for artifactory.security.access/data/access.version.properties
2020-05-27 08:48:33 [ARTIFACTORY] [INFO ] End modify on local server='0154b79c7ca37152:5f3b6b2b:1725362debe:-8000' config='artifactory.security.access/data/access.version.properties'
2020-05-27 08:48:33 [ARTIFACTORY] [INFO ] End modify on local server='0154b79c7ca37152:5f3b6b2b:1725362debe:-8000' config='artifactory.security.access/data/access.version.properties'
2020-05-27 08:48:33 [ARTIFACTORY] [INFO ] Received file changed event but file is same as in the DB
2020-05-27 08:48:33,980 [art-init] [INFO ] (o.a.i.InfoWriter    :87) -

 SYSTEM INFORMATION DUMP
 =======================

 User Info
 ========================
   user.country                                                          | KR
   user.dir                                                              | D:\project\artifactory-oss-5.4.5\bin
   user.home                                                             | C:\Users\myanj
   user.language                                                         | ko
   user.name                                                             | myanjini
   user.timezone                                                         | Asia/Seoul

 Host Info
 ========================
   Available Processors                                                  | 8
   Heap Memory Usage-Commited                                            | 536870912
   Heap Memory Usage-Init                                                | 536870912
   Heap Memory Usage-Max                                                 | 2147483648
   Heap Memory Usage-Used                                                | 192058384
   Non-Heap Memory Usage-Commited                                        | 144138240
   Non-Heap Memory Usage-Init                                            | 2555904
   Non-Heap Memory Usage-Max                                             | -1
   Non-Heap Memory Usage-Used                                            | 139969848
   os.arch                                                               | amd64
   os.name                                                               | Windows 10
   os.version                                                            | 10.0

 Artifactory Info
 ========================
   artifactory.runMode.test                                              | false
   artifactory.runMode.qa                                                | false
   artifactory.runMode.dev                                               | false
   artifactory.runMode.devHa                                             | false
   artifactory.version                                                   | 5.4.5
   artifactory.revision                                                  | 50405900
   artifactory.timestamp                                                 | 1500289871350
   artifactory.servlet.supportUrlSessionTracking                         | false
   artifactory.addons.disabled                                           |
   artifactory.addons.info.url                                           | http://service.jfrog.org/artifactory/addons/info/%s
   artifactory.addons.info.url                                           | http://www.jfrog.com/confluence/display/RTF/%s
   artifactory.async.corePoolSize                                        | 32
   artifactory.async.poolTtlSecs                                         | 60
   artifactory.async.poolMaxQueueSize                                    | 10000
   artifactory.versioningQueryIntervalSecs                               | 7200
   artifactory.logs.viewRefreshRateSecs                                  | 10
   artifactory.locks.timeoutSecs                                         | 120
   artifactory.locks.debugTimeouts                                       | false
   artifactory.task.completionLockTimeoutRetries                         | 100
   artifactory.repo.concurrentDownloadSyncTimeoutSecs                    | 900
   artifactory.repo.downloadStatsEnabled                                 | true
   artifactory.repo.global.disabled                                      | true
   artifactory.fsitem.cache.idleTimeSecs                                 | 1200
   artifactory.docker.tokens.cache.idleTimeSecs                          | 240
   artifactory.artifactory.tokens.cache.idleTimeSecs                     | 600
   artifactory.cacheFS.sync.quietPeriodSecs                              | 900
   artifactory.search.maxResults                                         | 500
   artifactory.search.userQueryLimit                                     | 1000
   artifactory.search.content.maxFragments                               | 500
   artifactory.search.content.maxFragmentsSize                           | 5000
   artifactory.search.archive.minQueryLength                             | 3
   artifactory.search.pattern.timeoutSecs                                | 30
   artifactory.gc.useIndex                                               | false
   artifactory.gc.intervalSecs                                           | 86400
   artifactory.gc.delaySecs                                              | 7200
   artifactory.gc.sleepBetweenNodesMillis                                | 20
   artifactory.gc.scanStartSleepingThresholdMillis                       | 20000
   artifactory.gc.scanSleepBetweenIterationsMillis                       | 200
   artifactory.gc.fileScanSleepIterationMillis                           | 1000
   artifactory.gc.fileScanSleepMillis                                    | 250
   artifactory.gc.maxCacheEntries                                        | 10000
   artifactory.gc.readersMaxTimeSecs                                     | 10800
   artifactory.gc.failCount.threshold                                    | 3
   artifactory.traffic.collectionActive                                  | false
   artifactory.security.authentication.cache.initSize                    | 100
   artifactory.security.authentication.cache.idleTimeSecs                | 300
   artifactory.security.userLastAccessUpdatesResolutionSecs              | 5
   artifactory.security.master.key                                       | ************************
   artifactory.security.master.key.numOfFallbackKeys                     | *
   artifactory.security.disableRememberMe                                | false
   artifactory.security.ldap.forceGroupMemberAttFullDN                   | false
   artifactory.security.ldap.disable.group.search.attributes.limitation  | false
   artifactory.security.ldap.group.search.filterThreshold                | 0
   artifactory.enable.aql.read.committed                                 | false
   artifactory.mvn.central.hostPattern                                   | .maven.org
   artifactory.mvn.central.indexerMaxQueryIntervalSecs                   | 86400
   artifactory.mvn.metadata.plugin.calculation.workers                   | 2
   artifactory.mvn.metadata.calculation.workers                          | 8
   artifactory.mvn.dynamicMetadata.cacheRetentionSecs                    | 10
   artifactory.mvn.metadata.version3.enabled                             | true
   artifactory.mvn.custom.types                                          | tar.gz,tar.bz2
   artifactory.request.disableVersionTokens                              | false
   artifactory.request.searchLatestReleaseByDateCreated                  | false
   artifactory.npm.tag.tagLatestByPublish                                | false
   artifactory.build.maxFoldersToScanForDeletionWarnings                 | 2
   artifactory.build.checksum.cache.idleTimeSecs                         | 300
   artifactory.updates.refreshIntervalSecs                               | 14400
   artifactory.updates.url                                               | http://service.jfrog.org/artifactory/updates
   artifactory.artifactoryRequestsToGlobalCanRetrieveRemoteArtifacts     | false
   artifactory.ui.syntaxColoringMaxTextSizeBytes                         | 512000
   artifactory.plugin.scripts.refreshIntervalSecs                        | 0
   artifactory.plugin.aol.support                                        | false
   artifactory.aol.dedicated.server                                      | false
   artifactory.aol.displayAccountManagementLink                          | true
   artifactory.aol.security.http.sso.enable                              | false
   artifactory.file.roller.maxFileToRetain                               | 10
   artifactory.backup.fileExportSleepIterationMillis                     | 2000
   artifactory.backup.fileExportSleepMillis                              | 250
   artifactory.s3.existsCheckAfterAddingStream                           | true
   artifactory.http.acceptEncoding.gzip                                  | true
   artifactory.http.useExpectContinue                                    | false
   artifactory.http.forceForbiddenResponse                               | false
   artifactory.http.connectionPool.timeToLive                            | 30
   artifactory.http.enableCookieManagement                               | false
   artifactory.filtering.resourceSizeKb                                  | 64
   artifactory.repo.remote.checkForExistingResourceOnRequest             | true
   artifactory.version.query.enabled                                     | true
   artifactory.response.disableContentDispositionFilename                | false
   artifactory.composer.metadata.extractor.workers                       | 20
   artifactory.composer.metadata.index.workers                           | 10
   artifactory.chef.metadata.index.workers                               | 10
   artifactory.yum.virtual.metadata.calculation.workers                  | 5
   artifactory.yum.calculationRequest.aggregationTimeWindowSecs          | 60
   artifactory.yum.calculationRequest.aggregationCycleSecs               | 60
   artifactory.debian.metadata.calculation.workers                       | 8
   artifactory.debian.remote.etag                                        | true
   artifactory.debian.metadata.validation                                | true
   artifactory.debian.metadata.calculateMd5InPackagesFiles               | false
   artifactory.archive.licenseFile.names                                 | license,LICENSE,license.txt,LICENSE.txt,LICENSE.TXT
   artifactory.ui.search.maxRowsPerPage                                  | 20
   artifactory.replication.checksumDeploy.minSizeKb                      | 10
   artifactory.replication.consumer.queueSize                            | 1
   artifactory.replication.local.iteration.sleepThresholdMillis          | 1000
   artifactory.replication.local.iteration.sleepMillis                   | 100
   artifactory.replication.event.queue.size                              | 50000
   artifactory.replication.properties.max.length                         | 100000
   artifactory.replication.statistics.max.length                         | 5000
   artifactory.replication.initContext.task.intervalSecs                 | 60
   artifactory.request.explodedArchiveExtensions                         | zip,tar,tar.gz,tgz
   artifactory.bintray.jcenter.url                                       | http://jcenter.bintray.com
   artifactory.bintray.url                                               | https://bintray.com
   artifactory.bintray.api.url                                           | https://api.bintray.com
   artifactory.bintray.token.expirySecs                                  | 3600
   artifactory.bintray.distributionRegex.timeoutMillis                   | 180000
   artifactory.bintray.ui.hideUploads                                    | false
   artifactory.bintray.ui.hideInfo                                       | false
   artifactory.bintray.ui.hideRemoteSearch                               | false
   artifactory.bintray.client.threadPool.size                            | 5
   artifactory.enable.ui.pages.in.Iframe                                 | false
   artifactory.bintray.client.requestTimeoutMS                           | 150000
   artifactory.bintray.client.distribution.requestTimeoutMS              | 30000
   artifactory.bintray.client.signRequestTimeoutMS                       | 45000
   artifactory.useUserNameAutoCompleteOnLogin                            | on
   artifactory.ui.hideEncryptedPassword                                  | *****
   artifactory.stats.flushIntervalSecs                                   | 30
   artifactory.stats.remote.flushIntervalSecs                            | 35
   artifactory.stats.flushTimeoutSecs                                    | 120
   artifactory.integrationCleanup.intervalSecs                           | 300
   artifactory.integrationCleanup.quietPeriodSecs                        | 60
   artifactory.folderPruning.intervalSecs                                | 300
   artifactory.folderPruning.quietPeriodSecs                             | 60
   artifactory.repo.virtualCacheCleanup.maxAgeHours                      | 168
   artifactory.repo.virtualCacheCleanup.pattern                          | *.pom
   artifactory.security.authentication.password.salt                     | ****************
   artifactory.db.idGenerator.fetch.amount                               | 2000
   artifactory.db.idGenerator.max.update.retries                         | 50
   artifactory.gems.localIndexTaskIntervalSecs                           | 30
   artifactory.gems.virtualIndexTaskIntervalSecs                         | 300
   artifactory.gems.gemsIndexTaskQueueLimit                              | 20000
   artifactory.gems.gemsAfterRepoInitHack                                | true
   artifactory.security.authentication.crowd.group.startIndex            | 0
   artifactory.security.authentication.crowd.group.maxResults            | 9999
   artifactory.ui.hideChecksums                                          | false
   artifactory.archive.indexer.intervalSecs                              | 60
   artifactory.xray.indexer.intervalSecs                                 | 60
   artifactory.xray.force.reindex                                        | false
   artifactory.xray.scanBuild.httpClient.max.connections                 | 30
   artifactory.nuget.inMemoryRemoteCaches                                | true
   artifactory.nuget.forceAuthentication                                 | false
   artifactory.nuget.allowRootGetWithAnon                                | false
   artifactory.ha.heartbeat.intervalSecs                                 | 5
   artifactory.ha.heartbeat.staleSecs                                    | 30
   artifactory.ha.heartbeat.recently.worked.trigger.days                 | 7
   artifactory.binary.store.error.notification.intervalSecs              | 30
   artifactory.binary.store.error.notification.staleSecs                 | 30
   artifactory.ha.membersIntroduction.intervalSecs                       | 30
   artifactory.ha.membersIntroduction.staleSecs                          | 30
   artifactory.npm.index.quietPeriodSecs                                 | 60
   artifactory.npm.index.cycleSecs                                       | 60
   artifactory.import.max.parallelRepos                                  | 7
   artifactory.debian.distribution.path                                  | dists
   artifactory.opkg.index.quietPeriodSecs                                | 60
   artifactory.opkg.index.cycleSecs                                      | 2
   artifactory.debian.default.architectures                              | i386,amd64
   artifactory.pypi.index.quietPeriodSecs                                | 60
   artifactory.pypi.index.sleepMilliSecs                                 | 60
   artifactory.docker.cleanup.maxAgeMillis                               | 86400000
   artifactory.docker.tags.cleanup.intervalSecs                          | 300
   artifactory.docker.tags.cleanup.quietPeriodSecs                       | 60
   artifactory.http.range.support                                        | true
   artifactory.acl.dirty.read.timeout                                    | 20000
   artifactory.central.config.dirty.read.timeout.millis                  | 2000
   artifactory.repositories.dirty.read.timeout.millis                    | 5000
   artifactory.ping.allowUnauthenticated                                 | false
   artifactory.repo.http.idleConnectionMonitorInterval                   | 10
   artifactory.repo.http.disableIdleConnectionMonitoring                 | false
   artifactory.support.core.bundle.contentCollectionAwaitTimeout         | 60
   artifactory.support.core.bundle.waitForSlotBeforeWithdraw             | 600
   artifactory.support.core.bundle.maxBundles                            | 5
   artifactory.binary.provider.zones                                     | a,b,c
   artifactory.binary.provider.prune.chunk.size                          | 500
   artifactory.properties.search.chunk.size                              | 500
   artifactory.security.useFrontCacheForBlockedUsers                     | true
   artifactory.security.loginBlockDelay                                  | 500
   artifactory.security.password.expiry.passwordExpireNotificationJobIntervalSecs| *****
   artifactory.security.password.expiry.passwordExpireJobIntervalSecs    | *****
   artifactory.security.password.expiry.daysToNotifyBefore               | *
   artifactory.http.client.max.total.connections                         | 50
   artifactory.http.client.max.connections.per.route                     | 50
   artifactory.hazelcast.max.lock.lease.time.minutes                     | 30
   artifactory.repo.remote.blockedMismatchingMimeTypes                   | text/html,application/xhtml+xml
   artifactory.mvn.metadata.calculation.skip.delete.event                | false
   artifactory.repo.remote.browsing.content.length.limit.KB              | 1024
   artifactory.hazelcast.management                                      | false
   artifactory.sumologic.api.url                                         | https://auth.sumologic.com
   artifactory.move.copy.max.folder.cache.size                           | 1000000
   artifactory.move.copy.default.transaction.size                        | 1000
   artifactory.node.properties.replace.all                               | false
   artifactory.node.properties.log.performance                           | false
   artifactory.workQueue.execution.syncExecutionTimeoutMillis            | 120000
   artifactory.workitem.max.lock.lease.time.minutes                      | 30
   artifactory.security.communication.constant                           | ArtifactorySecurityCommunicationConstant
   artifactory.nuget.disablePermissionCheck                              | false
   artifactory.treebrowser.sortRepositories.sortByType                   | virtual,distribution,local,remote
   artifactory.maven.metadata.publishModelVersion                        | true
   artifactory.access.token.expiresIn.default                            | 3600
   artifactory.access.client.token.verify.result.cache.size              | -1
   artifactory.access.client.token.verify.result.cache.expiry            | -1
   artifactory.access.client.waitForServer                               | 60
   artifactory.puppet.metadata.calculation.workers                       | 5
   artifactory.puppet.repo.metadata.calculation.workers                  | 5
   artifactory.puppet.reindex.period                                     | 1800
   artifactory.puppet.additional.modulegroup                             |
   artifactory.puppet.additional.endorsement                             |
   artifactory.onboarding.skipWizard                                     | false
   artifactory.configuration.manager.retry.amount                        | 3
   artifactory.aggregation.time.window.secs                              | 60
   artifactory.most.downloaded.cache.idleTimeSecs                        | 900
   artifactory.build.retention.workers                                   | 10
   artifactory.build.retention.always.async                              | false
   artifactory.home                                                      | D:\project\artifactory-oss-5.4.5\bin\..

 Java System Info
 ========================
   java.class.version                                                    | 52.0
   java.home                                                             | c:\Program Files\Java\jdk1.8.0_251\jre
   java.io.tmpdir                                                        | D:\project\artifactory-oss-5.4.5\bin\..\tomcat\temp
   java.runtime.name                                                     | Java(TM) SE Runtime Environment
   java.runtime.version                                                  | 1.8.0_251-b08
   java.specification.name                                               | Java Platform API Specification
   java.specification.vendor                                             | Oracle Corporation
   java.specification.version                                            | 1.8
   java.vendor                                                           | Oracle Corporation
   java.vendor.url                                                       | http://java.oracle.com/
   java.vendor.url.bug                                                   | http://bugreport.sun.com/bugreport/
   java.version                                                          | 1.8.0_251
   java.vm.info                                                          | mixed mode
   java.vm.name                                                          | Java HotSpot(TM) 64-Bit Server VM
   java.vm.specification.name                                            | Java Virtual Machine Specification
   java.vm.specification.vendor                                          | Oracle Corporation
   java.vm.specification.version                                         | 1.8
   java.vm.vendor                                                        | Oracle Corporation
   java.vm.version                                                       | 25.251-b08
   sun.arch.data.model                                                   | 64
   sun.boot.library.path                                                 | c:\Program Files\Java\jdk1.8.0_251\jre\bin
   sun.cpu.endian                                                        | little
   sun.cpu.isalist                                                       | amd64
   sun.io.unicode.encoding                                               | UnicodeLittle
   sun.java.launcher                                                     | SUN_STANDARD
   sun.jnu.encoding                                                      | MS949
   sun.management.compiler                                               | HotSpot 64-Bit Tiered Compilers
   sun.os.patch.level                                                    |
   JVM Input arguments                                                   | -Djava.util.logging.config.file=D:\project\artifactory-oss-5.4.5\bin\..\tomcat\conf\logging.properties
                                                                         | -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
                                                                         | -Djdk.tls.ephemeralDHKeySize=****
                                                                         | -Djava.protocol.handler.pkgs=org.apache.catalina.webresources
                                                                         | -Xms512m
                                                                         | -Xmx2g
                                                                         | -Xss256k
                                                                         | -XX:+UseG1GC
                                                                         | -Dartifactory.home=D:\project\artifactory-oss-5.4.5\bin\..
                                                                         | -Dfile.encoding=UTF8
                                                                         | -Djruby.compile.invokedynamic=false
                                                                         | -Dartdist=zip
                                                                         | -Dorg.apache.tomcat.util.buf.UDecoder.ALLOW_ENCODED_SLASH=true
                                                                         | -Djava.endorsed.dirs=D:\project\artifactory-oss-5.4.5\bin\..\tomcat\endorsed
                                                                         | -Dcatalina.base=D:\project\artifactory-oss-5.4.5\bin\..\tomcat
                                                                         | -Dcatalina.home=D:\project\artifactory-oss-5.4.5\bin\..\tomcat
                                                                         | -Djava.io.tmpdir=D:\project\artifactory-oss-5.4.5\bin\..\tomcat\temp

 Java Class Path Info
 ========================
   sun.boot.class.path                                                   | c:\Program Files\Java\jdk1.8.0_251\jre\lib\resources.jar
                                                                         | c:\Program Files\Java\jdk1.8.0_251\jre\lib\rt.jar
                                                                         | c:\Program Files\Java\jdk1.8.0_251\jre\lib\sunrsasign.jar
                                                                         | c:\Program Files\Java\jdk1.8.0_251\jre\lib\jsse.jar
                                                                         | c:\Program Files\Java\jdk1.8.0_251\jre\lib\jce.jar
                                                                         | c:\Program Files\Java\jdk1.8.0_251\jre\lib\charsets.jar
                                                                         | c:\Program Files\Java\jdk1.8.0_251\jre\lib\jfr.jar
                                                                         | c:\Program Files\Java\jdk1.8.0_251\jre\classes
   java.library.path                                                     | c:\Program Files\Java\jdk1.8.0_251\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files (x86)\Bitvise SSH Client;c:\Program Files\Java\jdk1.8.0_251\\bin;C:\Program Files\Git\cmd;d:\project\apache-maven-3.3.9\\bin;C:\Program Files\nodejs\;C:\Users\myanj\.windows-build-tools\python27\;C:\Users\myanj\AppData\Local\Microsoft\WindowsApps;C:\Users\myanj\AppData\Roaming\npm;C:\Users\myanj\AppData\Local\Programs\Microsoft VS Code\bin;.
   java.endorsed.dirs                                                    | D:\project\artifactory-oss-5.4.5\bin\..\tomcat\endorsed
   java.ext.dirs                                                         | c:\Program Files\Java\jdk1.8.0_251\jre\lib\ext;C:\Windows\Sun\Java\lib\ext
   java.class.path                                                       | D:\project\artifactory-oss-5.4.5\bin\..\tomcat\bin\bootstrap.jar
                                                                         | D:\project\artifactory-oss-5.4.5\bin\..\tomcat\bin\tomcat-juli.jar

2020-05-27 08:48:34,251 [art-init] [INFO ] (o.a.c.c.ConfigurationManagerImpl:388) - Replacing temporary DB channel with permanent DB channel
2020-05-27 08:48:34,254 [art-init] [INFO ] (o.a.c.c.ConfigurationManagerImpl:391) - Successfully closed temporary DB channel
2020-05-27 08:48:34,259 [art-init] [INFO ] (o.a.s.ArtifactoryApplicationContext:433) - Artifactory application context set to READY by refresh
2020-05-27 08:48:34,260 [art-init] [INFO ] (o.a.c.ConvertersManagerImpl:209) - Sending configuration update message to other nodes
2020-05-27 08:48:34,284 [art-init] [INFO ] (o.a.w.s.ArtifactoryContextConfigListener:226) -
###########################################################
### Artifactory successfully started (22.881 seconds)   ###
###########################################################

http://localhost:8081로 접속해서 설정을 마무리 합니다.

설정이 완료되면 admin / password 계정으로 로그인 후 사용할 수 있습니다. 

 

Jenkins 설치

8080 포트를 사용하고 있는 프로그램(예: Tomcat)이 있으면 중지합니다.

다운로드 받은 jenkins-2.222.3.zip 파일을 압축 해제한 후 jenkins.msi 파일을 실행해서 설치합니다. 

설치가 완료되면 브라우저가 열리면서 젠킨스 설정 페이지가 호출됩니다. 

안내에 따라 initialAdminPassword 파일의 내용으로 젠킨스에 로그인 합니다.

불필요한 플러그인을 설치에서 제외합니다. 

관리자 계정을 생성합니다.
서비스 포트를 8090으로 변경합니다.
젠킨스를 시작합니다.

C:\Program Files (x86)\Jenkins\jenkins.xml 파일의 <arguments> 항목을 수정해 젠킨스 서비스 포트를 직접 변경할 수 있습니다. 

<service>
  <id>Jenkins</id>
  <name>Jenkins</name>
  <description>This service runs Jenkins automation server.</description>
  <env name="JENKINS_HOME" value="%BASE%"/>
  <executable>%BASE%\jre\bin\java</executable>
  <arguments>-Xrs -Xmx256m -Dhudson.lifecycle=hudson.lifecycle.WindowsServiceLifecycle -jar "%BASE%\jenkins.war" --httpPort=8090 --webroot="%BASE%\war"</arguments>
  <logmode>rotate</logmode>

  <onfailure action="restart" />
  
  <extensions>
    <extension enabled="true" 
               className="winsw.Plugins.RunawayProcessKiller.RunawayProcessKillerExtension"
               id="killOnStartup">
      <pidfile>%BASE%\jenkins.pid</pidfile>
      <stopTimeout>10000</stopTimeout>
      <stopParentFirst>false</stopParentFirst>
    </extension>
  </extensions>
</service>

젠킨스 시작과 중지는 jenkins 명령으로 가능합니다. (관리자 권한이 필요)

C:\Program Files (x86)\Jenkins>jenkins stop
2020-05-27 11:38:39,413 INFO  - Stopping the service with id 'Jenkins'

C:\Program Files (x86)\Jenkins>jenkins start
2020-05-27 11:39:32,087 INFO  - Starting the service with id 'Jenkins'

 

젠킨스가 재시작되면 http://localhost:8090으로 접속 후 관리자 계정으로 로그인합니다.

 

젠킨스 설치를 위해 중지했던 Tomcat 서버를 실행합니다. 

D:\project\apache-tomcat-8.5.55\bin>catalina.bat start
Using CATALINA_BASE:   "D:\project\apache-tomcat-8.5.55"
Using CATALINA_HOME:   "D:\project\apache-tomcat-8.5.55"
Using CATALINA_TMPDIR: "D:\project\apache-tomcat-8.5.55\temp"
Using JRE_HOME:        "c:\Program Files\Java\jdk1.8.0_251\"
Using CLASSPATH:       "D:\project\apache-tomcat-8.5.55\bin\bootstrap.jar;D:\project\apache-tomcat-8.5.55\bin\tomcat-juli.jar"
728x90
반응형

댓글