随笔分类 - Linux-Basic
摘要:1. 官网 https://www.testlink.org/ 2. 安装apache2 sudo apt-get install apache2 3. 安装mysql https://www.cnblogs.com/fireblackman/p/15692363.html 4. 安装PHP相关 s
阅读全文
摘要:1.jenkins日志 2. dockerfile FROM openjdk:8u171-jre-alpine ENV JAR_NAME=spring-boot-01-helloworld-quick-0.0.1-SNAPSHOT.jar COPY ./target/$JAR_NAME /apps/
阅读全文
摘要:1. 官网 https://www.atlassian.com/software/jira/guides https://docs.atlassian.com/software/jira/docs/api/ 2. 安装mysql https://www.cnblogs.com/fireblackma
阅读全文
摘要:1. 官网 https://www.jenkins.io/doc/ https://robotframework.org/ https://docs.qameta.io/allure/#_jenkins 2. 安装allure https://www.cnblogs.com/fireblackman
阅读全文
摘要:1. 问题 appledeMacBook-Pro:~ apple$ gradle -version ERROR: JAVA_HOME is set to an invalid directory: /usr/local/opt/openjdk Please set the JAVA_HOME var
阅读全文
摘要:1. 问题现象 appledeMacBook-Pro:~ apple$ allure -version ERROR: JAVA_HOME is set to an invalid directory: /usr/local/opt/openjdk Please set the JAVA_HOME v
阅读全文
摘要:1. 官网链接 http://docs.docker.com/compose/install/ 2.项目链接 https://github.com/docker/compose/releases 3. 下载二进制安装 Linux 上我们可以从 Github 上下载它的二进制包来使用,最新发行的版本地
阅读全文
摘要:1. 官网链接 https://goharbor.io/docs/2.4.0/ 2. 项目地址 https://github.com/goharbor/harbor/releases 3. 安装 wget https://storage.googleapis.com/harbor-releases/
阅读全文
摘要:1. 修改hostname sudo vim /etc/hostname sudo vim /etc/hosts 2. 让其立即生效 sudo hostname -F /etc/hostname
阅读全文
摘要:1. 原因是目录modules/xxxxx下出现了.git, 可能是在docker里操作时产生的 2. 解决办法 cd modules/xxxxx find -name '.git*' |xargs rm -rf
阅读全文
摘要:1. 首先你要可以连接到数据库 数据库配置文件地址 sudo vim /etc/postfixadmin/dbconfig.inc.php 2. 使用php脚本生成加密后的脚本,然后替换数据库中的passwd vim reset_passwd.php<?php echo md5crypt("输入你自
阅读全文
摘要:1. 安装postfixadmin https://www.cnblogs.com/fireblackman/p/15799597.html 2. 安装postgres https://www.cnblogs.com/fireblackman/p/15740550.html 3. 安装postfix
阅读全文
摘要: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
阅读全文
摘要:1. 处理方法 sudo apt update sudo apt upgrade sudo apt dist-upgrade sudo apt autoremove sudo do-release-upgrade 2. 提示截图
阅读全文
摘要:1. 使用git merge方法合并master分支代码到自己分支 git checkout master # 切换本地分支为master git pull # 更新本地分支master代码为远程最新代码 git checkout [自己的分支名] # 切换到自己的分支 git merge mast
阅读全文
摘要:1. 查询安装包版本 网站:https://packages.ubuntu.com/ 2. apt-cache madison <<package name>>查询 其他操作 apt-cache madison vimapt-cache policy vimapt-cache showpkg vim
阅读全文
摘要: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
阅读全文
摘要:1. 场景 升级18.04到20.04之后,服务起不来 2. 解决办法 重新安装php7.2-fpm 3.重启 sudo service php7.2-fpm restart
阅读全文
摘要:1. 今天踩了一个大坑,IDE的文件都没commit,然后pull代码的时候,没注意,直接reset了 2. 处理方法 git fsck --lost-found 找到lost-found/other文件, 然后使用编辑器打开, 查看文件内容, 虽然文件不是自己最新的, 但是还是很有用的, 找回了一
阅读全文