Redis Config Explain
Software활용 2020. 3. 27. 16:38

Redis Config Section redis-cli를 통해서 redis console에 진입 할 경우 info명령어를 통해서 다음 section에 대한 정보를 획득 할 수있다. info server : 기본 정보 clients : client의 접속 정보 memory : 메모리 사용 관련 정보 persistence : RDB와 AOF(Append Only File) 관련 정보 AOF의 경우는 appendonly.aof 파일에 입력/수정/삭제 실행 명령 실행시 마다 기록 (조회 제외) Redis 서버 작동시 FLUSHALL명령을 사용한 경우 해당 파일을 이용해서 DB를 재 구축 할 수 있음 http://redisgate.kr/redis/configuration/persistence.php RDB의 경우..

Postgresql 11 installation on Centos7
Software활용 2020. 3. 27. 16:37

https://www.postgresql.org/download/linux/redhat/ Select version : 11 Select Platform : Redhat Enterprise Select Archtecture : x86_64 yum install https://download.postgresql.org/pub/repos/yum/reporpms/EL-7-x86_64/pgdg-redhat-repo-latest.noarch.rpm yum install postgresql11 yum install postgresql11-server default db install /usr/pgsql-11/bin/postgresql-11-setup initdb change access control [root@l..

Pgmodeler install
Software활용 2020. 3. 27. 16:37

stevenui-MacBookPro:pgmodeler steven$ git https://github.com/pgmodeler/pgmodeler.git git: 'https://github.com/pgmodeler/pgmodeler.git' is not a git command. See 'git --help'. stevenui-MacBookPro:pgmodeler steven$ git clone https://github.com/pgmodeler/pgmodeler.git Cloning into 'pgmodeler'... remote: Enumerating objects: 295, done. remote: Counting objects: 100% (295/295)..

Build a Node.js and React app with npm on jenkins
Software활용 2020. 3. 27. 16:36

https://jenkins.io/doc/tutorials/build-a-node-js-and-react-app-with-npm/ 이 예제를 따라 가면서 기록 남기는 용도이다. Github fork https://github.com/jenkins-docs/simple-node-js-react-npm-app 이 곳에 가서 우 상단 fork 버튼을 클릭한다. github가 가입되어있고, 내 레파지토리로 상위가 포크 된다는 전제이다. Jenkins File을 레파지토리에 직접 넣어 줘야 해서 필요하다. 아니면 예제에 나온것처럼 로컬 작업을 해야 하는데 그게 더 힘들 것 같다. 파이프라인만들기 젠킨스 대쉬보드 > 새로운아이템 > 파이프라인 선택 > 저장(이름 넣고) 파이프라인 : Pipeline script f..

Mattermost install with docker-composer on Centos7
Software활용 2020. 3. 27. 16:36

Docker와 Docker-Compose가 Centos에 이미 설치 되어있다는 전제임 Location 관련 자료 docker-compose github 위치 https://github.com/mattermost/mattermost-docker docker-compose를 이용한 deployment 설명 https://docs.mattermost.com/install/prod-docker.html 로컬 Download 및 환경 설정 git clone https://github.com/mattermost/mattermost-docker.git cd mattermost-docker docker-compose build mkdir -pv ./volumes/app/mattermost/{data,logs,confi..

Jenkins with tomcat
Software활용 2020. 3. 27. 16:34

목적 git에서 web소스를 수신 후, tomcat 하단 webapp으로 디플로이 자동화 참고 tomcat installation Jenkins 설정 maven jenkins관리 > global tool configuration>maven > name : m3 install automatically : check version : 3.6 새로운 아이템 Freestyle project 소스코드관리 : git repository url https://github.com/ValaxyTech/hello-world 를 개인 GitHub repository에 fork해서 사용하는 것을 추천 함 Build Maven version : M3 Goals : clean install package 빌드 후 조치 WAR/E..

Jenkins on centos7
Software활용 2020. 3. 27. 16:34

jenkins install install을 위해서 jenkins repository를 추가한다. sudo wget -O /etc/yum.repos.d/jenkins.repo http://pkg.jenkins-ci.org/redhat/jenkins.repo rpm에 키 등록 후 jekins 인스톨 sudo rpm --import http://pkg.jenkins-ci.org/redhat/jenkins-ci.org.key sudo yum install jenkins [root@localhost devops]# sudo wget -O /etc/yum.repos.d/jenkins.repo http://pkg.jenkins-ci.org/redhat/jenkins.repo --2019-06-24 16:07:47-..

Jenkins Basic
Software활용 2020. 3. 27. 16:33

Jenkins User hand book 및 기타 사이트 참고해서 간단하게 필요한 내용만 서머리함 (https://jenkins.io/user-handbook.pdf) 기타 참고 plugin definition : https://jenkins.io/doc/pipeline/steps/ pipeline examples : https://jenkins.io/doc/pipeline/examples/ DSL SDK : https://jenkinsci.github.io/job-dsl-plugin/# DSL Plugin : https://github.com/jenkinsci/job-dsl-plugin jenkins java doc : https://javadoc.jenkins-ci.org/ DSL example : ..

wildfly (Jboss AS) installation with Postgresql driver on Mac
Software활용 2020. 3. 27. 16:32

Datasource command line 등록 https://wildfly.org/downloads/ 에서 download unzip 아무 디렉토리나 cd ~ vi .bash_profile export JBOSS_HOME= 만약에 java 가 없다면 JDK를 install하고 JAVA_HOME 을 이와 같이 설정해야 한다. source .bash_profile https://jdbc.postgresql.org/download.html 에서 최신 드라이버 다운 /bin 으로 이동 jdbc driver 등록 stevenucBookPro:bin steven$ ./jboss-cli.sh You are disconnected at the moment. Type 'connect' to connect..