Prerequisites: CentOS7 virtual machine on Hyper-V Now we have a working CentOS7 virtual machine on Hyper-V. Let's configure the Internal network for i ...
分类:
Web程序 时间:
2021-06-05 18:04:36
阅读次数:
0
环境介绍 RHEL8 nginx 192.168.92.129 RHEL8 myxql 192.168.92.130 RHEL8 php 192.168.92.131 nginx配置 //关闭服务器和selinux [root@nginx ~]# systemctl disable --now fi ...
分类:
其他好文 时间:
2021-06-02 19:38:14
阅读次数:
0
我想替换这个包,使用官方的。 然后 $ go get -u gorm.io/gorm go: downloading gorm.io/gorm v1.21.10 go: downloading github.com/jinzhu/now v1.1.2 go: downloading github.c ...
分类:
其他好文 时间:
2021-06-02 17:44:02
阅读次数:
0
@echo off echo %date:~0,4% echo %date:~5,2% echo %date:~8,2% ::把时间保存为变量 set now_data=%date:~0,4%%date:~5,2%%date:~8,2% echo %now_data% pause 说明: %date ...
分类:
其他好文 时间:
2021-06-02 17:12:35
阅读次数:
0
安装yum install epel-releaseyum install snapdsystemctl enable --now snapd.socketln -s /var/lib/snapd/snap /snapsnap install core; snap refresh coreyum r ...
分类:
其他好文 时间:
2021-06-02 15:37:58
阅读次数:
0
最大连接数 show variables like '%max_connections%'; 最大连接数 对于并发编程了解过的人知道,这个151不是越大越好,一般来说设置为 最大连接数 = cpu X 2 会比较合适, 因为受 IO 影响,连接数越大,反而越会占用IO,所以设置过大也可能导致性能降低 ...
分类:
数据库 时间:
2021-06-02 15:17:51
阅读次数:
0
https://www.tessferrandez.com/blog/2008/03/25/net-debugging-demos-lab-7.html This is the last debugging lab in the .NET Debugging Labs series. By now ...
分类:
Web程序 时间:
2021-06-02 14:43:49
阅读次数:
0
利用django.utils.dateparse 将各种类型字符串处理为datetime from django.utils import dateparse date_time=dateparse.parse_datetime("2021-05-28T00:00:00") 利用django.uti ...
分类:
其他好文 时间:
2021-06-02 14:14:01
阅读次数:
0
springboot相关的配置信息: server.tomcat.max-connections = 2000 server.tomcat.accept-count = 100 server.tomcat.max-threads = 200 上面三个配置理解请看:https://www.cnblog ...
分类:
编程语言 时间:
2021-06-02 12:39:50
阅读次数:
0
通过Cockpit管理虚拟机 除非您进行的是最小安装,否则默认情况下,Web控制台默认安装在CentOS 8安装上。 Web控制台默认情况下未启动,因此第一步是使用以下命令启用它: # systemctl enable --now cockpit.socket 如果未安装cockpit,则可以使用以 ...
分类:
其他好文 时间:
2021-05-25 18:06:22
阅读次数:
0