Skip to content
Permalink
Browse files

use theme LoveIt

  • Loading branch information
9ft committed Mar 5, 2020
1 parent 13f0c82 commit f72eea735673daec5eca6065059552937285c0a2
Showing with 452 additions and 248 deletions.
  1. +3 −0 .gitmodules
  2. +215 −184 config.toml
  3. 0 content/{post → posts}/2007-01-01-hello-world.md
  4. 0 content/{post → posts}/2015-10-12-build-v.md
  5. 0 content/{post → posts}/2015-10-13-deploy-ss.md
  6. 0 content/{post → posts}/2015-10-14-ubuntu-install.md
  7. 0 content/{post → posts}/2015-10-17-sublime-config.md
  8. 0 content/{post → posts}/2015-10-18-git-win-ssh.md
  9. 0 content/{post → posts}/2015-10-22-linux-x-window.md
  10. 0 content/{post → posts}/2015-10-24-cuda-helloworld.md
  11. 0 content/{post → posts}/2015-11-30-ubuntu-lamp.md
  12. 0 content/{post → posts}/2016-05-04-jekyll-nginx.md
  13. 0 content/{post → posts}/2016-05-05-ubuntu-lnmp.md
  14. 0 content/{post → posts}/2016-05-06-hexo.md
  15. +1 −1 content/{post → posts}/2016-05-30-vs-remote-debug-err.md
  16. +2 −2 content/{post → posts}/2016-05-31-vs-cuda.md
  17. +2 −2 content/{post → posts}/2016-08-23-mac-terminal.md
  18. +2 −2 content/{post → posts}/2016-08-23-mac-vim.md
  19. +3 −3 content/{post → posts}/2016-08-25-music-player.md
  20. 0 content/{post → posts}/2016-08-25-node-forever.md
  21. +1 −1 content/{post → posts}/2016-08-25-ubuntu-hostname.md
  22. +5 −5 content/{post → posts}/2016-08-26-tjunet.md
  23. +1 −1 content/{post → posts}/2016-08-30-nginx-https.md
  24. +5 −5 content/{post → posts}/2016-09-10-k640e.md
  25. +3 −3 content/{post → posts}/2016-09-27-macosx86.md
  26. 0 content/{post → posts}/2016-11-23-macos-ntfs.md
  27. 0 content/{post → posts}/2016-11-27-bingwallpaper.md
  28. +2 −2 content/{post → posts}/2016-12-04-office-install.md
  29. 0 content/{post → posts}/2017-01-17-deploy-githttp.md
  30. +3 −3 content/{post → posts}/2017-03-21-mech-keyboard.md
  31. 0 content/{post → posts}/2017-04-28-samba.md
  32. 0 content/{post → posts}/2017-05-03-supervisor.md
  33. 0 content/{post → posts}/2019-03-24-hugo.md
  34. +2 −2 content/{post → posts}/2020-03-03-profiling.md
  35. +4 −4 content/{post → posts}/2020-03-05-rocketmq-docker-compose.md
  36. +71 −0 layouts/_default/summary.html
  37. +33 −0 layouts/partials/home/profile.html
  38. +0 −28 layouts/post/summary.html
  39. +94 −0 layouts/posts/single.html
  40. BIN static/img/pic/avatar.jpg
  41. BIN static/img/{post → posts}/2016-05-30-vs-remote-debug-err/vs-error-remote-local-1.jpg
  42. BIN static/img/{post → posts}/2016-05-31-vs-cuda/2016-05-31-VS2015-CUDA-1.png
  43. BIN static/img/{post → posts}/2016-05-31-vs-cuda/2016-05-31-VS2015-CUDA-2.png
  44. BIN static/img/{post → posts}/2016-08-23-mac-terminal/iterm2-with-theme.png
  45. BIN static/img/{post → posts}/2016-08-23-mac-terminal/mac-terminal-with-theme.png
  46. BIN static/img/{post → posts}/2016-08-23-mac-vim/airline.png
  47. BIN static/img/{post → posts}/2016-08-23-mac-vim/mac-vim.png
  48. BIN static/img/{post → posts}/2016-08-25-music-player/2016-08-25-my-last.fm.png
  49. BIN static/img/{post → posts}/2016-08-25-music-player/WinMp9.png
  50. BIN static/img/{post → posts}/2016-08-25-music-player/winamp-5.jpg
  51. BIN static/img/{post → posts}/2016-08-25-ubuntu-hostname/2016-08-25 15.09.31.png
  52. BIN static/img/{post → posts}/2016-08-26-tjunet/Win_Proxification_Rules.png
  53. BIN static/img/{post → posts}/2016-08-26-tjunet/Win_Proxifier_Proxy_Servers.png
  54. BIN static/img/{post → posts}/2016-08-26-tjunet/macOS_Proxification_Rules.png
  55. BIN static/img/{post → posts}/2016-08-26-tjunet/macOS_Proxifier_Proxy_Servers.png
  56. BIN static/img/{post → posts}/2016-08-26-tjunet/tjunet_price.png
  57. BIN static/img/{post → posts}/2016-08-30-nginx-https/canukiss.me_via_https.png
  58. BIN static/img/{post → posts}/2016-09-10-k640e/IMG_3964.jpg
  59. BIN static/img/{post → posts}/2016-09-10-k640e/IMG_3985.jpg
  60. BIN static/img/{post → posts}/2016-09-10-k640e/IMG_3988_memory.jpg
  61. BIN static/img/{post → posts}/2016-09-10-k640e/IMG_3992_HDD.jpg
  62. BIN static/img/{post → posts}/2016-09-10-k640e/IMG_4015_WLAN.jpg
  63. BIN static/img/{post → posts}/2016-09-27-macosx86/2016-09-02.1.30.31.png
  64. BIN static/img/{post → posts}/2016-09-27-macosx86/2019-04-05.21.36.20.png
  65. BIN static/img/{post → posts}/2016-09-27-macosx86/2019-11-01-BCM94360HMB.jpg
  66. BIN static/img/{post → posts}/2016-12-04-office-install/office_after.png
  67. BIN static/img/{post → posts}/2016-12-04-office-install/office_before.jpg
  68. BIN static/img/{post → posts}/2017-03-21-mech-keyboard/IMG20150515143414.jpg
  69. BIN static/img/{post → posts}/2017-03-21-mech-keyboard/IMG_2467.jpg
  70. BIN static/img/{post → posts}/2017-03-21-mech-keyboard/IMG_6257.jpg
  71. BIN static/img/{post → posts}/2020-03-03-profiling/linux-perf.png
  72. BIN static/img/{post → posts}/2020-03-03-profiling/linux_observability_tools.png
  73. BIN static/img/{post → posts}/2020-03-05-rocketmq-docker-compose/console-cluster-ip-invalid.png
  74. BIN static/img/{post → posts}/2020-03-05-rocketmq-docker-compose/console-cluster-ip-valid.png
  75. BIN static/img/{post → posts}/2020-03-05-rocketmq-docker-compose/rmq-deploy.png
  76. BIN static/img/{post → posts}/2020-03-05-rocketmq-docker-compose/two-cluster.png
@@ -1,3 +1,6 @@
[submodule "themes/even"]
path = themes/even
url = https://github.com/olOwOlo/hugo-theme-even
[submodule "themes/LoveIt"]
path = themes/LoveIt
url = https://github.com/dillonzq/LoveIt.git

Large diffs are not rendered by default.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -5,7 +5,7 @@ date: 2016-05-30T21:27:20+0800
---
最近在用 `VS2013` 跑程序, 经常出现一个错误. 而且看起来是个无厘头的错误.

![Error](/img/post/2016-05-30-vs-remote-debug-err/vs-error-remote-local-1.jpg "Error")
![Error](/img/posts/2016-05-30-vs-remote-debug-err/vs-error-remote-local-1.jpg "Error")

错误内容:
`无法启动程序 远程调试器拒绝了连接请求. 请确保远程调试器在"Windows 身份验证"模式下运行.`
@@ -5,13 +5,13 @@ date: 2016-05-31T13:24:50+0800
---
虽然 `Nsight` 支持 `Visual Studio 2015` 了, 但 `CUDA` 貌似还不能在 `VS2015` 下运行. 运行已有的 `VS2013` `CUDA` 程序会提示 `<Import>` 中声明的路径错误. 而且新建项目中并没有建立 CUDA 程序的选项.

![Error](/img/post/2016-05-31-vs-cuda/2016-05-31-VS2015-CUDA-1.png "Error")
![Error](/img/posts/2016-05-31-vs-cuda/2016-05-31-VS2015-CUDA-1.png "Error")

对比文件夹
`C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\BuildCustomizations`
`C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\BuildCustomizations`

![Dir Compare](/img/post/2016-05-31-vs-cuda/2016-05-31-VS2015-CUDA-2.png "Dir Compare")
![Dir Compare](/img/posts/2016-05-31-vs-cuda/2016-05-31-VS2015-CUDA-2.png "Dir Compare")

发现缺少如下几个文件:

@@ -11,7 +11,7 @@ date: 2016-08-23T13:47:24+0800
ZSH_THEME="agnoster"
```

![在 Mac 自带终端使用 oh my zsh 的 agnoster 主题](/img/post/2016-08-23-mac-terminal/mac-terminal-with-theme.png "在 Mac 自带终端使用 oh my zsh 的 agnoster 主题")
![在 Mac 自带终端使用 oh my zsh 的 agnoster 主题](/img/posts/2016-08-23-mac-terminal/mac-terminal-with-theme.png "在 Mac 自带终端使用 oh my zsh 的 agnoster 主题")

跟以前在 Ubuntu 中的感觉不一样, 配色不对, 而且箭头尖的颜色也不对.

@@ -21,6 +21,6 @@ ZSH_THEME="agnoster"
以前没想过要换终端程序, 因为觉得 Mac 自带的终端已经够好了. 下载 `iTerm 2` 后, 自己的见识还是短了点, `iTerm 2` 确实更好看...

![在 iTerm2 使用 oh my zsh 的 agnoster 主题](/img/post/2016-08-23-mac-terminal/iterm2-with-theme.png "在 iTerm2 使用 oh my zsh 的 agnoster 主题")
![在 iTerm2 使用 oh my zsh 的 agnoster 主题](/img/posts/2016-08-23-mac-terminal/iterm2-with-theme.png "在 iTerm2 使用 oh my zsh 的 agnoster 主题")

这下一切正常. 而且在 `iTerm 2` 的外壳下命令行更炫酷了!
@@ -35,7 +35,7 @@ date: 2016-08-23T14:38:24+0800
let g:airline_powerline_fonts=1
```

![Vim with Airline](/img/post/2016-08-23-mac-vim/airline.png "Vim with Airline")
![Vim with Airline](/img/posts/2016-08-23-mac-vim/airline.png "Vim with Airline")

## 配色

@@ -45,6 +45,6 @@ spf13-vim 很贴心自带了 solarized 配色, 使用 `:color solarized` 配置.

经过一翻折腾, 效果太棒了, 这下炫酷极了!

![MacVim](/img/post/2016-08-23-mac-vim/mac-vim.png "MacVim")
![MacVim](/img/posts/2016-08-23-mac-vim/mac-vim.png "MacVim")

好了, 去写算法吧...
@@ -7,11 +7,11 @@ date: 2016-08-25T16:23:21+0800

最开始接触音乐播放器是初中, 电脑是 XP 系统, Windows Media Player 9 应该是最先接触的播放器. 刚打开新电脑, 用它播放自带的两首音乐Symphony No. 9 (Scherzo) 和 Highway Blues 至今还记忆犹新, 尤其 Jazz 的低音.

![Windows Media Player 9](/img/post/2016-08-25-music-player/WinMp9.png "Windows Media Player 9")
![Windows Media Player 9](/img/posts/2016-08-25-music-player/WinMp9.png "Windows Media Player 9")

接下来接触了 Winamp, 界面全黑的给人一种神秘感, 换句话说就是不怎么会用, 不喜欢它的默认皮肤, 不过可以装音效插件, 用起来还是蛮爽的. 同期比较火的还有千千静听, 千千静听自带歌词显示, 就冲着功能当时很无敌了, 而且兼容 Winamp 插件, 界面小清新, 网吧装千千静听都是标配.

![Winamp](/img/post/2016-08-25-music-player/winamp-5.jpg "Winamp")
![Winamp](/img/posts/2016-08-25-music-player/winamp-5.jpg "Winamp")

随着积攒的音乐文件越来越多, Winamp 和千千静听单薄的身躯已经应付不了管理大量音乐的任务. 回头又投入了 WMP 的怀抱. WMP 管理音乐非常棒, 点艺术家就能进入艺术家界面, 点专辑就能进入专辑界面, 对于有大量音乐的用户来说这功能简直太棒. WMP 不但管理音乐库方便, 有很多好用的功能, CD 转 MP3, 向 MP3 播放器拷音乐自动转码, 光盘烧录. 中间有个插曲, 那时我有个 128MB 的 MP3 播放器好像放下了 100 首左右的歌曲, 在我班级引起了一阵轰动, 归功于 WMP 的自动转码功能, 把音乐转换成了 64Kbps, 音质降低, 文件减少了. 不久之后, WMP 更新了版本 10, 以前的功能都在, 界面更好看, 喜欢的不行.

@@ -25,7 +25,7 @@ date: 2016-08-25T16:23:21+0800

说起音乐管理不得不说 Last.fm, 这个网站也是我心中 Web2.0 的代表产物. Last.fm Scrobbler 可以记录自己听过的每一首音乐. 可以每过一段时间看一看近期自己听音乐的情况. 最重要的是可以记录, 我总是坚信记录的意义不在于当下, 记录下来的个人数据可以在未来尽情发挥. 但最近一年自己迷上了网易云音乐, 手机 / PC / MAC 客户端统统没办法记录, 网易没跟 Spotify 学好啊. 以前换播放器的成本很低, 因为自己的数据都在 Last.fm 上, 现在不一样了, 所有的数据由网易掌握而且没办法轻易导出. 没办法也只能叹息一下, 趋势就是这样, 就像记账,笔记,读书应用一样, 他们拥有了用户数据而且不轻易导出, 增加了用户更换软件的成本, 变相的留住了客户. 如果再没有合适的 Scrobbler 软件, 记录的歌曲可能就定格到这里了.

![我的 Last.fm](/img/post/2016-08-25-music-player/2016-08-25-my-last.fm.png "我的 Last.fm")
![我的 Last.fm](/img/posts/2016-08-25-music-player/2016-08-25-my-last.fm.png "我的 Last.fm")

# 现在

File renamed without changes.
@@ -29,4 +29,4 @@ BandwagonHost 上面有一个 VPS 怎么改都不生效, 重启后 hostname 还

连接 SSH 看起来更炫酷了是么.

![rename hostname](/img/post/2016-08-25-ubuntu-hostname/2016-08-25 15.09.31.png "rename hostname")
![rename hostname](/img/posts/2016-08-25-ubuntu-hostname/2016-08-25 15.09.31.png "rename hostname")
@@ -9,7 +9,7 @@ lastmod: 2016-09-08T22:16:00+800

刚刚来到天大的时候, 第一次接触有 IPv6 的网络, 以前就听说过教育网但没接触过. IPv6 是教育网提供的, 而且很多高校都接入了教育网. IPv6 最吸引人的是它的流量免费, 而且上网限制不多. IPv4 流量收费, 开始的计费方式因为一直没用忘记了, 在最近一次调价(降价)后的计费的策略是每月 5G 免费流量, 可以叠加流量包 ¥2/1GB, 感觉挺贵的, 而且计量的方式很不方便.

![TJUNET Price](/img/post/2016-08-26-tjunet/tjunet_price.png "TJUNET Price")
![TJUNET Price](/img/posts/2016-08-26-tjunet/tjunet_price.png "TJUNET Price")

每个月光更新软件估计就有 5G 了吧. 有免费的 IPv6 为什么还要付费买流量. 这篇文章记录一下我来天大后的免费上网策略, 应该也适合其他教育网用户.

@@ -90,13 +90,13 @@ VPN 对我来说还挺常用的, 在下载机以外的设备上使用很省心.

**配置 Proxy Servers**

![Proxy Servers](/img/post/2016-08-26-tjunet/Win_Proxifier_Proxy_Servers.png "Proxy Servers")
![Proxy Servers](/img/posts/2016-08-26-tjunet/Win_Proxifier_Proxy_Servers.png "Proxy Servers")

**配置 Proxification Rules**

校内的和 IPv6 连接直连, 其余走代理.

![Proxification Rules](/img/post/2016-08-26-tjunet/Win_Proxification_Rules.png "Proxification Rules")
![Proxification Rules](/img/posts/2016-08-26-tjunet/Win_Proxification_Rules.png "Proxification Rules")

正常使用应用商店和 Win10 App 还要使用 Fiddler 软件, 效果并不好. 如果不使用 Win10 App, 这种方法在 Win 下很完美了.

@@ -139,13 +139,13 @@ macOS 命令行使用代理可以用 ProxyChains, 也可以用傻瓜模式的 Pr

**配置 Proxy Servers**

![Proxy Servers](/img/post/2016-08-26-tjunet/macOS_Proxifier_Proxy_Servers.png "Proxy Servers")
![Proxy Servers](/img/posts/2016-08-26-tjunet/macOS_Proxifier_Proxy_Servers.png "Proxy Servers")

**配置 Proxification Rules**

校内的和 IPv6 连接直连, 其余都走代理.

![Proxification Rules](/img/post/2016-08-26-tjunet/macOS_Proxification_Rules.png "Proxification Rules")
![Proxification Rules](/img/posts/2016-08-26-tjunet/macOS_Proxification_Rules.png "Proxification Rules")

### iOS / macOS 平台使用 Surge 进阶

@@ -93,4 +93,4 @@ server {

观看效果 [个人博客](http://canukiss.me).

![canukiss.me via HTTPS](/img/post/2016-08-30-nginx-https/canukiss.me_via_https.png "canukiss.me via HTTPS")
![canukiss.me via HTTPS](/img/posts/2016-08-30-nginx-https/canukiss.me_via_https.png "canukiss.me via HTTPS")
@@ -9,7 +9,7 @@ date: 2016-09-10T14:13:00+0800

外包装:

![](/img/post/2016-09-10-k640e/IMG_3964.jpg)
![](/img/posts/2016-09-10-k640e/IMG_3964.jpg)

# 硬件更换

@@ -19,7 +19,7 @@ date: 2016-09-10T14:13:00+0800

花费: ¥280

![Memory](/img/post/2016-09-10-k640e/IMG_3988_memory.jpg "Memory")
![Memory](/img/posts/2016-09-10-k640e/IMG_3988_memory.jpg "Memory")

## 硬盘

@@ -30,7 +30,7 @@ date: 2016-09-10T14:13:00+0800

花费: ¥13.6

![HDD](/img/post/2016-09-10-k640e/IMG_3992_HDD.jpg "HDD")
![HDD](/img/posts/2016-09-10-k640e/IMG_3992_HDD.jpg "HDD")

## 网卡

@@ -40,10 +40,10 @@ date: 2016-09-10T14:13:00+0800

花费: ¥180

![WLAN](/img/post/2016-09-10-k640e/IMG_4015_WLAN.jpg "WLAN")
![WLAN](/img/posts/2016-09-10-k640e/IMG_4015_WLAN.jpg "WLAN")

摘下本子的后壳只需要拧两颗螺丝, 十分方便折腾!

![BackBoard](/img/post/2016-09-10-k640e/IMG_3985.jpg "BackBoard")
![BackBoard](/img/posts/2016-09-10-k640e/IMG_3985.jpg "BackBoard")

目前特别喜欢这台电脑, 感觉超值!
@@ -111,7 +111,7 @@ Clover Configurator -> 工具 -> 挂载分区
具体格式可以通过 `diskutil list` 确认,格式化为 GUID 分区 `diskutil eraseDisk HFS+ usb GPT /dev/disk3`
![](/img/post/2016-09-27-macosx86/2019-04-05.21.36.20.png)
![](/img/posts/2016-09-27-macosx86/2019-04-05.21.36.20.png)
# 安装系统
@@ -128,7 +128,7 @@ Clover Configurator -> 工具 -> 挂载分区
第一次开机运行 MultiBeast, 它可以安装 Clover 引导和一些驱动.
![MultiBeast](/img/post/2016-09-27-macosx86/2016-09-02.1.30.31.png "MultiBeast")
![MultiBeast](/img/posts/2016-09-27-macosx86/2016-09-02.1.30.31.png "MultiBeast")
安装 MultiBeast 提供的:
@@ -184,7 +184,7 @@ RehabMan 大神的 [OS-X-ACPI-Battery-Driver](https://github.com/RehabMan/OS-X-A
### 屏蔽针脚
![BCM94360HMB屏蔽针脚](/img/post/2016-09-27-macosx86/2019-11-01-BCM94360HMB.jpg "BCM94360HMB屏蔽针脚")
![BCM94360HMB屏蔽针脚](/img/posts/2016-09-27-macosx86/2019-11-01-BCM94360HMB.jpg "BCM94360HMB屏蔽针脚")
### 蓝牙驱动
File renamed without changes.
File renamed without changes.
@@ -5,7 +5,7 @@ date: 2016-12-04T14:36:00+0800
---
安装 Office 2016 的时候没有了自定义安装的选项, 默认安装全家桶.

![](/img/post/2016-12-04-office-install/office_before.jpg "Before")
![](/img/posts/2016-12-04-office-install/office_before.jpg "Before")

**解决方法**

@@ -36,6 +36,6 @@ date: 2016-12-04T14:36:00+0800

管理员方式运行命令提示符, 运行 `setup.exe /configure configuration.xml`.

![](/img/post/2016-12-04-office-install/office_after.png "After")
![](/img/posts/2016-12-04-office-install/office_after.png "After")

搞定!
File renamed without changes.
@@ -5,7 +5,7 @@ date: 2017-03-21T12:39:00+0800
---
## Filco Majestouch MINILA Air

![](/img/post/2017-03-21-mech-keyboard/IMG20150515143414.jpg "Filco Majestouch MINILA Air")
![](/img/posts/2017-03-21-mech-keyboard/IMG20150515143414.jpg "Filco Majestouch MINILA Air")

第一架机械键盘。

@@ -41,11 +41,11 @@ date: 2017-03-21T12:39:00+0800

用化学品把键盘的商标洗掉了,现在可以叫他无印键盘了。现在超喜欢这架键盘,买了 ¥9.6 包邮键帽搭配一下。

![](/img/post/2017-03-21-mech-keyboard/IMG_6257.jpg "GTW 87 Pink")
![](/img/posts/2017-03-21-mech-keyboard/IMG_6257.jpg "GTW 87 Pink")

后来搭配的绿色键帽,做工很精细。

![](/img/post/2017-03-21-mech-keyboard/IMG_2467.jpg "GTW 87 Green")
![](/img/posts/2017-03-21-mech-keyboard/IMG_2467.jpg "GTW 87 Green")


## 想要这样一架键盘
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -7,7 +7,7 @@ date: 2019-11-08T08:00:00+0800

## 系统级别

![Linux架构,如何检查每个部件是否正常工作](/img/post/2020-03-03-profiling/linux_observability_tools.png)
![Linux架构,如何检查每个部件是否正常工作](/img/posts/2020-03-03-profiling/linux_observability_tools.png)

### 一些命令

@@ -52,7 +52,7 @@ date: 2019-11-08T08:00:00+0800

Linux Perf – 内置的性能分析工具

![](/img/post/2020-03-03-profiling/linux-perf.png)
![](/img/posts/2020-03-03-profiling/linux-perf.png)

**Linux Perf 架构**
- `Perf Tools`: 用户态的 Perf Tools 为用户提供了一系列丰富的工具集用于收集、分析性能数据。
@@ -19,7 +19,7 @@ date: 2020-03-05T08:00:00+0800

执行后生成的docker-compose.yml连同配置文件放在`stages/4.6.0/docker-compose`中,可以将此文件夹拷贝出来或者直接在此文件夹运行。

![](/img/post/2020-03-05-rocketmq-docker-compose/rmq-deploy.png)
![](/img/posts/2020-03-05-rocketmq-docker-compose/rmq-deploy.png)

生成的docker-compose包括3个服务,对应上图可以理解RocketMQ的部署结构:
- 1个无状态的`namesrv`, Name Server是一个几乎无状态节点,可集群部署,节点之间无任何信息同步。
@@ -56,7 +56,7 @@ rocketmq-console-ng:

启动后打开`ip:8087`进入图形界面

![](/img/post/2020-03-05-rocketmq-docker-compose/console-cluster-ip-invalid.png)
![](/img/posts/2020-03-05-rocketmq-docker-compose/console-cluster-ip-invalid.png)

## 4. 配置broker

@@ -74,7 +74,7 @@ rocketmq-console-ng:

`listenPort=11911`

![](/img/post/2020-03-05-rocketmq-docker-compose/console-cluster-ip-valid.png)
![](/img/posts/2020-03-05-rocketmq-docker-compose/console-cluster-ip-valid.png)

重新运行后,两个broker使用同一个ip监听不同端口,看起来没问题

@@ -257,7 +257,7 @@ func main() {

Dashboard中查看监控,两个broker都在正常工作,符合预期,搭建完成

![](/img/post/2020-03-05-rocketmq-docker-compose/two-cluster.png)
![](/img/posts/2020-03-05-rocketmq-docker-compose/two-cluster.png)

# Ref
[[1] 十分钟入门RocketMQ](http://jm.taobao.org/2017/01/12/rocketmq-quick-start-in-10-minutes/)
@@ -0,0 +1,71 @@
{{- $scratch := .Scratch.Get "scratch" -}}

<article class="single summary" itemscope itemtype="http://schema.org/Article">
{{- /* Featured image */ -}}
{{- with .Params.featuredImage -}}
<div class="featured-image-preview">
{{- $image := $.Params.featuredImagePreview | default . -}}
{{- partial "plugin/image.html" (dict "src" $image "description" $.Description "scratch" $scratch) -}}
</div>
{{- end -}}

{{- /* Title */ -}}
<h1 class="single-title" itemprop="name headline">
<a href="{{ .Permalink }}">{{ .Title }}</a>
</h1>

{{- /* Meta */ -}}
<div class="post-meta">
{{- $author := .Params.author | default .Site.Author.name -}}
{{- $authorLink := .Params.authorLink | default .Site.Author.link | default (relLangURL "/") -}}
<!-- <span class="post-author">
<a class="author" href="{{ $authorLink }}" rel="author" target="_blank">
<i class="fas fa-user-circle fa-fw"></i>{{ $author }}
</a>
</span> -->

{{- $publish_date := .PublishDate.Format (.Site.Params.dateFormatToUse | default "2006-01-02") -}}
&nbsp;<span class="post-publish">
{{ T "publish" }}&nbsp;<time datetime={{ $publish_date }}>{{ $publish_date }}</time>
</span>

{{- with .Params.categories -}}
&nbsp;<span class="post-category">
{{- T "included" -}}
{{- range . -}}
&nbsp;
<span>
<a href="{{ `/categories/` | relLangURL }}{{ urlize .}}">
<i class="far fa-folder fa-fw"></i>{{ . | humanize }}
</a>
</span>
{{- end -}}
</span>
{{- end -}}
</div>

{{- /* Summary content */ -}}
<div class="content">
{{- with .Summary -}}
{{- partial "single/content.html" . -}}
{{- else -}}
{{- .Description | safeHTML -}}
{{- end -}}
</div>

{{- /* Footer */ -}}
<div class="post-footer">
<a href="{{ .Permalink }}">{{ T "readMore" }}</a>
{{- with .Params.tags -}}
<div class="post-tags">
{{- range . -}}
&nbsp;<span>
<a href="{{ `/tags/` | relLangURL }}{{ urlize .}}">
<i class="fas fa-tag fa-fw"></i>{{ . }}
</a>
</span>
{{- end -}}
</div>
{{- end -}}
</div>
</article>

0 comments on commit f72eea7

Please sign in to comment.
You can’t perform that action at this time.