终于可以在假期开始学习 Django 啦 !😀 安装 django 1.11.14 pip install django==1.11.14 -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com 卸载 django 1.11 ...
分类:
其他好文 时间:
2020-07-23 22:28:40
阅读次数:
86
nginx配置 upstream order-service-host { ip_hash; server booking-order-service:10008; } 在前端 后端看日志都是正常的 但是访问报错400 需要将 order-service-host 要改成 order.service ...
分类:
其他好文 时间:
2020-07-23 15:58:54
阅读次数:
98
<?php header('content-type:application/json;charset=utf-8');//设置浏览器解析格式为json header('Access-Control-Allow-Origin: *'); $curPage = $_GET['page'];//前台传递 ...
分类:
Web程序 时间:
2020-07-23 01:52:57
阅读次数:
137
首先要启动MongoDB服务器 先找到你的mongoDb安装目录,我的如下:就在bin文件夹下创建一个data文件夹,data内包含两个空文件夹,如下: 接着回到bin文件夹处,按住shift键,右击bin文件夹,在此处打开命令行接着输入命令 mongod --dbpath …/data/db 或者 ...
分类:
数据库 时间:
2020-07-22 20:54:18
阅读次数:
96
远程环境配置 pycharm==>Settings >齿轮图标> SSH Interpreter 填写host, port可以连上的端口,用户名 填写密码 顺手点一下 save password 记住密码 指定运行环境, 本地和线上路径的映射 路径映射 pycharm==>Tools==> Depl ...
分类:
其他好文 时间:
2020-07-22 20:47:40
阅读次数:
87
实验步骤: Step1:必打命令 <Huawei>undo terminal monitor <Huawei>system-view [Huawei]sysname SW1[SW1]user-interface console 0[SW1-ui-console0]idle-timeout 0 0[S ...
分类:
其他好文 时间:
2020-07-22 20:44:18
阅读次数:
105
jenkins配合sonaqube7.8实现代码质量检测
分类:
其他好文 时间:
2020-07-22 20:23:20
阅读次数:
75
需要三个前提: # 在192.168.26.99代理上网前提:1) 路由表包含需要上网的网段route add -host 100.x.x.x gw 100.x.x.1 # eth1 是Wan口网卡route add -net 192.168.x.0/22 eth0 # eth0 是Lan口网卡 2 ...
分类:
系统相关 时间:
2020-07-22 20:08:34
阅读次数:
83
实验1:使用RIPv1协议跨越主类网络边界 Step1:输入必打命令 <Huawei>undo terminal monitor(关闭自动弹窗) <Huawei>system-view (进入系统视图)[Huawei]sysname R1(命名路由器为R1)[R1]user-interface co ...
分类:
其他好文 时间:
2020-07-22 15:40:51
阅读次数:
75
来来来,新的一节出炉了。这一节大家一起了解,Laravel如何对Mysql进行CURD。 我们回顾一下,PHP操作Mysql无非就是通过五个要素:host(地址)、username(用户名)、password(密码)、database(数据库名)和charset(字符集),就可以连接并操作数据库了。 ...
分类:
数据库 时间:
2020-07-22 11:16:26
阅读次数:
71