"ヾ(◍°∇°◍)ノ゙加油哟~","愿我们不负昭华,以梦为马!","愿我们历尽千帆,归来仍是少年!"

随笔分类 -  个人

摘要:linux 添加用户,无权限修改passwd问题 1、首先检查 /etc/passwd 文件权限 [root@VM-0-3-centos tempfile]# lsattr /etc/passwd ia e-- /etc/passwd 文件的扩展属性多了 i a # i:不可修改权限# a:只追加权 阅读全文
posted @ 2022-05-22 11:05 深夜独行侠 阅读(1054) 评论(0) 推荐(0) 编辑
摘要:备份 https://blog.csdn.net/a807557328/article/details/114223840 https://zhuanlan.zhihu.com/p/423506052 阅读全文
posted @ 2022-05-05 15:46 深夜独行侠 阅读(75) 评论(0) 推荐(0) 编辑
摘要:配置依赖https://www.cnblogs.com/Gbeniot/p/5157245.htmlhttps://www.jianshu.com/p/c50209404b92 阅读全文
posted @ 2022-05-05 09:33 深夜独行侠 阅读(84) 评论(0) 推荐(0) 编辑
摘要:redis 性能测试工具命令找不到问题 [root@VM-0-3-centos bin]# redis-benchmark -n 10000 -q -bash: redis-benchmark: 未找到命令 https://blog.csdn.net/qq_34608423/article/deta 阅读全文
posted @ 2022-04-12 09:38 深夜独行侠 阅读(136) 评论(0) 推荐(0) 编辑
摘要:https://wenku.baidu.com/view/22b5c60e925f804d2b160b4e767f5acfa1c783cf.html 阅读全文
posted @ 2022-04-11 16:51 深夜独行侠 阅读(381) 评论(0) 推荐(0) 编辑
摘要:import java.io.FileInputStream; import java.io.IOException; import java.security.MessageDigest; import java.security.NoSuchAlgorithmException; /** * @ 阅读全文
posted @ 2022-04-03 19:17 深夜独行侠 阅读(403) 评论(0) 推荐(0) 编辑
摘要:import org.springframework.context.annotation.Configuration; import org.springframework.scheduling.annotation.EnableScheduling; import org.springframe 阅读全文
posted @ 2022-03-27 18:44 深夜独行侠 阅读(61) 评论(0) 推荐(0) 编辑
摘要:一、开启慢日志查询 1、查询开启 #慢查询是否开启和日志位置 show variables like 'slow_query%'; #慢查询时间 show variables like 'long_query_time'; #开启慢查询日志 set global slow_query_log='ON 阅读全文
posted @ 2022-03-22 14:47 深夜独行侠 阅读(33) 评论(0) 推荐(0) 编辑
摘要:进入mysql数据库,修改数据库的内容 1, use mysql; 2,update user set authentication_string="" where User='root';//设 authentication_string 为空值 ,因为是连接这个加密的东西 先设密码为空 3,up 阅读全文
posted @ 2022-03-22 12:56 深夜独行侠 阅读(54) 评论(0) 推荐(0) 编辑
摘要:如果有穿墙插件如Google助手 VPN SS 之类别 有可能被全局代理 首先关闭这些软件 或者浏览器插件 假设,您的本地代理端口为:1080 ,打开git base窗口进行按下列的方式设置。(在Linux及OSX系统环境下测试通过。) 全局代理(不推荐) 设置代理 git config --glo 阅读全文
posted @ 2022-03-20 18:56 深夜独行侠 阅读(70) 评论(0) 推荐(0) 编辑
摘要:修改host文件 # update: 20220222 # Github Hosts # domain: github.com 140.82.113.4 github.com 140.82.114.9 nodeload.github.com 140.82.112.5 api.github.com 1 阅读全文
posted @ 2022-03-20 18:52 深夜独行侠 阅读(22186) 评论(0) 推荐(0) 编辑
摘要:1、轮询(默认)每个请求按时间顺序逐一分配到不同的后端服务器,如果后端服务器down掉,能自动剔除。upstream backserver {undefinedserver 192.168.0.14;server 192.168.0.15;} 2、指定权重指定轮询几率,weight和访问比率成正比, 阅读全文
posted @ 2022-03-19 19:57 深夜独行侠 阅读(60) 评论(0) 推荐(0) 编辑
摘要:去掉框中的选项 阅读全文
posted @ 2022-03-19 16:13 深夜独行侠 阅读(387) 评论(0) 推荐(0) 编辑
摘要:@echo on @rem 删除SVN版本控制目录 @rem for /r . %%a in (.) do @if exist "%%a\.svn" @echo "%%a\.svn" @for /r . %%a in (.) do @if exist "%%a\.svn" rd /s /q "%%a 阅读全文
posted @ 2022-03-19 12:37 深夜独行侠 阅读(59) 评论(0) 推荐(0) 编辑
摘要:原因: 利用mybatis插入空值给数据库;mysql能够正常执行,而Oracle却抛出异常; 这两种截然不同的表现给程序员造成了困扰,那么这个抛异常的锅到底应该是谁来背呢? 当然是mybatis来背锅喽。oracle和mysql都根据jdbc接口来提供了自己的实现方法, 而mybatis作为一个封 阅读全文
posted @ 2022-03-18 22:35 深夜独行侠 阅读(932) 评论(0) 推荐(1) 编辑
摘要:#命令查看最大连接数。 show variables like "max_connections" #命令修改最大连接数 set GLOBAL max_connections=1000; #查看具体的连接数信息。 show processlist #关闭一个非交互连接前要等待的秒数 show glo 阅读全文
posted @ 2022-03-18 17:50 深夜独行侠 阅读(463) 评论(0) 推荐(0) 编辑
摘要:进入mysql数据库,修改数据库的内容 1, use mysql; 2,update user set authentication_string="" where User='root';//设 authentication_string 为空值 ,因为是连接这个加密的东西 先设密码为空 3,up 阅读全文
posted @ 2022-03-18 17:31 深夜独行侠 阅读(390) 评论(0) 推荐(0) 编辑
摘要:数据库内置表 https://www.cnblogs.com/gengyufei/p/13376184.html 阅读全文
posted @ 2022-03-18 17:11 深夜独行侠 阅读(25) 评论(0) 推荐(0) 编辑
摘要:https://www.cnblogs.com/tangsong41/p/14441845.html 阅读全文
posted @ 2022-03-18 15:16 深夜独行侠 阅读(14) 评论(0) 推荐(0) 编辑
摘要:fatal: unable to access 'https://github.com/torchstar/hellogit.git/': OpenSSL SSL_read: Connection was reset, errno 10054 git config --global http.ssl 阅读全文
posted @ 2022-03-09 11:57 深夜独行侠 阅读(36) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示