时间转换:
date_str = "2016-11-30 13:53:59"
t=int(time.mktime(time.strptime(date_str, "%Y-%m-%d %H:%M:%S")))
return (t)
centos 安装boost
yum install boost
yum install boost-devel
yum install boost-doc
centos 安装 pyv8
centos 后台运行django测试环境
ps:需要先切换的dj的目录才能执行,否则ps -u查看,会返回 exit
nohup python manage.py runserver 0.0.0.0:80 >python_dj_out.file 2>&1 &