이것저것

  • 블로그홈
  • 지역로그
  • 태그로그
  • 미디어로그
  • 방명록

Python 2

윈도우에서 python mysqlclient 패키지 설치하기

1. pip용 whl 파일 다운로드 2. 설치 pip install mysqlclient-1.3.12-cp27-cp27m-win32.whl

Python 2017.12.22

python 스크립트 데몬으로 실행하기

1. 데몬 스크립트 작성# sudo su# cd /etc/init.d# touch tunnel# chmod 755 ./tunnel# vi ./tunnel nohup 사용- 세션이 종료되어도 백그라운드로 프로세스 동작- 로그를 파일로 출력#!/bin/bash# chkconfig: 345 88 08# description: Tunneling Server Deamon VENV=/home/ec2-user/venvWORKDIR=/home/ec2-user/tunnelDAEMON=tunnel.pyLOG=/var/log/tunnel.log function do_start(){ source ${VENV}/bin/activate cd ${WORKDIR} nohup python ${DAEMON} & >> ${LOG}} fu..

Python 2016.05.09
1
더보기
프로필사진

개인적인 기록 공간...

  • 분류 전체보기
    • Linux
    • Filesystem
    • Network
    • Vue.js
    • Javascript
    • MicroService
    • Node.js
    • Python
    • Django
    • Docker
    • Spring
    • LogStash
    • Lua
    • Mac
    • Shell Script
    • GStreamer
    • FT
    • 스크랩
    • 기타

Tag

PES Packet, sqlalchemy, ubuntu, Python, TS Packet, etcd, H264, Visual Studio, node.js, mysql, CoreOS, Digest, Push mode, mbr, sscanf, Signed URL, gstreamer, cluster, AWS, FDISK,

최근댓글

방문자수Total

  • Today :
  • Yesterday :

Copyright © Kakao Corp. All rights reserved.

  • [KLDP] The Linux Kernel
  • Martin Fowler
  • 지앤선의 책 사랑
  • 소프트웨어 개발과 테스트, 조대협
  • [ES] GURUBLE BLOG

티스토리툴바