上一页 1 ··· 37 38 39 40 41 42 43 44 45 ··· 51 下一页
摘要: 1. 查看nginx错误日志 connect() failed (111: Connection refused) while connecting to upstream connect() to unix:/run/php/php7.2-fpm.sock failed (2: No such f 阅读全文
posted @ 2022-02-14 15:03 代码诠释的世界 阅读(774) 评论(0) 推荐(0)
摘要: 1. 场景 升级18.04到20.04之后,服务起不来 2. 解决办法 重新安装php7.2-fpm 3.重启 sudo service php7.2-fpm restart 阅读全文
posted @ 2022-02-14 14:46 代码诠释的世界 阅读(741) 评论(0) 推荐(0)
摘要: 1. 重置方法 netsh winsock reset 2. 重启电脑, ###### 注意保存文件 shutdown -r -t 30 阅读全文
posted @ 2022-02-08 11:30 代码诠释的世界 阅读(536) 评论(0) 推荐(0)
摘要: 1. 今天踩了一个大坑,IDE的文件都没commit,然后pull代码的时候,没注意,直接reset了 2. 处理方法 git fsck --lost-found 找到lost-found/other文件, 然后使用编辑器打开, 查看文件内容, 虽然文件不是自己最新的, 但是还是很有用的, 找回了一 阅读全文
posted @ 2022-01-28 20:25 代码诠释的世界 阅读(520) 评论(0) 推荐(0)
摘要: 1. 问题代码python self.browser.switch_to_window_handles(browser.window_handles[-1]) 2. 解决方法 self.browser.switch_to.window(browser.window_handles[-1]) 阅读全文
posted @ 2022-01-27 16:16 代码诠释的世界 阅读(1056) 评论(0) 推荐(0)
摘要: 1. 下载链接 # https://github.com/allure-framework/allure2/releases# allure文档:https://docs.qameta.io/allure/ 2. 安装 ubuntu sudo dpkg -i allure_2.17.2-1_all. 阅读全文
posted @ 2022-01-18 19:55 代码诠释的世界 阅读(527) 评论(0) 推荐(0)
摘要: 1. 安装第三方库 pip install websocket pip install websocket-client 2. 实战 import time from websocket import create_connection url = 'ws://192.168.1.100:8888/ 阅读全文
posted @ 2022-01-18 19:48 代码诠释的世界 阅读(976) 评论(0) 推荐(0)
摘要: 1. 在哪里 apt-get install apps 这样的命令,一般会将下载文件放在 /var/cache/apt/archives目录下,然后安装。 2. 如何清理 apt-get clean删除/var/cache/apt/archives/ 和 /var/cache/apt/archive 阅读全文
posted @ 2022-01-14 11:10 代码诠释的世界 阅读(1857) 评论(0) 推荐(0)
摘要: 1. 更新系统 sudo apt-get update sudo apt-get dist-upgrade sudo apt-get autoremove 2. 安装postfixadmin sudo apt install php7.2-fpm php7.2-cli php7.2-imap php 阅读全文
posted @ 2022-01-13 20:38 代码诠释的世界 阅读(499) 评论(0) 推荐(0)
摘要: 1. shell脚本 #!/bin/bash echo 'some id_rsa content'>~/.ssh/id_rsa_mac chmod 600 ~/.ssh/id_rsa_mac eval `ssh-agent` ssh-add ~/.ssh/id_rsa ssh-add ~/.ssh/ 阅读全文
posted @ 2022-01-13 18:32 代码诠释的世界 阅读(58) 评论(0) 推荐(0)
上一页 1 ··· 37 38 39 40 41 42 43 44 45 ··· 51 下一页