会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
奋斗
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
8
9
10
···
17
下一页
2022年2月25日
1.单master双node集群搭建
摘要: 先安装好基础软件包 yum install -y yum-utils device-mapper-persistent-data lvm2 wget net-tools nfs-utils lrzsz gcc gcc-c++ make cmake libxml2-devel openssl-deve
阅读全文
posted @ 2022-02-25 20:50 ForLivetoLearn
阅读(229)
评论(0)
推荐(0)
2021年10月12日
chrome rpm旧版本下载地址
摘要: http://dist.control.lth.se/public/CentOS-7/x86_64/google.x86_64/Packages/
阅读全文
posted @ 2021-10-12 10:56 ForLivetoLearn
阅读(1522)
评论(0)
推荐(0)
2021年6月30日
windows 静态绑定arp
摘要: 1.先查看用的哪块网卡上的网,记录下Idx编号,我的是14 C:\Windows\system32>netsh i i show in Idx Met MTU 状态 名称 1 75 4294967295 connected Loopback Pseudo-Interface 1 10 1 65535
阅读全文
posted @ 2021-06-30 16:10 ForLivetoLearn
阅读(5317)
评论(0)
推荐(0)
2021年6月28日
ubuntu20开机自动打开浏览器全屏访问指定页面
摘要: 1.ubuntu系统安装完成后,进入操作系统,首先需要关闭系统自动更新功能,打开“软件和更新”,将下列需要更新的内容全部去掉 2.安装chrome浏览器 ~ wget https://dl.google.com/linux/direct/google-chrome-stable_current_am
阅读全文
posted @ 2021-06-28 11:38 ForLivetoLearn
阅读(3322)
评论(0)
推荐(0)
2021年3月11日
nginx+uwsgi+django+systemd部署django项目
摘要: 1.将本地项目打包 导出依赖模块 pip3 freeze > requirements.txt 修改settings文件中数据库的配置 DATABASES = { 'default': { 'ENGINE': 'django.db.backends.mysql', 'NAME': 'test', '
阅读全文
posted @ 2021-03-11 10:35 ForLivetoLearn
阅读(223)
评论(0)
推荐(0)
2021年3月5日
openresty编译安装
摘要: 1.下载源码包 http://openresty.org/cn/download.html 2.安装依赖环境 yum -y install sysstat wget net-tools screen lsof tcpdump nc mtr openssl-devel vim bash-complet
阅读全文
posted @ 2021-03-05 13:03 ForLivetoLearn
阅读(738)
评论(0)
推荐(0)
2020年11月26日
windows服务器设置定时重启
摘要: 原博客:https://help.aliyun.com/knowledge_detail/40818.html 因为在windows上部署了一个年久失修的服务,内存无法自动回收,所以在每天凌晨2:00重启服务器 创建一个TXT文件,添加如下内容。 shutdown -r -f -t 0 # 该命令的
阅读全文
posted @ 2020-11-26 09:54 ForLivetoLearn
阅读(6025)
评论(0)
推荐(0)
2020年11月13日
华为云和AWS之间打通内网
摘要: 华为云和AWS云的VPN都是收费的,华为云可以包月或按时间/流量计费,AWS那边没有找到计费方式,貌似是按出网流量算的.打通内网需要华为云和AWS云各创建一个带有公网IP的网关,两个网关分别指向对方的公网IP,网关创建成功后就开始收费.而且需要先创建华为云这边的网关,因为AWS那边的网关创建完成后不
阅读全文
posted @ 2020-11-13 14:15 ForLivetoLearn
阅读(1762)
评论(0)
推荐(0)
2020年11月10日
python glob
摘要: glob库用于文件查找,支持通配符(*、?、 []) #示例1:查找目录中所有以.sh为后缀的文件: >>> glob.glob('/home/user/*.sh') ['/home/user/b.sh', '/home/user/a.sh', '/home/user/sum.sh'] #示例2:查
阅读全文
posted @ 2020-11-10 16:28 ForLivetoLearn
阅读(131)
评论(0)
推荐(0)
python subprocess
摘要: subprocess库用于执行Shell命令, 工作时会fork一个子进程去执行任务,连接到子进程的标准输入、输出、错误,并获得它们的返回代码。这个模块将取代os.system、 os.spawn*、 os.popen*、 popen2.*和commands.*。 subprocess的主要方法:
阅读全文
posted @ 2020-11-10 16:25 ForLivetoLearn
阅读(146)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
9
10
···
17
下一页
公告