主要测试了各方式clone的情况: 1. 安装gitlab,配置ip:port。 常规步骤: yum install -y curl policycoreutils-python openssh-server wget https://mirrors.tuna.tsinghua.edu.cn/git ...
分类:
其他好文 时间:
2021-04-15 12:08:39
阅读次数:
0
flyway是一个数据库版本管理工具,集成进springboot后,每次系统升级启动时自动执行sql语句升级数据库,避免手动操作数据库。 1.maven引入依赖 <dependency> <groupId>org.flywaydb</groupId> <artifactId>flyway-core< ...
分类:
数据库 时间:
2021-04-15 12:02:41
阅读次数:
0
问题 create user hr with SYSADMIN password 'Gauss_234'; 失败 解答: 因为是从网页拷贝过来的,实际上 在聊天软件中拷贝一下,再复制到gsql中即可 问题 gs_dump db9 -f 1.dump -p 8000 -U rdsAdmin -W ** ...
分类:
数据库 时间:
2021-04-15 11:58:12
阅读次数:
0
Docker部署PostGres docker run -d --name postgres --restart always -e POSTGRES_USER='postgres' -e POSTGRES_PASSWORD='123456' -e ALLOW_IP_RANGE=0.0.0.0/0 ...
分类:
其他好文 时间:
2021-04-14 12:43:56
阅读次数:
0
一个有参数但无提示说明的脚本#login1.sh: 用户登录,判断用户输入的用户名和密码是否错误 vi login1.sh #!/bin/bash for ((i=0; i < 3; i++))do read username read password if test "$username" = ...
分类:
系统相关 时间:
2021-04-14 11:41:38
阅读次数:
0
<%@ page contentType="text/html;charset=UTF-8" language="java"%> <html> <head> <title>登陆界面</title> <link rel="stylesheet" href="./layui/css/layui.css" ...
分类:
Web程序 时间:
2021-04-13 12:20:28
阅读次数:
0
1. vi /etc/my.cnf 2. update mysql.user set authentication_string=password('123456') where user='root' and host='localhost'; 3. FLUSH PRIVILEGES; ...
分类:
数据库 时间:
2021-04-12 12:44:01
阅读次数:
0
一、Q:Error connecting to database: Access denied for user ‘zabbix’ @ ‘localhost’ to database ‘zabbix’(PASSWORD:YES) 浏览器输入http://ServerIP/zabbix 查看日志 ta ...
分类:
其他好文 时间:
2021-04-12 12:43:00
阅读次数:
0
1045 Access denied for user 'root'@'localhost' (using password:YES) 这个意思是说:用户“root”@本地主机的访问被拒绝 1、首先修改my.ini,在文件中加入skip-grant-tables,重新启动MySQL服务 2、cmd ...
分类:
数据库 时间:
2021-04-12 11:38:52
阅读次数:
0
树莓派WIFI设置 在“开始使用树莓派”中,我们在boot根目录下创wpa_supplicant.conf文件,实现了第一次连接wifi。以后开机后,树莓派会自动连接那个wifi。如果想要连接多个wifi需要修个如下配置。 sudo vim /etc/wpa_supplicant/wap_suppl ...
分类:
其他好文 时间:
2021-04-09 13:40:31
阅读次数:
0