让普通用户用管理员权限运行程序 原理: Linux 和 FreeBSD 中有一个用来修改密码的命令“passwd”。 密码一般保存在 /etc/master.passwd、 /etc/passwd 和 /etc/shadow 等中, 没有 root 权限的用户是无法修改这些文件的。 然而, 如果只有 ...
分类:
其他好文 时间:
2020-05-18 00:39:41
阅读次数:
87
1.服务器型号 [root@guanbin-k8s-master ~]# dmidecode|grep "System Information" -A9|egrep "Manufacturer|Product" Manufacturer: VMware, Inc. Product Name: VMw ...
分类:
系统相关 时间:
2020-05-17 23:10:14
阅读次数:
172
git status git add . git commit -m "add routert" git pull origin master $ git push -u origin master ...
分类:
其他好文 时间:
2020-05-17 22:02:58
阅读次数:
78
偏差 (Deviation) https://datawhalechina.github.io/pms50/#/chapter11/chapter11 发散型文本 (Diverging Texts) 如果您想根据单个指标查看项目的变化情况,并可视化此差异的顺序和数量,那么散型条形图 (Divergi ...
分类:
其他好文 时间:
2020-05-17 13:39:05
阅读次数:
108
资料下载 1.下文需要的yaml文件所在的github地址: https://github.com/luckylucky421/kubernetes1.17.3/tree/master 大家可以把我的github仓库fork到你们自己的仓库里,这样就可以永久保存了,下面提供的yaml访问地址如果不能 ...
分类:
其他好文 时间:
2020-05-17 13:28:33
阅读次数:
67
时间:2020年5月17日11:37:10 JsonCPP 改版了,以前的 Json::Reader, Json::Parse被弃用了,得用新的方法。 JsonCpp项目地址:https://github.com/open-source-parsers/jsoncpp/blob/master/doc ...
分类:
Web程序 时间:
2020-05-17 13:13:35
阅读次数:
165
frpgithub地址:https://github.com/fatedier/frpfrp使用指南:https://github.com/fatedier/frp/blob/master/README_zh.md1.部署服务端步骤一:提前设置好服务端公网IP端口权限,可提前开启,也可以根据实际情况开通;服务端配置信息步骤一:下载安装包wgethttps://github.com/fatedier
分类:
其他好文 时间:
2020-05-17 10:33:05
阅读次数:
96
frp github地址:https://github.com/fatedier/frp frp使用指南:https://github.com/fatedier/frp/blob/master/README_zh.md 1.部署服务端 步骤一:提前设置好服务端公网IP端口权限,可提前开启,也可以根据 ...
分类:
其他好文 时间:
2020-05-16 22:24:08
阅读次数:
80
学习 Python3 语言 第一行 Python3 开头的一行到底应该怎么写? 查阅 Google 的代码仓库,找到若干以 Python3 为主的 repo,选择比较流行的库 Trax 作为范本。随机抽取某个脚本(https://github.com/google/trax/blob/master/ ...
分类:
编程语言 时间:
2020-05-16 17:08:54
阅读次数:
63
编译参考:https://github.com/ovn-org/ovn/blob/master/Documentation/intro/install/general.rst git clone http://github.com/openvswitch/ovs.git yum -y install ...
分类:
其他好文 时间:
2020-05-16 16:33:36
阅读次数:
68