centos7 增加虚拟网卡
摘要:确认内核是否有tun模块 # modinfo tun yum install tunctl -y 如果找不到 vim /etc/yum.repos.d/nux-misc.repo [nux-misc]name=Nux Miscbaseurl=http://li.nux.ro/download/nux
阅读全文
flask_script 创建自定义命令行
摘要:创建管理员账号: 在服务器部署后,由于管理员账号没有申请的路径,需要在一开始的时候设定管理员账号,如果使用过程中需要新增管理员账号,十分不方便,在flask_script中可以通过命令行的方式增加管理员,就可以不影响服务器运行的情况下增加管理员账号. 实例: from info.models imp
阅读全文
mybatis 记录
摘要:@Repositorypublic interface OrderMQConsumeMapper { Long saveMessage(@RequestParam(name="orderMQInfo") OrderMQInfo orderMQInfo); Integer updateConsumeS
阅读全文
mybatis 自动生成代码
摘要:https://blog.csdn.net/winter_chen001/article/details/77249029
阅读全文
基于docker的wekan部署
摘要:镜像地址: https://hub.docker.com/r/wekanteam/wekan/ wiki: https://github.com/wekan/wekan/wiki#Development github: https://github.com/wekan/wekan 版本: v1.75
阅读全文
安装PostGIS 2.1.1 时遇到checking for library containing GDALAllRegister... no
摘要:在postgis中执行./configure时,遇到 checking for library containing GDALAllRegister... no 的错误信息[root@test postgis-2.1.1]# ./configure.........checking for libr
阅读全文
解压.bz2失败
摘要:报错: # tar -jxf geos-3.6.2.tar.bz2 tar (child): bzip2:无法 exec: 没有那个文件或目录tar (child): Error is not recoverable: exiting nowtar: Child returned status 2t
阅读全文
PowerDesigner导入sql脚本生成物理模型
摘要:https://www.cnblogs.com/zsswpb/p/5771623.html
阅读全文
supervisord 进程管家
摘要:s supervisor supervisor管理进程,是通过fork/exec的方式将这些被管理的进程当作supervisor的子进程来启动,所以我们只需要将要管理进程的可执行文件的路径添加到supervisor的配置文件中就好了。此时被管理进程被视为supervisor的子进程,若该子进程异常中
阅读全文
graphviz
摘要:https://graphviz.gitlab.io/_pages/Download/Download_windows.html apt-get install graphviz python shell.py get_graph_dot create_sg --show_args |dot -Tp
阅读全文