上一页 1 ··· 164 165 166 167 168
摘要: 一,git merge 与 git rebase的区别 1,git merge 例如: master分支合并dev分支,git将两个分支dev和master上的所有commit , 按照提交时间的先后顺序进行依次放到master分支上 2, git rebase操作实际上是将当前执行rebase分支 阅读全文
posted @ 2020-02-17 19:42 刘宏缔的架构森林 阅读(1192) 评论(0) 推荐(0)
摘要: 一,如何修改一个commit的注释? root@kubuntu:/data/git/clog# git commit --amend 说明:架构森林是一个专注架构的博客, 网站:https://blog.imgtouch.com本文: https://blog.imgtouch.com/index. 阅读全文
posted @ 2020-02-17 18:46 刘宏缔的架构森林 阅读(238) 评论(0) 推荐(0)
摘要: 一,查看本地centos的版本: [root@localhost lib]# cat /etc/redhat-release CentOS Linux release 8.1.1911 (Core) 说明:架构森林是一个专注架构的博客, 网站:https://blog.imgtouch.com本文: 阅读全文
posted @ 2020-02-16 22:41 刘宏缔的架构森林 阅读(372) 评论(0) 推荐(0)
摘要: 一,查看本地centos的版本: [root@localhost lib]# cat /etc/redhat-release CentOS Linux release 8.1.1911 (Core) 说明:架构森林是一个专注架构的博客,网站:https://blog.imgtouch.com本文:  阅读全文
posted @ 2020-02-16 22:24 刘宏缔的架构森林 阅读(276) 评论(0) 推荐(0)
摘要: 一,配置ip转发 [root@localhost sysctl.d]# sysctl -a | grep ip_forward net.ipv4.ip_forward = 1 说明:如果net.ipv4.ip_forward 的值为 1,不需要做修改 否则需要设置 说明:架构森林是一个专注架构的博客 阅读全文
posted @ 2020-02-16 21:08 刘宏缔的架构森林 阅读(1258) 评论(0) 推荐(0)
摘要: 一,docker的下载官网 https://download.docker.com/linux/ 说明:架构森林是一个专注架构的博客, 网站:https://blog.imgtouch.com 本文: https://blog.imgtouch.com/index.php/2023/05/16/ce 阅读全文
posted @ 2020-02-16 20:48 刘宏缔的架构森林 阅读(314) 评论(0) 推荐(0)
摘要: 一,firewalld的systemd管理命令 启动:systemctl start firewalld 关闭:systemctl stop firewalld 查看状态:systemctl status firewalld 开机禁用:systemctl disable firewalld 开机启用 阅读全文
posted @ 2020-02-13 17:25 刘宏缔的架构森林 阅读(3728) 评论(0) 推荐(1)
摘要: 一,查看openresty的当前版本 [root@localhost luacache]# /usr/local/openresty/bin/openresty -V nginx version: openresty/1.15.8.2 built by gcc 8.2.1 20180905 (Red 阅读全文
posted @ 2020-02-11 16:23 刘宏缔的架构森林 阅读(673) 评论(0) 推荐(0)
摘要: 一,openresty的官网地址: http://openresty.org/ 说明:说一下openresty的安装方式: 从openresty的安装目录下,可以看到openresty编译安装了自己作了魔改的几个库: luajit,nginx,openssl,pcre,zlib [root@loca 阅读全文
posted @ 2020-02-10 14:47 刘宏缔的架构森林 阅读(1602) 评论(0) 推荐(0)
摘要: 一,为什么要使用redis作本地缓存? 1,使用缓存通常会有三层 当使用openresty作为web服务器时,我们更看重是的它可以通过lua编程的扩展能力,就openresty而言,它可以实现的功能非常多, 提高响应速度是web服务中非常重要的功能, 使用缓存通常会有三层: 本地缓存:存在于本地机器 阅读全文
posted @ 2020-02-10 14:46 刘宏缔的架构森林 阅读(1744) 评论(0) 推荐(0)
上一页 1 ··· 164 165 166 167 168