1.安装环境 命令行参考 https://docs.microsoft.com/zh-cn/dotnet/core/install/linux-centos 用的是3.1版本 2.NetCore项目的发布 3.通过管理工具把发布得文件传到虚拟机上(我用的FTP工具FileZilla) 4.打开Fin ...
分类:
Web程序 时间:
2021-01-29 11:48:27
阅读次数:
0
1、修改配置文件 etc /locale.conf LANG="zh_CN.UTF-8" 2、查看更改后的系统语言变量 [root@5c46832b5c01 ~]# locale locale: Cannot set LC_CTYPE to default locale: No such file ...
分类:
编程语言 时间:
2021-01-28 12:23:02
阅读次数:
0
1. 安装nginx // 查询有没有nginx brew search nginx //开始安装nignx brew install nginx 2. 检查nignx是否安装成功 nginx -V 查看nginx版本及安装的本地位置 ngxin -v 查看nginx版本(此方法依然可以检测是否安装 ...
分类:
系统相关 时间:
2021-01-28 12:15:34
阅读次数:
0
一、多个mysql数据同步 制作一个简单的Dockerfile FROM centos VOLUME ["volume1","volume2"] CMD /bin/bash 构建镜像: [root@yang docker]# docker build -t docker-volume .Sendin ...
分类:
其他好文 时间:
2021-01-28 12:03:20
阅读次数:
0
问题 向MinIO上传文件时,抛出异常:The difference between the request time and the server's time is too large. 使用date命令修改CentOS时间后,异常依然存在。 相关Linux命令 查看系统时间:date 查看硬件 ...
分类:
Web程序 时间:
2021-01-28 11:51:35
阅读次数:
0
网上找了很多教程,但其位置都是错误的,一行代码就能搞定,不知道为啥讲一大堆,还搞不成功。 wget http://mirrors.aliyun.com/repo/Centos-altarch-7.repo -O /etc/yum.repos.d/CentOS-Base.repo ...
分类:
其他好文 时间:
2021-01-28 11:51:17
阅读次数:
0
说明:懂得分享,心存感恩! 一、根本法则:参考官网 https://repo.saltstack.com/#rhel 二、CentOS 7使用yum安装SaltStack具体方法 说明:以下步骤全部参考官网 (1)安装SaltStack存储库和密钥 yum install -y https://re ...
分类:
其他好文 时间:
2021-01-27 14:01:50
阅读次数:
0
区别:Linux内核中用到的红黑树是可以存储同样的key的,但是STL标准库map中用到的红黑树不能存储相同的key,原因是map对原有的红黑树做了修改。 1.原有的红黑树结构是可以插入相同的key 例如以下是截取的nginx 的红?树的实现,nginx 的红?树的实现和Linux内核中红黑树的实现 ...
分类:
编程语言 时间:
2021-01-27 14:01:29
阅读次数:
0
1:打开 https://vault.centos.org/ 查看需要的系统版本URL路径 2:修改文件/etc/yum.repos.d/CentOS-Base.repo为以下内容 [centos-office]name=centos-officefailovermethod=prioritybas ...
分类:
其他好文 时间:
2021-01-27 13:02:36
阅读次数:
0
解决CentOS启动nginx出现nginx: [emerg] open() "/var/run/nginx/nginx.pid" failed (2: No such file or director) 问题: 1.进入sbin:cd /usr/local/nginx/sbin/ 2.启动ngin ...
分类:
其他好文 时间:
2021-01-26 11:49:10
阅读次数:
0