서버에서의 프로그램 유지

리눅스(CentOS)의 서버에 원격(ssh)으로 접속해서 java 응용프로그램(.jar) 등의 프로그램을 실행 할 때 ssh 세션이 종료된 이후에도 프로그램이 동작하게 하는 방법에 대해 작성한 글이다. 먼저 screen 이라는 프로그램을 설치하여야한다. # yum -y install ncurses-devel texinfo pam-devel libtool screen이 동작하기 위한 환경을 구축하는 것이다. 위의 프로그램들을 설치한 후 proinlab.com/download/screen32bit.rpm proinlab.com/download/screen64bit.rpm 각 ...

Linux vi Editor configure

vi editor config file is named ".vimrc". make this file at your home directory. "/home/username/.vimrc". # vi /home/username/.vimrc or # cd # vi .vimrc insert line you needed. scripte utf-8 set nocp // remove original vi options and use only vim functions set all& // set original option set hi=50 // set history size set vb // visual bell error message instead of sound set lpl // load plugin when start program set enc=utf-8 // encoding option if has("gui_running") // set font if ...

Set up tomcat at CentOS with Apache

Tomcat Download & Install at first, download tomcat refer this site, http://tomcat.apache.org/download-70.cgi. # wget http://apache.mirror.cdnetworks.com/tomcat/tomcat-7/v7.0.37/bin/apache-tomcat-7.0.37.tar.gz # tar xvfz apache-tomcat-7.0.37.tar.gz # mv apache-tomcat-7.0.37 /usr/local/tomcat and make 'init.d/tomcat' file #vi /etc/rc.d/init.d/tomcat insert below. #!/bin/bash # description: Tomcat Start Stop Restart # processname: tomcat # chkconfig: 234 20 80 export JAVA_HOME=/usr/java/jdk1.6.0_35 export ...