RAID 几种常见的类型 安装的megacli,之前先查看系统硬盘个数和RAID级别 [root@localhost Linux]# cat /proc/scsi/scsi Attached devices: Host: scsi2 Channel: 00 Id: 00 Lun: 00 Vendor ...
分类:
其他好文 时间:
2021-02-23 14:19:20
阅读次数:
0
# -*- coding: UTF-8 -*- import pymongo # 连接数据库 client = pymongo.MongoClient('localhost',27017) db=client['qunar'] collection=db['departures'] # 读取数据 d ...
分类:
数据库 时间:
2021-02-23 14:03:33
阅读次数:
0
步骤1、修改mysql配置文件 [root@localhost ~]# vi /etc/my.cnf 在底部添加一行 skip-grant-tables 保存退出 重启mysql [root@localhost ~]# systemctl restart mysqld 步骤2、将root密码置空 [ ...
分类:
数据库 时间:
2021-02-22 12:44:28
阅读次数:
0
docker tag 详解 docker tag 用于给镜像打标签,语法如下: docker tag SOURCE_IMAGE[:TAG] TARGET_IMAGE[:TAG] ① 比如我现在有一个 centos 镜像: [root@localhost ~]$ docker images REPOS ...
分类:
其他好文 时间:
2021-02-22 11:46:10
阅读次数:
0
mysql8: alter user 'root'@'localhost' identified by '123456'; mysql5.7: update user set authentication_string = password('123456') where user = 'root' ...
分类:
数据库 时间:
2021-02-22 11:45:52
阅读次数:
0
原因:未开启mysql服务器 手动开启:windows下启动cmd,在命令行下输入services.msc命令,打开服务程序,找到mysql程序,手动启动 命令行开启:net start mysql 服务名称被修改过,导致命令行无法开启 ...
分类:
数据库 时间:
2021-02-20 11:56:03
阅读次数:
0
Java类必须符合一定的 规范: a.必须继承 javax.servlet.http.HttpServlet b.重写其中的 doGet()或doPost()方法 doGet(): 接受 并处 所有get提交方式的请求 doPost():接受 并处 所有post提交方式的请求 Servlet要想使用 ...
分类:
其他好文 时间:
2021-02-19 13:38:13
阅读次数:
0
版本管控工具-subversion 一、SVN服务器搭建 1.1 安装Subversion yum install -y subversion 1.2 版本查看 svn --version 1.3 创建仓库 [root@localhost ~]# mkdir -p /home/svn/ [root@ ...
分类:
其他好文 时间:
2021-02-19 13:26:55
阅读次数:
0
Centos7安装Redis 一、安装gcc依赖 由于 redis 是用 C 语言开发,安装之前必先确认是否安装 gcc 环境(gcc -v),如果没有安装,执行以下命令进行安装 [root@localhost local]# yum install -y gcc 二、下载并解压安装包 [root@ ...
分类:
其他好文 时间:
2021-02-18 13:26:15
阅读次数:
0
Perfect简介:Perfect框架是Swift的服务器框架之一。 环境:MacOS 10.15.6 ,Xcode 12.3 1、新建一个文件夹 2、终端 cd到上面创建的文件夹,然后命令 git clone https://github.com/PerfectlySoft/PerfectTemp ...
分类:
编程语言 时间:
2021-02-17 14:49:14
阅读次数:
0