一,得到安装包的下载地址:
1,官网地址:
https://cn.wordpress.org/
如图:
点击 获取 WordPress 按钮
2,
[……]
继续阅读
一,php中查看当前用户:
php代码:
public function ocr() {
$daemon_user = getenv('USERNAME') ?[......]继续阅读
一,下载redis7
1,官网:
https://redis.io/
2,下载页面:
https://redis.io/download/
如图:
3,复制7.[……]
继续阅读
一,pidstat 查看某个进程下的所有线程
例:
[lhdop@blog ~]$ pidstat -t -p 20756
Linux 4.18.0-80.11.2.el8_0.x86_6[......]继续阅读
一,为什么使用rotatelogs做日志切分?
1,什么是roatelogs?
rotatelogs是apache提供的日志滚动切分的工具
官方文档:
https://http[......]继续阅读
一,什么是consul?
1,Consul 是 HashiCorp 公司推出的开源软件,用于实现分布式系统的服务发现与配置。
Consul 是分布式的、高可用的、 可[……]
继续阅读
一,通过ssh拉取git项目需要做什么?
1,准备工作:
通过ssh访问git项目需要上传公钥到git服务器,
我们的git管理使用了gitosis,
大家可以自行参考相关的资[……]
继续阅读
一,报错的现象:
1,提示信息:
jenkins.plugins.publish_over.BapPublisherException: Failed to add SSH key. Me[......]继续阅读