07 2021 档案

摘要:系统启动时需要加载的配置文件 /etc/profile、/root/.bash_profile/etc/bashrc、/root/.bashrc/etc/profile.d/*.sh、/etc/profile.d/lang.sh/etc/sysconfig/i18n、/etc/rc.local(/e 阅读全文
posted @ 2021-07-20 16:26 flytoyou 阅读(1790) 评论(0) 推荐(0)
摘要:Ubuntu升级到了20.04之后,默认的rc.local是不启动的,这也就导致了,我配置的一些自定义的脚本是没有办法在开机的时候就自动启动了。 rc-local.service默认内容如下 # SPDX-License-Identifier: LGPL-2.1+ # # This file is 阅读全文
posted @ 2021-07-20 16:24 flytoyou 阅读(1507) 评论(0) 推荐(0)
摘要:mysql 用grant 新建用户指定同一个网段主机的方法 出于对数据安全的考滤,在生产服务器上mysql的访问权限一般只允许本主机或与之在一个内网的服务器链接,禁止公网服务器的访问。 如果用grant all on *.* to 'account'@'192.168.0.10' identifie 阅读全文
posted @ 2021-07-20 14:07 flytoyou 阅读(433) 评论(0) 推荐(0)
摘要:首先,su – 到新创建的用户 拷贝默认的.bashrc过来 cp /etc/skel/.bashrc ~/ 然后创建.profile文件 vi ~/.profile 粘贴下面的内容 # ~/.profile: executed by Bourne-compatible login shells. 阅读全文
posted @ 2021-07-19 18:31 flytoyou 阅读(1098) 评论(0) 推荐(0)
摘要:出现问题场景 Ubuntn中原有Python3.5,现升级安装Python3.7 之后在多个使用场景下, 出现以下问题: 问题1 status 1 subprocess.CalledProcessError: Command '('lsb_release', '-a')' returned non- 阅读全文
posted @ 2021-07-18 16:28 flytoyou 阅读(1888) 评论(0) 推荐(0)
摘要:安装依赖工具 sudo apt-get install -y gcc make build-essential libssl-dev zlib1g-dev libbz2-dev libreadline-dev libsqlite3-dev wget curl llvm libncurses5-dev 阅读全文
posted @ 2021-07-18 15:50 flytoyou 阅读(2463) 评论(0) 推荐(1)
摘要:本问适合有编程基础的人,通篇敲完,能够达到快速上手python的目的. 原文链接:https://blog.csdn.net/weixin_43059824/article/details/82047930 阅读全文
posted @ 2021-07-18 15:37 flytoyou 阅读(53) 评论(0) 推荐(0)
摘要:运行 apt-get 时报如下错 E: Could not get lock /var/lib/dpkg/lock-frontend - open (11: Resource temporarily unavailable) E: Unable to acquire the dpkg fronten 阅读全文
posted @ 2021-07-18 12:46 flytoyou 阅读(334) 评论(0) 推荐(0)
摘要:前言 在进行Go开发的时候,设置Go的环境变量信息是必须的。下面介绍windows和Linux,以及Go自身提供的命令进行设置的形式 Linux的设置 In Linux or macOS, you can execute the below commands.(在Linux或者macOS,你可以执行 阅读全文
posted @ 2021-07-13 21:30 flytoyou 阅读(4092) 评论(0) 推荐(0)
摘要:安装插件报错 >go get k8s.io /klog@v1.0.0 go: cannot use path@version syntax in GOPATH mode go: cannot use path@version syntax in GOPATH mode 查看环境变量 >go env 阅读全文
posted @ 2021-07-13 14:30 flytoyou 阅读(1221) 评论(0) 推荐(0)
摘要:https://blog.csdn.net/weixin_43168190/article/details/107227626 阅读全文
posted @ 2021-07-03 09:10 flytoyou 阅读(3198) 评论(0) 推荐(0)
摘要:资源准备 角色主机名ip系统 master m8s-master01 192.168.219.160 CentOS 7.9.2009 node m8s-node01 192.168.219.164 CentOS 7.9.2009 软件信息 软件版本 docker 19.03.11 kubernete 阅读全文
posted @ 2021-07-03 09:09 flytoyou 阅读(363) 评论(0) 推荐(0)
摘要:If you are using Kite on Linux, you may find these frequently asked questions helpful. How do I install Kite on Linux? Install Kite on Linux by runnin 阅读全文
posted @ 2021-07-02 14:29 flytoyou 阅读(457) 评论(0) 推荐(0)
摘要:最近装了ubuntu18.04 LTS,下载软件有点慢,网上搜了下解决方案,大致是两种:一、把/etc/apt/sources.list文件里的源更换一下,改成阿里云或者其它的镜像的文件;二、更换software&updates里的select best server。 一、更换/etc/apt/s 阅读全文
posted @ 2021-07-02 10:32 flytoyou 阅读(593) 评论(0) 推荐(0)
摘要:https://developer.aliyun.com/article/87116 阅读全文
posted @ 2021-07-02 09:59 flytoyou 阅读(70) 评论(0) 推荐(0)
摘要:apt 是能够管理deb软件,其用法在此不再赘述,Google百度一大堆。 而其本身也是一个软件,如果提示找不到命令 command not found 1.可能是打错字了,这个。。。 2.可能系统不是Debian家族的,如果是红帽家的请适用yum,不很了解。 3.可能是环境变量错了,正常情况下,或 阅读全文
posted @ 2021-07-02 09:48 flytoyou 阅读(4610) 评论(0) 推荐(0)
摘要:与python 安装插件pip install xxxx 报错一样,缺啥添加啥。。。。 阅读全文
posted @ 2021-07-01 21:18 flytoyou 阅读(484) 评论(0) 推荐(0)
摘要:go安装库,出现最多的错误就是cannot find package xxx了,例如 go get -u github.com/hashicorp/hcl/hcl/printer cannot find package “github.com/hashicorp/hcl/hcl/printer” i 阅读全文
posted @ 2021-07-01 20:59 flytoyou 阅读(4482) 评论(0) 推荐(0)