분류 전체보기
-
CloudWatch에서 사용되는 용어amazon web service 2014. 2. 27. 09:00
Metrics 시간 기준의 데이터 포인트들. name, namespace, dimensions등으로 정의됨. 각 데이터 포인트들은 측정단위와 시간을 가지고 있음. 지난 2주간의 데이터만 CloudWatch에 저장됨. Namespaces Metric들을 보관하고 있는 컨테이너. 각각의 namespace에 저장되어 있는 metric들은 독립적임. AWS에서 제공하는 기본 namespace들은 “AWS/” 형태의 이름을 가짐. Dimensions metric을 구분할수 있는 name/value 쌍. 하나의 metric이 여러개의 demension을 가질 수 있음. Time Stamps 각 metric 데이터들은 반드시 time stamp값을 가져야함. dateTime 객체형식이어야 함. http://www.w..
-
사용자 Gem 만들어서 rubygems.org에 올리기Ruby 2014. 2. 26. 09:00
필요한 파일들 lib/arisu_gem_test.rb파일 arisugemtest.gemspec 파일 arisu_gem_test 파일 내용 class ArisuGemTest def self.comment puts 'My first gems...' end end arisugemtest.gemspec 파일 내용 Gem::Specification.new do |s| s.name = 'arisu_gem_test' s.version = '0.0.0' s.date = '2014-02-24' s.summary = 'arisu first test' s.description = 'Just test for making gem.' s.authors = ['Jung WonChon'] s.email = 'arisu1000@gma..
-
ubuntu 12.04에 rbenv & bundler 설치Ruby 2014. 2. 25. 09:00
필요한 라이브러리 설치 sudo apt-get install zlib1g-dev openssl libopenssl-ruby1.9.1 libssl-dev libruby1.9.1 libreadline-dev git-core sudo apt-get install make git clone git://github.com/sstephenson/rbenv.git .rbenv echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bashrcecho 'eval "$(rbenv init -)"' >> ~/.bashrcexec $SHELL mkdir -p ~/.rbenv/pluginscd ~/.rbenv/pluginsgit clone git://github.com/sstephenson/..
-
ssh 접속 정보를 config 파일에 설정해 두고 간단하게 이용하기.amazon web service 2014. 2. 20. 09:00
EC2 Console에 접속할때 매번 키파일을 명시해주는 것이 번거로울때 ssh config파일에 alias 설정해두고 간단하게 접속하는 방법입니다. ~/.ssh/config 파일 내용 수정 # contents of $HOME/.ssh/config Host dev HostName dev.example.com User ec2-user IdentityFile ~/.ssh/keypari.pem 참조 : http://nerderati.com/2011/03/simplify-your-life-with-an-ssh-config-file/
-
nginx에 basic auth 설정웹개발 2014. 2. 19. 09:00
1. config 파일에 관련 정보 설정 location / { auth_basic "closed site”; #접속할때 보이는 메세지 auth_basic_user_file conf/htpasswd; #id, password 파일위치 } 2. htpasswd명령어를 이용해서 password 파일을 생성함. htpasswd -b htpasswd testid testpassword 참조 : http://nginx.org/en/docs/http/ngx_http_auth_basic_module.html