1. ORACLE -- 테이블 이름 변경 ALTER TABLE [원본 테이블 이름] RENAME TO [변경할 테이블 이름]; SQL) ALTER TABLE ORI_TABLE RENAME TO BACKUP_TALBE; -- 테이블 구조만 복사(설정 제외) CREATE TABLE [생성할 테이블 이름] AS SELECT * FROM [원본 테이블 이름] WHERE 1 = 2; SQL) CREATE TABLE BACKUP_TALBE AS SELECT * FROM ORI_TABLE WHERE 1 = 2; -- 테이블 구조만 복사(설정 포함) ===> 안됨 CREATE TABLE [생성할 테이블 이름] LIKE [원본 테이블 이름]; SQL) CREATE TABLE BACKUP_TALBE LIKE ORI_TAB..
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 페이지를 참고 한다.

APM = Application Performance Management 스카우터 프로젝트 깃헙 : https://github.com/scouter-project/scouter/releases 1. 스카우터 수집 서버(Collector Server) - OS : CentOS Linux release 7.9.2009 (Core) 64Bit - CPU : Intel(R) Xeon(R) CPU E5-2609 0 @ 2.40GHz / 4Core - RAM : 16GB - DISK : 2Tbyte - JDK : openjdk 11.0.2 64Bit - Scouter : v2.17.1 - IP : 192.168.0.1 2. 스카우터 모니터링 대상 서버 - OS : CentOS Linux release 7.9.200..
Spring Boot 에서 Oracle RAC 구성인 서버에 연결해야 하는 경우 아래와 같이 연결 문자열을 작성 하면 된다. 1. SERVICE NAME 인 경우 * jdbc 문자열의 마지막이 / 로 구분 되는 경우 = jdbc:log4jdbc:oracle:thin:@192.168.0.1:1521/ORADB1 jdbc:log4jdbc:oracle:thin:@(DESCRIPTION= (LOAD_BALANCE=YES)(FAILOVER=ON) (ADDRESS=(PROTOCOL=TCP)(HOST=192.168.0.1)(PORT=1521)) (ADDRESS=(PROTOCOL=TCP)(HOST=192.168.0.2)(PORT=1521)) (CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NA..

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 를 이용 하는 방법이 편할거 같아서 테스트 하면서 남기는 기록 ..
1. 자동 시작 되는 서비스 확인 $ launchctl list PID Status Label - 0 com.apple.SafariHistoryServiceAgent 617 0 com.apple.progressd 738 0 com.apple.cloudphotod 418 0 com.apple.Finder 530 0 com.apple.homed - 0 com.apple.quicklook - 0 com.apple.parentalcontrols.check ... 중략 ... 2. 서비스 자동 시작 해제 $ launchctl unload -w /Library/LaunchAgents/com.microsoft.OneDriveStandaloneUpdater.plist $ launchctl unload -w /Libra..

### SQL: /* ApiMapper.execProcTest */ { CALL TESTDB.DBO.API_TEST ( 'ALL' , ? , ? ) } ### Cause: com.microsoft.sqlserver.jdbc.SQLServerException: '{' 근처의 구문이 잘못되었습니다. ; uncategorized SQLException; SQL state [S0001]; error code [102]; '{' 근처의 구문이 잘못되었습니다.; nested exception is com.microsoft.sqlserver.jdbc.SQLServerException: '{' 근처의 구문이 잘못되었습니다. * 원인 : 주석 처리에 사용한 /* */ 이 문제로 아래의 그림과 같이 /* ApiMapper..

Cannot complete the install because one or more required items could not be found. Software being installed: Kotlin 1.5.31.v20211018-0606 (org.jetbrains.kotlin.feature.feature.group 1.5.31.v20211018-0606) Missing requirement: kotlin-eclipse-ui 1.5.31.v20211018-0606 (org.jetbrains.kotlin.ui 1.5.31.v20211018-0606) requires 'osgi.bundle; org.eclipse.mylyn.commons.ui 0.0.0' but it could not be found..
- Total
- Today
- Yesterday
- TIP
- gpkiapi
- Fun
- json parse
- Security
- food
- JavaScript
- devel
- ssh
- kotlin
- Java
- HTTP
- Android
- MySQL
- Flutter
- Mobile
- Spring
- 맛집
- development
- place
- SSL
- samba
- web
- 엘리스센터
- springboot
- devtools
- Compile
- Review
- Linux
- dart
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |