server { listen 80; server_name www.yourweb.com; rewrite ^(.*)$ https://$host$1 permanent; } ...
分类:
Web程序 时间:
2021-06-08 22:57:22
阅读次数:
0
yum -y localinstall http://mirrors.ustc.edu.cn/mysql-repo/mysql57-community-release-el7.rpm yum install -y mysql-community-server if [ ! "$(cat /usr/b ...
分类:
数据库 时间:
2021-06-07 21:17:01
阅读次数:
0
yum -y install epel-release wget make gcc-c++ cd /opt wget https://download.redis.io/releases/redis-6.2.3.tar.gz tar -xf redis-6.2.3.tar.gz cd redis-6 ...
分类:
其他好文 时间:
2021-06-07 21:16:38
阅读次数:
0
tesseract安装(CentOS) 1.安装图片相关依赖 yum install autoconf automake libtool libjpeg-devel libpng-devel libtiff-devel zlib-devel 2.下载 wget https://github.com/ ...
分类:
其他好文 时间:
2021-06-07 20:42:37
阅读次数:
0
查看当前系统版本的详细信息 # cat /etc/redhat-release CentOS Linux release 7.9.2009 (Core) yum源下载 地址:https://dev.mysql.com/downloads/repo/yum/ 下载地址:https://repo.mys ...
分类:
数据库 时间:
2021-06-07 20:40:56
阅读次数:
0
安装Redis 首先安装wget命令,wget是一个从网络上下载文件的自由工具。 yum install wget 创建一个目录“soft” mkdir soft cd到soft目录中安装redis 打开Redis官网(https://redis.io/)获取下载链接https://download ...
分类:
其他好文 时间:
2021-06-07 20:10:20
阅读次数:
0
新建vue.config.js module.exports = { css: { loaderOptions: { sass: { // 全局引入变量和 mixin additionalData: ` @import "@/assets/scss/variable.scss"; @import " ...
分类:
Web程序 时间:
2021-06-06 19:40:33
阅读次数:
0
参考 https://zh.cppreference.com/w/cpp/named_req/PODType 定义 要求满足如下条件: 标量类型 满足下列要求的类类型: 为平凡类型, 即要求满足如下条件: 可平凡复制 (TriviallyCopyable),即满足如下条件: 标量类型 可平凡复制类类 ...
分类:
编程语言 时间:
2021-06-06 19:11:32
阅读次数:
0
一般的.net项目在IIS发布只需要将文件夹指向项目的根目录即可,但是指向.net core项目不会发布成功。哪怕指向 /bin/Debug/netcoreapp3.1/ 也不行。 那么如何发布呢? 方法一 点击项目右键 选择“发布”。 选择发布类型为文件夹,选择文件夹路径 一般为 /bin/Rel ...
分类:
Web程序 时间:
2021-06-06 19:10:43
阅读次数:
0
Preliminaries Linux Basics Change Password: passwd shutdown: sudo shutdown -h 3 (broadcast to all users in 3 mins) reboot: sudo reboot -r now create a ...
分类:
其他好文 时间:
2021-06-06 18:53:34
阅读次数:
0