添加本地域名解析 sudo gedit /etc/hosts 127.0.0.1 mail .test.lab test sudo gedit /etc/hostname test 重启后用以下命令检测是否生效hostnamehostname -f 安装postfix sudo apt-get in ...
分类:
其他好文 时间:
2020-06-24 20:09:02
阅读次数:
58
技术栈 node.js, vue.js, axios, python, django, orm, restful api, djangorestframework, mysql, nginx, jenkins. 环境配置 操作系统 Windows 7 旗舰版,Service Pack 1。 前端 N ...
分类:
Web程序 时间:
2020-06-24 19:50:45
阅读次数:
66
<?phpnamespace app\service\Jssdk;/** * Created by PhpStorm. * User: lyy * Date: 2020/6/22 * Time: 14:51 */use Redis;class Jssdk{/** * @var Redis */pri ...
分类:
微信 时间:
2020-06-24 19:49:43
阅读次数:
92
MVC first appeared at the Web Layer of a Java Web project, it's a thinking. The Layers: web layer: com.truman.web/servlet/controller service layer: co ...
分类:
编程语言 时间:
2020-06-24 19:33:56
阅读次数:
59
为前端提供数据时,往往是这样的json { 'album_name': 'Undun', 'artist': 'The Roots', 'tracks': 01}...... 如果需要外键字段对应表的详细信息,像这样 { 'album_name': 'The Grey Album', 'artist ...
分类:
其他好文 时间:
2020-06-24 19:26:09
阅读次数:
86
程序安装在/usr/local/freeswitch目录,root用户。 1、在目录/usr/lib/systemd/system下创建文件freeswitch.service,内容如下: [Unit] Description=FreeSWITCH After=syslog.target netwo ...
分类:
其他好文 时间:
2020-06-24 18:09:13
阅读次数:
69
k8s的亲和度 nodeSelector k8s非常常用的一个调度方式:nodeSelector label 设置好的标签 用户可以灵活的利用label来管理集群中的资源,比如常见的service对象通过label去匹配pod资源,而pod的调度也可以根据节点的label来进行调度 查看node的l ...
分类:
其他好文 时间:
2020-06-24 18:07:40
阅读次数:
136
We respect and protect the privacy of all users of the service. In order to provide you with more accurate and personalized services, the software wil ...
分类:
其他好文 时间:
2020-06-24 16:08:14
阅读次数:
53
需求为:项目分为业务系统和后台管理系统,重定向路由‘/’ 在业务系统显示为homepage,在后台管理系统首页显示为 dashboard; 实现 在router.js: import Vue from 'vue' import Router from 'vue-router' import Layo ...
分类:
其他好文 时间:
2020-06-24 16:02:51
阅读次数:
218
Suppose a bank has K windows open for service. There is a yellow line in front of the windows which devides the waiting area into two parts. All the c ...
分类:
其他好文 时间:
2020-06-24 16:01:04
阅读次数:
45