@ Containers > Lifecycle - docker create: 도커 컨테이너 생성 - docker rm: 도커 컨테이너 삭제 - docker update: 도커 컨테이너 업데이트 - docker rename: 도커 컨테이너 이름 변경 - docker run: 도커 컨테이너 시작 > Start and Stop - docker start: 도커 컨테이너 시작 - docker stop: 도커 컨테이너 정지 - docker restart: 도커 컨테이너 재시작 - docker pause: 도커 컨테이너 정지 - docker unpause: 정지된 도커 컨테이너 재시작 - docker exec: 도커 컨테이너 실행 - docker kill: 도커 컨테이너 종료 > Info - docker ps: 실행..
성공 callback : success > complete > done > always 실패 callback : error > complete > fail > always done (성공), fail (에러), always (항상) - 1.6에 등장 then (성공, 에러) - 1.8에 등장 $.ajax ({ url: "url", // (Required) 요청 URL type: "GET", // (default: ‘GET’) 요청 방식 async : true, // (default: true, asynchronous) 동기화 여부 cache : true, // (default: true, false for dataType 'script' and 'jsonp') 캐시 여부 timeout : 3000, //..
@ globals.properties #mysql AppConf.db.DbType = mysql AppConf.db.DriverClassName=com.mysql.cj.jdbc.Driver AppConf.db.Url=jdbc:mysql://127.0.0.1:3306/mysql AppConf.db.UserName=mysql AppConf.db.Password=mysql #postgresql AppConf.dbp.DbType = postgresql AppConf.dbp.DriverClassName=org.postgresql.Driver AppConf.dbp.Url=jdbc:postgresql://127.0.0.1:5432/postgres AppConf.dbp.UserName=postgres AppConf.d..
-- Database encoding 확인 쿼리 SHOW VARIABLES LIKE 'c%'; @ 방법1) 아래와 같이 db url에 옵션 추가 "?useUniCode=yes&characterEncoding=UTF-8" - globals.properties 예) App.db.Url=jdbc:mysql://127.0.0.1:3306/mysql?useUniCode=yes&characterEncoding=UTF-8 @ 방법2) my.cnf or my.ini 편집 1. 파일 위치 탐색 find / | grep my.cnf 2. 편집 2-1. 방법1) vi로 편집 2-2. 방법2) docker cp 이용 a. docker cp mysql:/etc/my.cnf ./my.cnf b. 아래 내용 편집 c. docker..
PostgreSQL column 값 자동증가(auto increment) 1. SEQUENCE -- 시퀀스 생성 create sequence seq_id; -- 테이블 생성 create table user ( id int not null default nextval('seq_id'), name varchar(10) ); -- 시퀀스 매핑 alter sequence seq_id OWNED BY user.id; -- 테스트 insert into user (name) values ('test1'); insert into user (id, name) values (default, 'test2'); ===================== 2. SERIAL -- 테이블 생성 create table user ( id..
oracle11g dual table - ORA-00942: table or view does not exist -- ORA-00942: table or view does not exist select * from dual; -- 조회 확인 select * from sys.dual; -- dual table 확인 select * from all_objects where object_name = 'DUAL'; -- dual synonym 확인 select synonym_name from dba_synonyms where synonym_name='DUAL'; -- dual sylnonym 없으면 실행 create public synonym dual for sys.dual; -- dual table 테스트 s..
-- PASSWORD_LIFE_TIME 확인 select * from dba_profiles; -- PASSWORD_LIFE_TIME: unlimited 설정 alter profile default limit PASSWORD_LIFE_TIME unlimited; --dba user 상태 확인 select * from dba_users WHERE username='[user]'; -- password 변경 (기존 비번으로 재설정 가능) alter user [user] identified by 1234; 요청한 작업을 수행하는 중 데이터베이스 경고 발생: ORA-28002: the password will expire within 6 days 28002. 00000 - "the password will ex..
-- 물리 저장 경로 & tablespace 정보 SELECT * FROM dba_data_files; -- tablespace 정보 select * from dba_tablespaces; -- 사용자 default tablespace 확인 SELECT * FROM user_users; -- tablespace 생성 CREATE TABLESPACE DHUB datafile '/u01/app/oracle/product/11.2.0/xe/dbs/DHUB' SIZE 10M autoextend ON NEXT 10M maxsize unlimited; -- tablespace 변경 ALTER USER dhub DEFAULT TABLESPACE DHUB ;

https://xenserver.org/ -> https://xcp-ng.org/ XCP-ng - XenServer Based, Community Powered Grab the latest 8.2 ISO here, then create your bootable USB key with: dd if=xcp-ng-8.2.1.iso of=/dev/sdX bs=8M oflag=direct Then just boot on it! On Windows, you can use Rufus to create the bootable USB stick. SHA256: 93853aba9a71900fe43fd5a0082e2af6ab89ac xcp-ng.org 하이퍼바이저(hypervisor) 가상화 서버 추천 유료화 Xen Ser..