预备条件: 注册 heroku.com ;注册github ,新建公共或私人repository; 安装git bash; 1、复制git 链接(如果是https格式的,每次签入项目时会要求输入github的用户名和密码,如果选择SSH格式,每次签入push时不需要输入信息,但是事先在电脑上保存SS ...
分类:
其他好文 时间:
2021-06-21 20:25:11
阅读次数:
0
安装docker的准备工作 参考文档>>>https://yeasy.gitbook.io/docker_practice/ DockerHub官网>>>https://hub.docker.com/ 升级centos的yum源 sudo yum update 设置yum源 官方源>sudo yum ...
分类:
其他好文 时间:
2021-06-21 20:16:40
阅读次数:
0
EFCore截至目前已经更新到了5.x, 然鹅对于一些略复杂的查询的支持还是不尽如人意啊, 有时候还不得不配合dapper来使用. 引入 假如现在有这样一个登录日志表, 需要查询各用户的最近的一次登录记录, 如何用EFCore来查呢? 登录日志表结构和模拟数据如下 生成数据库脚本 USE [EFCo ...
分类:
其他好文 时间:
2021-06-21 19:55:46
阅读次数:
0
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
#!/bin/bash rm -rf /var/lib/docker yum remove docker \ docker-client \ docker-client-latest \ docker-common \ docker-latest \ docker-latest-logrotate ...
分类:
其他好文 时间:
2021-06-21 19:53:25
阅读次数:
0
简单设置环境变量,以及密码 1.把mysql命令加入环境变量 [root@master01 ~]# vim /etc/profile.d/mysql.sh #!/bin/bash export MYSQL=/application/mysql export PATH=$PATH:$MYSQL/bin ...
分类:
数据库 时间:
2021-06-20 18:49:27
阅读次数:
0
脚本位置 cd /home/hadoop/bin 脚本内容 vi kafka.sh #输入以下内容 #!/bin/bash case $1 in "start" ){ for(( i = 1;i <= 3;i = $i +1));do echo hadoop0$i kafka $1 ssh hado ...
分类:
其他好文 时间:
2021-06-20 18:41:23
阅读次数:
0
1、创建topic 使用 kafka-topics.sh脚本 kafka-topics.sh --create --partitions 3 --replication-factor 2 --topic test --zookeeper hadoop01:2181,hadoop02:2181,had ...
分类:
其他好文 时间:
2021-06-20 18:38:22
阅读次数:
0
通过解析excel,自动生成odoo代码实现 一、首先做一个字段配置的excel模板 第二步、读取excel里面的模板,并写入到txt文件里 逻辑代码: # -*- coding: utf-8 -*- import xlrd import sys from importlib import relo ...
分类:
其他好文 时间:
2021-06-20 18:14:02
阅读次数:
0
1、CentOS7环境变量分系统环境变量和用户环境变量 系统环境变量:/etc/bashrc、/etc/profile、/etc/profile.d 推荐:/etc/profile.d 用户环境变量:~/.bash_profile、~/.bashrc 推荐:~/.bash_profile 2、查看环 ...
分类:
其他好文 时间:
2021-06-20 18:02:13
阅读次数:
0