做别名扫描添加的硬盘 [root@localhost ks]# alias scandisk="echo '- - -' > /sys/class/scsi_host/host0/scan;echo '- - -' > /sys/class/scsi_host/host1/scan;echo '- ...
分类:
其他好文 时间:
2021-05-03 12:39:12
阅读次数:
0
命令行 安装软件包 [root@localhost ~]# yum install cobbler cobbler-web dhcp pykickstart -y 开机启动 [root@localhost ~]# systemctl enable --now cobblerd httpd tftp ...
分类:
其他好文 时间:
2021-05-03 12:35:24
阅读次数:
0
RabbitMQ 安装记录 1.安装 1.1 环境 Zero dependency Erlang RPM from Team RabbitMQ 👉 RabbitMQ Erlang Version Requirements 使用PackageCloud Yum Repository安装 A quic ...
分类:
其他好文 时间:
2021-05-03 12:16:55
阅读次数:
0
1. 安装ntpdate命令 [root@localhost ~]# yum install ntpdate -y 2. 用ntpdate命令对时 [root@localhost ~]# ntpdate ntp.aliyun.com 3. 写计划任务,每天进行一次对时 ...
分类:
其他好文 时间:
2021-04-29 11:52:40
阅读次数:
0
pymysql连接数据库报错: 解决方法: 将db = pymysql.connect(“localhost”,“root”,“root”,“testdb” )修改为 db = pymysql.connect(host=“localhost”, user=“root”, password=“root ...
分类:
数据库 时间:
2021-04-28 12:07:51
阅读次数:
0
系统版本: [root@localhost modules]# rpm -q centos-release centos-release-7-5.1804.el7.centos.x86_64 一、yum安装PHP 1.检查当前安装的PHP包 yum list installed | grep php ...
分类:
Web程序 时间:
2021-04-28 12:02:43
阅读次数:
0
配置lvs-dr环境 master配置文件 global_defs { notification_email { root@localhost } notification_email_from keeplived@localhost smtp_server 127.0.0.1 smtp_conne ...
分类:
其他好文 时间:
2021-04-27 14:56:45
阅读次数:
0
Master配置 global_defs { notification_email { root@localhost } notification_email_from keeplived@localhost smtp_server 127.0.0.1 smtp_connect_timeout 30 ...
分类:
其他好文 时间:
2021-04-27 14:42:00
阅读次数:
0
MySQL spring.datasource.url=jdbc:mysql://localhost:3306/twitter_test?useUnicode=true&characterEncoding=utf8&useSSL=false&serverTimezone=GMT%2B8spring. ...
分类:
移动开发 时间:
2021-04-27 14:38:30
阅读次数:
0
mysql由5.0升级至8.0 1:jar包的变换 <dependency> <groupId>mysql</groupId> <artifactId>mysql-connector-java</artifactId> <version>8.0.1</version> </dependency> 2 ...
分类:
数据库 时间:
2021-04-27 14:19:35
阅读次数:
0