07 2017 档案
ubuntu 默认防火墙安装、启用、查看状态
摘要:ubuntu 9.10默认的是UFW防火墙,已经支持界面操作了。在命令行运行ufw命令就可以看到提示的一系列可进行的操作。 最简单的一个操作:sudo ufw status可检查防火墙的状态,我的返回的是:不活动 sudo ufw version防火墙版本: ufw 0.29-4ubuntu1 Copyright 2008-2009 Canonical Ltd. ubuntu 系统默认已... 阅读全文
posted @ 2017-07-20 14:03 VincentZhu 阅读(39662) 评论(1) 推荐(0)
django部署
摘要:一、常用命令 https://askubuntu.com/questions/61254/how-to-update-gcc-to-the-latest-versionin-this-case-4-7-in-ubuntu-10-04 ubuntu16.04中将python3设置为默认: 如果要切换到 阅读全文
posted @ 2017-07-18 16:30 VincentZhu 阅读(206) 评论(0) 推荐(0)
django 部署到Ubuntu安装MYSQL56
摘要:阿里云 Ubuntu 14.04 安装mysql 5.6 1.升级apt-get sudo apt-get update 2. 安装mysql5.6版本 apt-get install mysql-server-5.6 如果你想查看别的版本可以输入apt-get install mysql的时候按下 阅读全文
posted @ 2017-07-18 16:24 VincentZhu 阅读(356) 评论(0) 推荐(0)
django 部署到Ubuntu-apache2遇到的问题汇总
摘要:1、x86_64-linux-gnu-gcc: error: unrecognized command line option ‘-fstack-protector-strong’ Turns out that the ‘-fstack-protector-strong’ option was no 阅读全文
posted @ 2017-07-18 16:14 VincentZhu 阅读(702) 评论(0) 推荐(0)
django日期查询出现UTC日志转换CONVERT_TZ出错的问题
摘要:select CONVERT_TZ(NOW(), 'UTC', 'UTC') 出现NULL值, 原因是MySQL少了时区表: SELECT * FROM mysql.time_zone; SELECT * FROM mysql.time_zone_name; 上面留个表查询为空是错误的原因。 解决办 阅读全文
posted @ 2017-07-14 17:36 VincentZhu 阅读(418) 评论(0) 推荐(0)