随笔分类 -  Linux-Basic

上一页 1 ··· 4 5 6 7 8 9 10 下一页
摘要:1. 使用deb包安装 # 32位 wget https://dl.google.com/linux/direct/google-chrome-stable_current_i386.deb sudo dpkg -i google-chrome-stable_current_i386.deb # 6 阅读全文
posted @ 2022-02-16 20:43 代码诠释的世界 阅读(156) 评论(0) 推荐(0)
摘要:1. 处理方法 sudo apt update sudo apt upgrade sudo apt dist-upgrade sudo apt autoremove sudo do-release-upgrade 2. 提示截图 阅读全文
posted @ 2022-02-14 16:07 代码诠释的世界 阅读(517) 评论(0) 推荐(0)
摘要:1. 使用git merge方法合并master分支代码到自己分支 git checkout master # 切换本地分支为master git pull # 更新本地分支master代码为远程最新代码 git checkout [自己的分支名] # 切换到自己的分支 git merge mast 阅读全文
posted @ 2022-02-14 15:51 代码诠释的世界 阅读(14066) 评论(0) 推荐(0)
摘要:1. 查询安装包版本 网站:https://packages.ubuntu.com/ 2. apt-cache madison <<package name>>查询 其他操作 apt-cache madison vimapt-cache policy vimapt-cache showpkg vim 阅读全文
posted @ 2022-02-14 15:26 代码诠释的世界 阅读(1438) 评论(0) 推荐(0)
摘要: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 代码诠释的世界 阅读(769) 评论(0) 推荐(0)
摘要:1. 场景 升级18.04到20.04之后,服务起不来 2. 解决办法 重新安装php7.2-fpm 3.重启 sudo service php7.2-fpm restart 阅读全文
posted @ 2022-02-14 14:46 代码诠释的世界 阅读(740) 评论(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. 下载链接 # 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 代码诠释的世界 阅读(526) 评论(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 代码诠释的世界 阅读(1854) 评论(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 代码诠释的世界 阅读(496) 评论(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 代码诠释的世界 阅读(57) 评论(0) 推荐(0)
摘要:由于开发给了个jar,本地搭建个环境 然后运行就报错error unable to access jarfile java -jar antenna-server-1.0.0-jar 实际是包名不对,不是“-”, 应该是“.” 阅读全文
posted @ 2022-01-12 17:02 代码诠释的世界 阅读(904) 评论(0) 推荐(0)
摘要:1. 官网 https://www.proofpoint.com/us/products/email-protection/open-source-email-solution 2. 使用qq/163/126免费个人邮箱,申请获取授权码 3. smtp 非ssl #!/bin/bash read - 阅读全文
posted @ 2022-01-12 14:37 代码诠释的世界 阅读(134) 评论(0) 推荐(0)
摘要:1. 开始我是用sudo去安装, 可能用到了系统环境 sudo pip3 install -r requirements.txt 2. 改成如下即可 pip3 install -r requirements.txt --user 阅读全文
posted @ 2022-01-10 17:27 代码诠释的世界 阅读(97) 评论(0) 推荐(0)
摘要:由于帐号并没有开启免密码导致的 假设当前帐号为jenkins 1 打开sudoers sudo vim /etc/sudoers 2 添加免密码 jenkins ALL = NOPASSWD: ALL 阅读全文
posted @ 2022-01-10 17:09 代码诠释的世界 阅读(184) 评论(0) 推荐(0)
摘要:1. 打开系统配置,配置 Extended E-mail Notification 注意添加认证凭据 2. 打开系统配置,配置邮件通知 3. 为maven构建项目配置邮件通知 基本默认即可 4. 手动触发,查看邮件发送 到此基本完成 参考:https://www.cnblogs.com/imyalo 阅读全文
posted @ 2022-01-06 19:20 代码诠释的世界 阅读(85) 评论(0) 推荐(0)
摘要:一、相关文档 https://wiki.archlinux.org/title/Dnsmasq 二、安装 Ubuntu 18.04附带了systemd-resolve,需要禁用它,因为它绑定到53端口,与Dnsmasq端口冲突。 运行以下命令以禁用已解析的服务: sudo systemctl dis 阅读全文
posted @ 2022-01-06 16:35 代码诠释的世界 阅读(2729) 评论(0) 推荐(0)
摘要:1. 官网 # http://doc.ewomail.com/docs/ewomail/install 2. docker hub 镜像 # https://registry.hub.docker.com/r/bestwu/ewomail 3. 安装docker https://www.cnblog 阅读全文
posted @ 2022-01-06 15:45 代码诠释的世界 阅读(2123) 评论(0) 推荐(1)
摘要:1. 官网 https://docs.sonarqube.org/8.9/setup/install-server/ 文档 Try Out SonarQube | SonarQube Docs 2. 安装Java环境 https://www.cnblogs.com/fireblackman/p/15 阅读全文
posted @ 2021-12-28 17:45 代码诠释的世界 阅读(561) 评论(0) 推荐(0)
摘要:1. 解决办法 打开数据库,数据库配置文件一般在conf/sonar.properties文件中配置在数据库中执行如下sql,将管理员admin密码重置为admin postgres=# \c sonarqube sonar=# update users set crypted_password = 阅读全文
posted @ 2021-12-28 17:15 代码诠释的世界 阅读(2944) 评论(0) 推荐(0)

上一页 1 ··· 4 5 6 7 8 9 10 下一页