개발자의 노트
AWS 서비스의 기본 제한 값 정보

아마존 웹 서비스를 사용할 경우, 각 서비스들의 기본 제한 값이 궁금하다면 아래 링크를 참조하세요. http://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html 예를 들어, SES 서비스의 제한은 아래와 같습니다. Amazon SES LimitsThe following are the default limits for Amazon SES in the sandbox environment.ResourceDefault LimitDaily sending quota200 messages per 24 hour period.Maximum send rate1 email per second.Recipient address verificationAll recip..

[Delphi] 델파이에서 crontab 방식의 스케줄링하기 - CRON Scheduler
소프트웨어개발/Delphi 2014. 2. 27. 16:51

델파이에서 crontab의 cron 포맷으로 스케줄링할 수 있는 CRON Scheduler http://www.cromis.net/blog/downloads/cron-scheduler/ cron 포맷에서 초까지 설정 가능

[AWS] EC2에 S3를 마운트 (s3fs)

1. s3fs 설치 https://code.google.com/p/s3fs/wiki/InstallationNotes 2. s3 bucket 마운트 aws accesskey / secretkey 등록$touch /etc/passwd-s3fs && chmod 640 /etc/passwd-s3fs && echo '[accesskey]:[secretkey]' > /etc/passwd-s3fs 마운트할 디렉토리를 생성$mkdir -p /mnt/s3/[bucketname] 마운트$s3fs [bucketname] -o use_cache=/tmp -o allow_other /mnt/s3/[bucketname] root가 아닌 일반 사용자의 접근을 위해 /etc/fuse.conf 에서 user_allow_other 옵션..

Nginx 설정 예제 (nginx.conf)
소프트웨어개발/Nginx 2014. 2. 27. 16:34

참고용 (gzip, minify js/css, robots.txt 등등) # yum install perl-devel perl-ExtUtils-Embed # yum install cpan # cpan JavaScript::Minifier::XS # cpan CSS::Minifier::XS nginx 설치시 --with-http_perl_module 포함 # ./configure --prefix=/usr/local/nginx \ > --sbin-path=/usr/local/nginx/sbin/nginx \ > --conf-path=/usr/local/nginx/conf/nginx.conf \ > --pid-path=/log/nginx/nginx.pid \ > --error-log-path=/log/ngin..

[Node.js] Node에서 메일 발송하기 좋은 모듈 nodemailer (Amazon SES 지원)
소프트웨어개발/Node.js 2014. 2. 24. 13:58

http://www.nodemailer.com/ 아래와 같이 일반 SMTP 뿐 아니라 아마존 SES 서비스를 통한 메일 발송도 아주 간단하게 처리 가능하다. (본인도 아마존 SES 사용 중) SMTP for using SMTPSES for using Amazon SESSendmail for utilizing systems sendmail commandPickup for storing the e-mail in a directory on your machineDirect for sending e-mails directly to recipients MTA servers 사용법도 매우 간단하니 아래 예제를 참고하면 된다. http://www.nodemailer.com/docs/usage-example 라이선스는..

[Node.js] Same Origin Policy (크로스 도메인) 간단 해결
소프트웨어개발/Node.js 2014. 2. 24. 13:45

XMLHttpRequest cannot load ...."URL" not allowed by Access-Control-Allow-Origin 와 같은 에러가 발생하는 이유는 Same Origin Policy 라고 해서 크로스 도메인 정책에 의해 발생한다. Node.js 의 cors 모듈을 사용하면 편하게 해결 가능하다 cors = require('cors'); 하고 나서 app.use(cors()); app.use(app.router); 만 해주면 끝. * 반드시 router 전에 선언해주도록 한다.

Varnish cache 설치
소프트웨어개발/Varnish 2014. 2. 24. 13:26

참고: https://www.varnish-cache.org/trac/wiki/Installation (Installing Varnish from source code) m4 설치 # wget http://ftp.gnu.org/gnu/m4/m4-1.4.17.tar.gz # tar zxvf m4-1.4.17.tar.gz # cd m4-1.4.17 # ./configure --prefix=/usr # make && make install autoconf 설치 # wget http://ftp.gnu.org/gnu/autoconf/autoconf-2.69.tar.gz # tar zxvf autoconf-2.69.tar.gz # cd autoconf-2.69 # ./configure --prefix=/usr # ..

Mosquitto (MQTT v3.1 Broker)
소프트웨어개발/MQTT 2013. 3. 25. 20:48

오픈소스 MQTT Broker인 Mosquitto를 설치하자. 의존성 패키지 설치 # yum install gcc* # yum install openssl openssl-devel # yum install pcre pcre-devel # yum install zlib zlib-devel # yum install glibc glibc-devel CentOS는 기본적으로 OpenSSL을 탑재하고 있다. # openssl version OpenSSL 0.9.8e-fips-rhel5 01 Jul 2008 하지만 최신 OpenSSL로 재설치하자. # cd /usr/local/src # wget http://www.openssl.org/source/openssl-1.0.1c.tar.gz # tar zxvf open..