随笔分类 - 个人
摘要:linux 添加用户,无权限修改passwd问题 1、首先检查 /etc/passwd 文件权限 [root@VM-0-3-centos tempfile]# lsattr /etc/passwd ia e-- /etc/passwd 文件的扩展属性多了 i a # i:不可修改权限# a:只追加权
阅读全文
摘要:备份 https://blog.csdn.net/a807557328/article/details/114223840 https://zhuanlan.zhihu.com/p/423506052
阅读全文
摘要:配置依赖https://www.cnblogs.com/Gbeniot/p/5157245.htmlhttps://www.jianshu.com/p/c50209404b92
阅读全文
摘要:redis 性能测试工具命令找不到问题 [root@VM-0-3-centos bin]# redis-benchmark -n 10000 -q -bash: redis-benchmark: 未找到命令 https://blog.csdn.net/qq_34608423/article/deta
阅读全文
摘要:https://wenku.baidu.com/view/22b5c60e925f804d2b160b4e767f5acfa1c783cf.html
阅读全文
摘要:import java.io.FileInputStream; import java.io.IOException; import java.security.MessageDigest; import java.security.NoSuchAlgorithmException; /** * @
阅读全文
摘要:import org.springframework.context.annotation.Configuration; import org.springframework.scheduling.annotation.EnableScheduling; import org.springframe
阅读全文
摘要:一、开启慢日志查询 1、查询开启 #慢查询是否开启和日志位置 show variables like 'slow_query%'; #慢查询时间 show variables like 'long_query_time'; #开启慢查询日志 set global slow_query_log='ON
阅读全文
摘要:进入mysql数据库,修改数据库的内容 1, use mysql; 2,update user set authentication_string="" where User='root';//设 authentication_string 为空值 ,因为是连接这个加密的东西 先设密码为空 3,up
阅读全文
摘要:如果有穿墙插件如Google助手 VPN SS 之类别 有可能被全局代理 首先关闭这些软件 或者浏览器插件 假设,您的本地代理端口为:1080 ,打开git base窗口进行按下列的方式设置。(在Linux及OSX系统环境下测试通过。) 全局代理(不推荐) 设置代理 git config --glo
阅读全文
摘要:修改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
阅读全文
摘要:1、轮询(默认)每个请求按时间顺序逐一分配到不同的后端服务器,如果后端服务器down掉,能自动剔除。upstream backserver {undefinedserver 192.168.0.14;server 192.168.0.15;} 2、指定权重指定轮询几率,weight和访问比率成正比,
阅读全文
摘要:@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
阅读全文
摘要:原因: 利用mybatis插入空值给数据库;mysql能够正常执行,而Oracle却抛出异常; 这两种截然不同的表现给程序员造成了困扰,那么这个抛异常的锅到底应该是谁来背呢? 当然是mybatis来背锅喽。oracle和mysql都根据jdbc接口来提供了自己的实现方法, 而mybatis作为一个封
阅读全文
摘要:#命令查看最大连接数。 show variables like "max_connections" #命令修改最大连接数 set GLOBAL max_connections=1000; #查看具体的连接数信息。 show processlist #关闭一个非交互连接前要等待的秒数 show glo
阅读全文
摘要:进入mysql数据库,修改数据库的内容 1, use mysql; 2,update user set authentication_string="" where User='root';//设 authentication_string 为空值 ,因为是连接这个加密的东西 先设密码为空 3,up
阅读全文
摘要:数据库内置表 https://www.cnblogs.com/gengyufei/p/13376184.html
阅读全文
摘要:https://www.cnblogs.com/tangsong41/p/14441845.html
阅读全文
摘要:fatal: unable to access 'https://github.com/torchstar/hellogit.git/': OpenSSL SSL_read: Connection was reset, errno 10054 git config --global http.ssl
阅读全文