不定时总结ES6里面的怪姿势! 1·变量 let url = _rural, method = `post`, loading = true, data = { page,page_size, rd_session}, params = { url, method, loading, data}; ...
分类:
其他好文 时间:
2021-06-21 21:10:59
阅读次数:
0
1.安装编码依赖包 nginx在linux安装的前提需要:wget、gcc、pcre、openssl、zlib [root@master ~]# yum -y install gcc gcc-c++ [root@master ~]# yum install -y pcre pcre-devel [r ...
分类:
其他好文 时间:
2021-06-21 21:09:19
阅读次数:
0
一、Windows端共享权限设定 1、解禁Guest 右击我的电脑选择管理→本地用户管理→本地用户和组→在用户项中双击Guest用户→取消账户已禁用选项 2、设置共享目录权限 右击共享目录点属性→在共享页面中点击共享选项→下拉选择共享对象为Everyone→点击共享按钮 3、设置本地策略 windo ...
Linux 平台安装 Nginx 1.20 该博客中使?的系统为 CentOS 7 Linux 发?版 系统版本详情: Linux centos7-shanghai 3.10.0-1160.25.1.el7.x86_64 #1 SMP Wed Apr 28 21:49:45 UTC 2021 x86 ...
分类:
系统相关 时间:
2021-06-21 19:54:00
阅读次数:
0
1 新增 user = User(mobile='15612345678', name='itcast') db.session.add(user) db.session.commit() profile = Profile(id=user.id) db.session.add(profile) d ...
分类:
数据库 时间:
2021-06-20 18:48:46
阅读次数:
0
首先检查Nginx是否启动成功 [root@web1 extra]# ps aux|grep nginx (一切正常)root 3269 0.0 0.1 46764 1464 ? Ss 09:34 0:00 nginx: master process nginx -c /application/ng ...
分类:
其他好文 时间:
2021-06-20 18:09:23
阅读次数:
0
一、简介 1 粒子群算法的概念 粒子群优化算法(PSO:Particle swarm optimization) 是一种进化计算技术(evolutionary computation)。源于对鸟群捕食的行为研究。粒子群优化算法的基本思想:是通过群体中个体之间的协作和信息共享来寻找最优解. PSO的优 ...
分类:
编程语言 时间:
2021-06-20 18:05:36
阅读次数:
0
创建 Nginx 容器 docker run --name nginx-demo -p 8080:80 -d nginx 参数说明: --name nginx-demo:容器名称 -p 8080:80: 端口进行映射,将本地 8080 端口映射到容器内部的 80 端口 -d nginx: 设置容器在 ...
分类:
其他好文 时间:
2021-06-20 17:51:22
阅读次数:
0
nginx 命令和信号 nginx命令 nginx 命令支持向其发送信号,实现不同功能 nginx 格式 nginx [-?hvVtTq] [-s signal] [-c filename] [-p prefix] [-g directives] 选项说明 帮助: -? -h 使用指定的配置文件: ...
分类:
Web程序 时间:
2021-06-20 17:47:57
阅读次数:
0
一,apt方式安装php 说明:用apt方式安装适用于本地开发环境,如果是线上生产环境,建议下载软件后编译安装 root@lhdpc:~# apt-get install php 查看结果: root@lhdpc:~# php -v PHP 7.4.16 (cli) (built: Mar 23 2 ...
分类:
数据库 时间:
2021-06-20 17:46:30
阅读次数:
0