2022年6月29日
摘要:
现象: shell脚本中source aaa.sh时提示 source: not found 原因: ls -l `which sh` 提示/bin/sh -> dash 这说明是用dash来进行解析的。 改回方法: 命令行执行:sudo dpkg-reconfigure dash 在界面中选择no
阅读全文
posted @ 2022-06-29 19:05
芒果-Vic
阅读(814)
推荐(0)
2022年2月15日
摘要:
一、启动aria2 docker run -itd \ --name aria2-pro \ -p 6800:6800 \ -p 6888:6888 \ -p 6888:6888/udp \ -e PUID=$UID \ -e PGID=$GID \ -e UMASK_SET=022 \ -e RP
阅读全文
posted @ 2022-02-15 19:11
芒果-Vic
阅读(511)
推荐(0)
2020年12月28日
摘要:
find . -type d -name ".svn"|xargs rm -rf
阅读全文
posted @ 2020-12-28 10:22
芒果-Vic
阅读(104)
推荐(0)
2020年10月12日
摘要:
1.系统镜像列表 k8s.gcr.io/kube-apiserver:v1.19.1 k8s.gcr.io/kube-scheduler:v1.19.1 k8s.gcr.io/kube-controller-manager:v1.19.1 k8s.gcr.io/kube-proxy:v1.19.1
阅读全文
posted @ 2020-10-12 16:31
芒果-Vic
阅读(2104)
推荐(0)
2020年9月24日
摘要:
1.安装系统 安装系统时如果引导盘路径不对,需要修改 一般插入U盘后,出现如下三行 1. install Centos 7 2. Test This media & install Centos 7 3. Troubleshoooting 此时,tab建 编辑第一个 将会出现以下文字 vmlinuz
阅读全文
posted @ 2020-09-24 23:23
芒果-Vic
阅读(211)
推荐(0)
2020年1月28日
摘要:
零、环境 os:centos8 阿里云 kernel:Linux ${hostname} 4.18.0-80.11.2.el8_0.x86_64 #1 SMP ${time} x86_64 x86_64 x86_64 GNU/Linux nginx:nginx-1.17.5 一、编译安装nginx
阅读全文
posted @ 2020-01-28 21:46
芒果-Vic
阅读(3200)
推荐(0)
2019年11月21日
摘要:
1、查看设备上安装了几个内核 cat /boot/grub2/grub.cfg |grep menuentry 2、查看当前内核 grub2-editenv list saved_entry=CentOS Linux (4.9.137-1.el7.x86_64) 7 (Core) 3、修改默认启动的
阅读全文
posted @ 2019-11-21 17:43
芒果-Vic
阅读(445)
推荐(0)
2019年8月27日
摘要:
使用geoip模块,加载ip库 转自http://ju.outofmemory.cn/entry/16264
阅读全文
posted @ 2019-08-27 16:17
芒果-Vic
阅读(564)
推荐(0)
2019年5月28日
摘要:
问题 golang如何在一个平台编译另外一个平台可以执行的文件。比如在mac上编译Windows和linux可以执行的文件。那么我们的问题就设定成:如何在mac上编译64位linux的可执行文件。 解决方案 golang的交叉编译要保证golang版本在1.5以上,本解决方案实例代码1.9版本执行的
阅读全文
posted @ 2019-05-28 11:25
芒果-Vic
阅读(251)
推荐(0)
2019年4月12日
摘要:
一、修改用户uid 二、修改用户gid 三、检查
阅读全文
posted @ 2019-04-12 15:43
芒果-Vic
阅读(2506)
推荐(0)