This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ifconfig <interface name> <ip> netmask <netmask> broadcast <broadcast> | |
sudo vi /etc/network/interfaces | |
auto enp5s0 | |
iface enp5s0 inet static | |
address 192.168.0.104 | |
netmask 255.255.255.0 | |
broadcast 192.168.0.255 | |
gateway 192.168.0.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# MariaDB database server configuration file. | |
# | |
# You can copy this file to one of: | |
# - "/etc/mysql/my.cnf" to set global options, | |
# - "~/.my.cnf" to set user-specific options. | |
# | |
# One can use all long options that the program supports. | |
# Run program with --help to get a list of available options and with | |
# --print-defaults to see which it would actually understand and use. | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker run \ | |
--volume=/:/rootfs:ro \ | |
--volume=/var/run:/var/run:rw \ | |
--volume=/sys:/sys:ro \ | |
--volume=/var/lib/docker/:/var/lib/docker:ro \ | |
--publish=8080:8080 \ | |
--detach=true \ | |
--name=cadvisor \ | |
google/cadvisor:latest |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#find ./ -type d -exec mkdir -p [[대상폴더]]/{} \; | |
#ex | |
find ./ -type d -exec mkdir -p ~/temp2/dst/{} \; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#포트는 확인 할 것. | |
sudo docker run -d -p 80:80 --name svn-server krisdavison/svn-server:v2.0 /startup.sh | |
# 접속 | |
sudo docker exec -it <container-name> bash | |
# 저장소 추가 | |
svnadmin create myrepo | |
#사용자 추가 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CREATE OR REPLACE TYPE t_string_agg AS OBJECT | |
( | |
g_string VARCHAR2(32767), | |
STATIC FUNCTION ODCIAggregateInitialize(sctx IN OUT t_string_agg) | |
RETURN NUMBER, | |
MEMBER FUNCTION ODCIAggregateIterate(self IN OUT t_string_agg, | |
value IN VARCHAR2 ) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. 계정의 테이블 스페이스 생성 | |
create tablespace [tablespace_name] | |
datafile '/home/oracle/oradata/DANBEE/[file_name].dbf' size 500m; | |
예) | |
CREATE TABLESPACE ADMIN DATAFILE 'D:\ORACLE\ORADATA\XE\ADMIN.dbf' SIZE 500M ; | |
2. 오라클 유저 만들기 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- 만료기간 검색 | |
select resource_name, limit from dba_profiles | |
where profile='DEFAULT' | |
; | |
-- 만료기간 무제한 설정 | |
alter profile default limit password_life_time unlimited; | |
-- 만료 계정 검색 | |
select username,account_status,lock_date,expiry_date from dba_users |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sed -i 's/kr.archive.ubuntu.com/ftp.daum.net/g' /etc/apt/sources.list |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apply plugin: 'spring-boot' | |
jar { | |
baseName = 'core' | |
version = '0.5.0' | |
} | |
sourceSets { | |
generated { |