Infra & Server Dev77 [CentOS] nginx 설정 컴파일 http://nginx.org/en/download.html yum install pcre.x86_64 pcre-devel zlib-devel openssl-devel sha1-devel libssl-dev gcc -y ./configure --prefix=/usr/local/nginx --with-http_ssl_module --with-http_gzip_static_module --with-http_flv_module --with-http_mp4_module --with-http_realip_module makemake install ubuntu sudo apt-get install gcc g++ libncurses5-dev libxml2-dev openssl libssl-dev curl libcur.. 2016. 6. 30. [CentOS] git 2.9 설치하기 cd /usr/local/src wget https://www.kernel.org/pub/software/scm/git/git-2.9.0.tar.gz tar xvzf git-2.9.0.tar.gz yum install zlib-devel아마 설치안되어 있을테니까. cd git-2.9.0 make configure ./configure --prefix=/usr/local make install git --version 2016. 6. 21. [CentOS]톰캣 로그 log 파일 분할 - logrotate vi /etc/logrotate.d/tomcat /usr/local/tomcat/logs/catalina.out {copytruncatedailyrotate 30missingoknotifemptydateext } logrotate -f /etc/logrotate.d/tomcat 2016. 1. 29. [CentOS] CentOS 64Bit MongoDB 3.2 설치하기 mongoDB Download : https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-3.2.1.tgz 오늘은 그냥 다른분들 링크로 대신합니다. 설치 방법 1 : http://hellogk.tistory.com/127설치 방법 2(yum 설치) : http://yakolla.tistory.com/55, http://jjipsycho.tistory.com/677, http://notemusic.tistory.com/39 계정만들기 use admin db.createUser({user:"", pwd:"", roles:["userAdminAnyDatabase","dbAdminAnyDatabase","readWriteAnyDatabase"]}) 2016. 1. 27. JsonSerialize JSON 수발신할때 값이 없으면 안보내는 것을 뜻함 @JsonSerialize(include=JsonSerialize.Inclusion.NON_DEFAULT)int 0 : 안보냄"" : 안보냄null : 안보냄 @JsonSerialize(include=JsonSerialize.Inclusion.NON_NULL)@JsonInclude(JsonInclude.Include.NON_NULL)int 0 : 보냄"" : 보냄null : 안보냄 @JsonSerialize(include=JsonSerialize.Inclusion.ALWAYS)int 0 : 보냄"" : 보냄null : 보냄 @JsonSerialize(include=JsonSerialize.Inclusion.NON_EMPTY)int 0 : 보냄"" : 안.. 2015. 11. 23. intellij java decompiler plugin 2015. 10. 6. 이전 1 2 3 4 5 6 7 8 ··· 13 다음