* 如果是非Ubuntu系统,下面的apt-get命令要换成yum命令。apt-cache search all | grep -> yum list installed | grepapt-get purge -y -> yum remove -y其中的参数-y是过程中所有提示都自动选yes的作用 ...
分类:
其他好文 时间:
2021-01-07 12:30:42
阅读次数:
0
安装(ubuntu环境) 安装java环境 sudo apt-get install openjdk-8-jdk 安装jenkins wget -q -O - https://pkg.jenkins.io/debian/jenkins.io.key | sudo apt-key add - sudo ...
分类:
其他好文 时间:
2021-01-04 10:31:33
阅读次数:
0
一、停止和删除容器、删除镜像 docker ps 查看运行中的容器 docker ps -a 查看所有容器 docker stop 容器ID docker rm 容器ID docker images 查看镜像 docker rmi 镜像ID 删除镜像 二、禁用和停止容器服务 systemctl di ...
分类:
其他好文 时间:
2021-01-01 12:20:47
阅读次数:
0
1、git rm -r --cached 要忽略的文件 (如: git rm -r --cahced build/*, 如修改列表中的内容全部是不需要的, 那么你可以使用最最简单的命令搞定git rm -r --cached .) 2、将要忽略的文件添加到.gitignore文件中去(如果是目录的话 ...
分类:
其他好文 时间:
2020-12-28 11:34:19
阅读次数:
0
由于centos7安装后,YUM源服务器在国外下载比较慢,所以更换为国内YUM源 1、清空原YUM源配置文件 [root@localhost ~]#cd /etc/yum.repos.d [root@localhost yum.repos.d]# rm -rf * 2、下载阿里yum源配置文件 [r ...
分类:
其他好文 时间:
2020-12-25 11:50:31
阅读次数:
0
// #!/bin/bash # Your Answer # filename: gitrefresh.sh # chmod u+x gitrefresh.sh # ./gitrefresh.sh sudo yum remove git -y rm -rf /usr/local/git mkdir ...
分类:
系统相关 时间:
2020-12-22 11:57:00
阅读次数:
0
Vue——mac环境下报错vue-cli-service: command not found 话不多说,直接讲方法,在终端输入: sudo rm -rf node_modules package-lock.json && npm install ...
分类:
其他好文 时间:
2020-12-21 11:04:05
阅读次数:
0
\(\Large\displaystyle \int_0^{\infty} \frac{(1-x^2)\arctan x^2}{1+4x^2+x^4}\, {\rm d}x\) Solution What comes to mind is to maybe write the integrand a ...
分类:
其他好文 时间:
2020-12-19 12:54:59
阅读次数:
1
遇到的问题 get请求个json文件,https://****.com/data/app/themes/index.json iOS客户端网络请求后,后台修改了index.json的内容,iOS客户端再次请求,竟然返回的还是后台修改前的内容。放在电脑浏览器里请求每次都是后台修改后的内容。 猜想iOS ...
分类:
移动开发 时间:
2020-12-19 12:22:40
阅读次数:
2
Ubuntu删除内核 上操作系统实验课时, 需要多次编译新内核, 所以在后续实验中需要之前的内核删除, 记录一下网上查到的命令(仅供参考) 一、删除自己编译的内核 sudo rm -rf /lib/modules/4.6.0 #删除内核模块 sudo rm -rf /usr/src/linux-he ...
分类:
系统相关 时间:
2020-12-17 12:33:43
阅读次数:
4