
1. jenkins 계정 생성root@FREECATZ-PE-KR:~# useradd -s /bin/bash -m jenkins; echo 'PaSsW0rD!@#$' | passwd --stdin jenkins 2. jenkins 계정 로그인 root@FREECATZ-PE-KR:~# su - jenkins 3. openjdk 17 내려 받기 및 PATH 설정 jenkins@FREECATZ-PE-KR:~$ wget https://download.java.net/java/GA/jdk17.0.2/dfd4a8d0985749f896bed50d7138ee7f/8/GPL/openjdk-17.0.2_linux-x64_bin.tar.gz jenkins@FREECATZ-PE-KR:~$ tar zxvf openjd..
root@freecatz-web:~# openssl x509 -dates -in /etc/letsencrypt/live/freecatz.pe.kr/fullchain.crtnotBefore=Apr 12 12:46:13 2024 GMTnotAfter=Jul 11 12:46:12 2024 GMT root@freecatz-web:~# openssl x509 -dates -in /etc/letsencrypt/live/freecatz.pe.kr/fullchain.pem notBefore=Apr 12 12:46:13 2024 GMT notAfter=Jul 11 12:46:12 2024 GMT
* 참고 1 : 만약 AWS 의 ALB 를 사용중이라면, ALB 에도 SSL 인증서 관련 설정이 필요 하다. 1. SSL 인증 받기 전upstream undertow_web { server 192.168.0.10:9090 weight=1 max_fails=3 fail_timeout=5s; server 192.168.0.10:9091 weight=1 max_fails=3 fail_timeout=5s; server 192.168.0.11:9090 weight=1 max_fails=3 fail_timeout=5s; server 192.168.0.11:9091 weight=1 max_fails=3 fail_timeout=5s; server 192.168.0.12:9090 weight..
1. Oracle 19C 수동 정지 [oracle@localhost ~]$ whoami oracle [oracle@localhost ~]$ sqlplus / as sysdba SQL*Plus: Release 19.0.0.0.0 - Production on Wed Sep 13 14:03:57 2023 Version 19.3.0.0.0 Copyright (c) 1982, 2019, Oracle. All rights reserved. Connected to: Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production Version 19.3.0.0.0 SQL> shutdown immediate Database closed. Database di..
재부팅 하고 나서도 svn 서비스가 자동 으로 시작 하기 위해서 systemd 에 등록 하고자 한다. root@freecatz-web:~# vi /etc/systemd/system/svn.service/svn.service [Unit] Description=svn service After=network.target [Service] User=svn Group=svn Type=forking ExecStart=/usr/bin/svnserve --threads --daemon --pid-file=/home/svn/svnserve.pid --config-file /home/svn/repo/conf/svnserve.conf --root /home/svn/ [Install] WantedBy=multi-user.ta..
CPU의 사용률을 높여 스트레스 테스트 하기에 적합한 패키지를 찾게 되었다. stress 라는 패키지로, 사용법도 간단하다. root@freecatz-web:~# apt-get install stress * 아래는 60초 동안 CPU 1개의 사용률을 높이는 명령어 root@freecatz-web:~# stress --timeout 60 --cpu 1 * 본인의 경우 주로 아래 처럼 테스트 한다 root@freecatz-web:~# stress --timeout 60 --cpu 4 --vm 4 --vm-bytes 1024m --hdd 1 --hdd-bytes 1024m 자세한 사용법은 다른 블로그나, man 페이지를 참고 한다.

yum 으로 update, search ... 어떠한 작업을 하여도 에러가 발생 하였다. 에러 내용 일부 Loaded plugins: fastestmirror, security Loading mirror speeds from cached hostfile * epel: ftp-stud.hs-esslingen.de Traceback (most recent call last): File "/usr/bin/yum", line 29, in ? yummain.user_main(sys.argv[1:], exit_code=True) File "/usr/share/yum-cli/yummain.py", line 309, in user_main errcode = main(args) File "/usr/share/yum-cl..
어쩌다 보니, CentOS 5.x 버젼대를 사용할 일이 발생 하였다. [root@freecatz ~]# rpm -e --nodeps python-devel-2.4.3-46.el5 오류: "python-devel-2.4.3-46.el5" 여러개의 패키지를 지정합니다 설치된 패키지를 살펴 보았더니... [root@freecatz ~]# rpm -qa | grep -i python-devel python-devel-2.4.3-46.el5 python-devel-2.4.3-46.el5 동일한 패키지가 설치 되어 있다. 이게 가능 한건지...가능 하다면 왜... [root@freecatz ~]# rpm -e --nodeps --force python-devel-2.4.3-46.el5 rpm: 설치, 업그레이드, ..
참고 문서 : https://github.com/jcoleman/tomcat-redis-session-manager - Server OS : CentOS Linux release 7.9.2009 (Core) x86_64 - JAVA : Oracle 1.8.0_333 - Tomcat : apache-tomcat-7.0.109 WAS #1 : 192.168.0.10 -> /home/www/apache-tomcat-7.0.109 에 설치 WAS #2 : 192.168.0.11 -> /home/www/apache-tomcat-7.0.109 에 설치 Tomcat7을 이용하는 레거시 환경 에서 Tomcat Session Cluster 보다는 Redis 를 이용 하는 방법이 편할거 같아서 테스트 하면서 남기는 기록 ..
- Total
- Today
- Yesterday
- Mobile
- place
- Linux
- food
- dart
- gpkiapi
- ssh
- Java
- devtools
- Flutter
- kotlin
- TIP
- Spring
- json parse
- SSL
- Review
- Fun
- Compile
- development
- samba
- web
- 엘리스센터
- Android
- JavaScript
- MySQL
- HTTP
- 맛집
- Security
- devel
- springboot
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |