본문 바로가기

About Computer/서버관리38

nitrous.io (TODO) Nitrous.io 환경 설정에 대한 내용을 정보 제공겸 기록으로 남겨둔다. MySQL 설치 $ parts install mysql=> Extracting archive...=> Installing...Installing MySQL system tables...2013-11-04 02:32:57 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).2013-11-04 02:32:57 1764 [Warning] Buffered warning: Changed limits: ma.. 2013. 11. 4.
Ubuntu 10.04.4 LTS 서버 설치 후 했던 작업 리스트 (hostple.net) Update apt-get update serverlist Path : /etc/apt/sources.list Following is for the hostple.net Service User.eb http://ftp.daum.net//ubuntu/ lucid main restricteddeb-src http://ftp.daum.net//ubuntu/ lucid main restricted## Major bug fix updates produced after the final release of the## distribution.deb http://ftp.daum.net//ubuntu/ lucid-updates main restricteddeb-src http://ftp.daum.net//ubuntu/ .. 2013. 7. 10.
How to remove apache2 server clearly $ sudo service apache2 stop$ sudo apt-get purge apache2 apache2-utils apache2.2-bin apache2-common$ sudo apt-get autoremove --purge$ sudo rm -Rf /etc/apache2 /usr/lib/apache2 /usr/include/apache2 만약 apache2를 수동 설치한 경우 "whereis apache2" 명령어를 이용하여 경로를 찾아낸 후, 그 경로를 모두 지운다. 2013. 3. 5.
nohup 사용법 소개 Unix계열에서 백그라운드, 데몬 형태로 실행하고 싶은 경우 " &" 형태로 실행하는 방법이 있지만, 이 방법은 실행한 세션이 로그아웃된 경우 HUP(hangup) signal이 세션이 실행한 모든 프로그램에 전달되어, 해당 프로그램들이 종료되게 된다. nohup 을 사용한 명령어는 이에 대한 예외처리가 되므로, 이를 사용하면 로그아웃되더라도 프로그램을 계속 구동할 수 있다. 구동방법 nohup은 다음과 같이 사용한다. $ nohup & 명령어에 argument가 필요한 경우에도 부분에 모두 기입하면 된다. (예) $ nohup ls -al & 명령어에 대한 출력은 리다이렉션을 사용하지 않는 한, 명령어를 수행한 디렉토리의 nohup.out 에 자동 저장된다. 종료방법 nohup 전용으로 종료하는 .. 2013. 2. 8.