(주)누리웨어

화상연동/Web,APP 구축및서비스/LMS/평생교육/학점은행/기업교육/연수관리/설문구축/

CentOS 에 postfix 설정

1.CentOS 에 기본적으로 6.*이상버젼에서는 설치가 되어 있습니다. 안되어 있으면

2.설정파일 수정

내용중

  3.서비스 시작

  postfix 0:off 1:off 2:on 3:on 4:on 5:on 6:off 위와 같이 나오면 서비스에 이미 올라가 있다 시작하자

  끝    

Eclipse 로 Maven 웹프로젝트 구성 (Server jetty)

1.https://www.eclipse.org/downloads/ 에서 Eclipse IDE for Java EE Developer를 다운로드 받는다 2.M2E plugin for Eclipse (Maven Eclipse Plugin)을 설치한다. eclise 에서 상단 Help > Install New Software > Add 버튼 클릭하고 Name:M2E Location:http://download.eclipse.org/technology/m2e/releases하고 OK를 클릭한다. 기본으로 설치되어 있음 3.maven 설치 http://maven.apache.org/download.cgi 에서 다운로드 받는다. maven은 따로 실행파일이 없으므로 압축 파일을 해제한다. 4.SVN 설치 Eclipse Marketplace 에서 […]

Linux user jboss .bash_profile Sample

# .bash_profile # Get the aliases and functions if [ -f ~/.bashrc ]; then . ~/.bashrc fi # User specific environment and startup programs PATH=$PATH:$HOME/bin export PATH umask 022 #환경변수 JAVA_HOME=/app/jdk/jdk1.7.0_80 JBOSS_HOME=/app/was/EAP-6.4.0 DOMAINS_HOME=/app/was/domains/ HTTPD_HOME=/app/web/apache2 PATH=.:$HTTPD_HOME/bin:$JAVA_HOME/bin:$PATH #환경변수 적용 export JAVA_HOME JBOSS_HOME PATH export JENKINS_HOME=/app/jenkins export LANG=ko_KR.utf8 export EDITOR=vi export HISTFILE=$HOME/.bash_history export TMP=/tmp export TMPDIR=/tmp PS1=whoami@hostname‘:$PWD> ‘ […]

Linux 유용한 명령어 rename 과 mv

mv 파일명 변경 또는 파일위치 변경 보통 한개의 파일명 변경할때 사용 mv 옵션 소스데이타 바뀔데이타 mv access.log access.log.20150125 rename 여러개의 파일명 변경시 사용 rename jpg(바꿀파일명) JPG(바뀔파일명) *.jpg(이 파일중에서)

개발서버 – httpd+ jboss 의 Apache 설정

1)httpd.conf 설정 Include conf.d/mod_jk.conf # Virtual hosts Include conf/extra/httpd-vhosts.conf 2)/apache2/conf.d/ 안의파일 mod_jk.conf, uriworkermap.properties, workers.properties (1) mod_jk.conf

(2)uriworkermap.properties

(3)workers.properties

3)httpd-vhosts.conf ServerAdmin webmaster@dummy-host.example.com DocumentRoot “/web/apache2/htdocs/aaa1” ServerName aaa1.nuriware.com ServerAlias aaa1.nuriware.com ErrorLog “| /web/apache2/bin/rotatelogs /web/apache2/logs/lms-error.log.%Y%m%d 86400” CustomLog “| /web/apache2/bin/rotatelogs /web/apache2/logs/lms-access.log.%Y%m%d 86400” common SetEnvIf Request_URI “/webimg/*” no-jk JkMount / aaa1 JkMount /* aaa1 ServerAdmin webmaster@dummy-host.example.com DocumentRoot “/web/apache2/htdocs/bbb1” […]

Jenkins 설치 가이드

Redhat 의 경우 1.다운로드 http://pkg.jenkins-ci.org/redhat/ 에서 최신 jenkins rpm 파일을 다운로드 한다. 2.개발서버에 복사 1.ftp를 통해 개발서버에 복사(내부망이며 외부접근이 안될경우) 2.wget를 통해 다운로드 3. 설치 (1)터미널로 개발서버에 접속 root계정으로 로그인한후 rpm파일이 있는 디렉토리로 이동 #rpm -Uvh jenkins-1.xxxxxx.noarch.rpm (2)RPM패키지가 정상적으로 설치되었는지 확인 #rpm -ga | grep jenkins (3)설치되었음을 확인했으면 #service jenkins start 4.Jenkins 홈 디렉토리 변경 […]

Oracle 계정및 환경관련 명령어 모음

Characterset

  계정에 대한 권한 검색

  현대 테이블스페이스

  계정잠금해제

   

MySQL 다중 테이블 update

 

AES 암호화 – 다양한 Language에서 지원

sample_all_source_aes256_imcore_net AES256암호화를 다양한 Language에서 지원되도록 구현한 소스   http://www.imcore.net/encrypt-decrypt-aes256-c-objective-ios-iphone-ipad-php-java-android-perl-javascript-python/   소스를 오픈해주신 imcore.net에 감사를 드립니다. *java1.6이상은 AES256으로 할때 라이브러리 업데이트 필요

eclipse Comment 조정 및 테마 조정

파일 코멘트 자동생성 조정 eclise > window >preference >선택 여기에서 java>code style > code templates 에서 Code / New Java Files 편집정 테마조정 http://eclipsecolorthemes.org/ 여기에서 Eclipse -> File -> Import -> General -> Preferences  적용하면 된다.  

Previous Posts Next posts