admin

XPath(XML Path Language)

출처 : http://www.nextree.co.kr/p6278/ 때는 늦은 가을.. 무더위가 한풀 꺽일 무렵 담당업무의 까다로운 요구사항으로 고민에 빠져있던 저는 프로젝트PM님의 소개로 이 기술과 처음 만났습니다. 두려움 반 설렘 반으로 이 기술을 대면했던 순간과는 달리 이 기술을 쓰면 쓸수록 더욱 더 이 기술에 매료 되었습니다. 왜냐하면 이 기술을 씀과 동시에 매우 제한적이고, 유연하지 못했던 패키지 프로그램에 활력을 불어 넣었으니까요. 그래서 복잡 […]

XPath(XML Path Language) 더 읽기"

REST API 보안

출처: http://bcho.tistory.com/955 REST API 보안  API 보안에 대해서는 백번,천번을 강조해도 과함이 없다. 근래에 대부분의 서비스 시스템들은 API를 기반으로 통신을 한다. 앱과 서버간의 통신 또는 자바스크립트 웹 클라이언트 와 서버간의 통신등 대부분의 통신이 이 API들을 이용해서 이루어지기 때문에, 한번 보안이 뚫려 버리면 개인 정보가 탈취되는 것 뿐만 아니라 많은 큰 문제를 야기할 수 있다. REST API 보안

REST API 보안 더 읽기"

REST API 디자인 가이드

출처: http://bcho.tistory.com/954 REST API 디자인 가이드 그러면 REST의 특성을 이해하고 나쁜 안티패턴을 회피해서 REST API 디자인은 어떻게 해야 할까? 짧지만 여기에 몇가지 디자인 방식에 대해서 소개 한다. REST URI는 심플하고 직관적으로 만들자 REST API를 URI만 보고도, 직관적으로 이해할 수 있어야 한다 URL을 길게 만드는것 보다, 최대 2 depth 정도로 간단하게 만드는 것이 이해하기 편하다. /dogs /dogs/1234

REST API 디자인 가이드 더 읽기"

REST(REpresentational State Transfer) API 개념

출처: http://meetup.toast.com/posts/92 1. REST API의 탄생 REST는 Representational State Transfer라는 용어의 약자로서 2000년도에 로이 필딩 (Roy Fielding)의 박사학위 논문에서 최초로 소개되었습니다. 로이 필딩은 HTTP의 주요 저자 중 한 사람으로 그 당시 웹(HTTP) 설계의 우수성에 비해 제대로 사용되어지지 못하는 모습에 안타까워하며 웹의 장점을 최대한 활용할 수 있는 아키텍처로써 REST를 발표했다고 합니다. 2. REST 구성 쉽게 말해 REST

REST(REpresentational State Transfer) API 개념 더 읽기"

SOAP(Simple Object Access Protocol)

출처: http://egloos.zum.com/tequiero35/v/1026372 ※ 웹 서비스 구조 ※ SOAP (Simple Object Access Protocol) : 분산 환경에서 어플리케이션 간에 정보를 교환하기 위한 XML 기반의 메시지 프로토콜.   ★ SOAP 의 필요성  – 상호 운영성(Interoperability) : 서로 다른 인프라를 바탕으로 컴포넌트를 연결하는 표준이 필요 ⊙ SOAP 전달 과정 ⊙ SOAP 구조   ⊙ SOAP Part 구조HTTP    1. 요 청 (Request) Request = Request-Line               * (general-header | request-header | entity-header)               CRLF            

SOAP(Simple Object Access Protocol) 더 읽기"

CentOS 7 GNOME 라이선스 메세지 처리

CentOS 7 에서 부팅 시 아래와 같은 GNOME 라이선스 동의요구 메세지가 나오면서 진행이 되지 않을때 처리하는 방법. =============================================================================== Initial setup of CentOS Linux 7 (Core) 1) [!] License information              2) [ ] User creation        (License not accepted)              (No user will

CentOS 7 GNOME 라이선스 메세지 처리 더 읽기"

Armbian WIFI 셋팅

출처 : https://forum.armbian.com/topic/1237-opi-one-wireless-success/ There seems to be a lot of confusion and missing information on how to access the dirt cheap OPI ONE wirelessly and the steps necessary to successfully use cheap Realtek USB dongles ( 8188cus, 8188eu ) with Armbian_5.10.   This is a short summary of the needed materials and steps to turn your OPI ONE into

Armbian WIFI 셋팅 더 읽기"

bonding (CentOS 7)

■ bonding 모듈 로드 modprobe –first-time bonding ■ /etc/sysconfig/network-scripts/ifcfg-bond0 DEVICE=bond0 NAME=bond0 TYPE=Bond BONDING_MASTER=yes BONDING_OPTS=”mode=active-backup primary=eno1 miimon=100 updelay=0 downdelay=0″ IPADDR=10.10.10.106 PREFIX=24 GATEWAY=10.10.10.254 DNS1=8.8.8.8 DNS2=8.8.4.4 ■ /etc/sysconfig/network-scripts/ifcfg-eno1 NAME=bond-slave-eno1 DEVICE=eno1 TYPE=Ethernet BOOTPROTO=none ONBOOT=yes MASTER=bond0 SLAVE=yes ■ /etc/sysconfig/network-scripts/ifcfg-eno2 NAME=bond-slave-eno2 DEVICE=eno2 TYPE=Ethernet BOOTPROTO=none ONBOOT=yes MASTER=bond0 SLAVE=yes ■ 적용 systemctl restart network ■ bonding 상태 체크 cat /proc/net/bonding/bond0

bonding (CentOS 7) 더 읽기"

bonding (CentOS 6)

■ bonding 모듈 로드 modprobe –first-time bonding ■ /etc/sysconfig/network-scripts/ifcfg-bond0 DEVICE=bond0 IPADDR=10.10.10.105 NETMASK=255.255.255.0 GATEWAY=10.10.10.254 DNS1=8.8.8.8 DNS2=8.8.4.4 ONBOOT=yes BOOTPROTO=none USERCTL=no NM_CONTROLLED=no ■ /etc/sysconfig/network-scripts/ifcfg-eth0 DEVICE=eth0 MASTER=bond0 SLAVE=yes ONBOOT=yes BOOTPROTO=none USERCTL=no NM_CONTROLLED=no ■ /etc/sysconfig/network-scripts/ifcfg-eth1 DEVICE=eth1 MASTER=bond0 SLAVE=yes ONBOOT=yes BOOTPROTO=none USERCTL=no NM_CONTROLLED=no ■ /etc/sysconfig/network NETWORKING=yes NETWORKING_IPV6=no HOSTNAME=vertica3 GATEWAYDEV=bond0 ■ /etc/modprobe.d/bonding.conf alias bond0 bonding options bond0 mode=1 miimon=100 >> mode= 0.

bonding (CentOS 6) 더 읽기"

systemd unit 등록 관련 옵션 정리

출처 : http://fmd1225.tistory.com/93 – RHEL 7 의 OS 적인 가장 큰 변화는 3.x 커널을 사용한다는 점(물론 2.6.x 커널에서 큰 차이가 있는 것은 아니다.) 그리고 정통적인 init 데몬에서 systemd 데몬으로 변경이 되었다는 점이다. systemd 에 대해서 좀더 살펴 보자 * Linux 부팅 과정 (사전에 알고 갑시다.) http://www.ibm.com/developerworks/library/l-linuxboot/index.html – systemd 는 리눅스 커널 API 로 설계된 시스템 관리

systemd unit 등록 관련 옵션 정리 더 읽기"

wifi wpa_supplicant 셋팅

■ wpa_supplicant.conf 파일 만들기 wpa_passphrase <공유기 SSID> <passphrase> $ wpa_passphrase MYSSID passphrase > /etc/wpa_supplicant/wpa_supplicant.conf network={     ssid=”MYSSID”     #psk=”passphrase”     psk=59e0d07fa4c7741797a4e394f38a5c321e3bed51d54ad5fcbd3f84bc7415d73d } ■ wpa_supplicant 데몬 시작 killall -q wpa_supplicant wpa_supplicant -s -B -P /run/wpa_supplicant.wlan0.pid -i wlan0 -D nl80211,wext -c /etc/wpa_supplicant/wpa_supplicant.conf ■ 상태 보기 wpa_cli status

wifi wpa_supplicant 셋팅 더 읽기"

[Vertica] Port Requirements

출처 : https://my.vertica.com/docs/7.0.x/HTML/Content/Authoring/InstallationGuide/BeforeYouInstall/PortAvailability.htm Port Requirements The following table lists the ports required by HP Vertica. Port Protocol Service Notes 22 TCP sshd Required by Administration Tools and the Management Console Cluster Installation wizard. 5433 TCP HP Vertica HP Vertica client (vsql, ODBC, JDBC, etc) port. 5434 TCP HP Vertica Intra-cluster communication. HP Verticaopens the HP Vertica client port +1 (5434 by default) for intra-cluster communication, such

[Vertica] Port Requirements 더 읽기"

윈도우10 시작메뉴 타일(Tile) 백업/복구

■ 백업   1. regedit에서 HKCU\Software\Microsoft\Windows\CurrentVersion\CloudStore\Store\Cache\DefaultAccount 를 아래의 명령으로 Export 한다.   REG EXPORT HKCU\Software\Microsoft\Windows\CurrentVersion\CloudStore\Store\Cache\DefaultAccount C:\win10_tile_menu.reg /Y     ■ 복구   1. DefaultAccount 레지스트리를 아래 명령으로 삭제한다. REG DELETE HKCU\Software\Microsoft\Windows\CurrentVersion\CloudStore\Store\Cache\DefaultAccount /f   2. 백업 했던 DefaultAccount 레지스트리를 Import 한다.   3. 윈도우 Log Out / Log On

윈도우10 시작메뉴 타일(Tile) 백업/복구 더 읽기"

위로 스크롤