-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
244 lines (220 loc) · 37.3 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
<!DOCTYPE html><html lang="zh-CN" data-theme="light"><head><meta charset="UTF-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1.0,viewport-fit=cover"><title>Yuanw - 抬头看天,低头做事</title><meta name="author" content="Yuanw"><meta name="copyright" content="Yuanw"><meta name="format-detection" content="telephone=no"><meta name="theme-color" content="#ffffff"><meta name="description" content="抬头看天,低头做事"><link rel="shortcut icon" href="https://cdn.jsdelivr.net/gh/yuanwe/CDN@latest/Blog/head.jpg"><link rel="canonical" href="https://codersoft.gitee.io/index.html"><link rel="preconnect" href="//cdn.jsdelivr.net"/><link rel="preconnect" href="//busuanzi.ibruce.info"/><link rel="stylesheet" href="/css/index.css"><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free/css/all.min.css" media="print" onload="this.media='all'"><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fancyapps/ui/dist/fancybox/fancybox.min.css" media="print" onload="this.media='all'"><script>const GLOBAL_CONFIG = {
root: '/',
algolia: undefined,
localSearch: undefined,
translate: {"defaultEncoding":2,"translateDelay":0,"msgToTraditionalChinese":"繁","msgToSimplifiedChinese":"簡"},
noticeOutdate: undefined,
highlight: {"plugin":"highlighjs","highlightCopy":true,"highlightLang":true,"highlightHeightLimit":false},
copy: {
success: '复制成功',
error: '复制错误',
noSupport: '浏览器不支持'
},
relativeDate: {
homepage: false,
post: false
},
runtime: '',
dateSuffix: {
just: '刚刚',
min: '分钟前',
hour: '小时前',
day: '天前',
month: '个月前'
},
copyright: undefined,
lightbox: 'fancybox',
Snackbar: undefined,
source: {
justifiedGallery: {
js: 'https://cdn.jsdelivr.net/npm/flickr-justified-gallery/dist/fjGallery.min.js',
css: 'https://cdn.jsdelivr.net/npm/flickr-justified-gallery/dist/fjGallery.min.css'
}
},
isPhotoFigcaption: false,
islazyload: true,
isAnchor: false,
percent: {
toc: true,
rightside: false,
}
}</script><script id="config-diff">var GLOBAL_CONFIG_SITE = {
title: 'Yuanw',
isPost: false,
isHome: true,
isHighlightShrink: false,
isToc: false,
postUpdate: '2024-06-04 14:05:39'
}</script><noscript><style type="text/css">
#nav {
opacity: 1
}
.justified-gallery img {
opacity: 1
}
#recent-posts time,
#post-meta time {
display: inline !important
}
</style></noscript><script>(win=>{
win.saveToLocal = {
set: function setWithExpiry(key, value, ttl) {
if (ttl === 0) return
const now = new Date()
const expiryDay = ttl * 86400000
const item = {
value: value,
expiry: now.getTime() + expiryDay,
}
localStorage.setItem(key, JSON.stringify(item))
},
get: function getWithExpiry(key) {
const itemStr = localStorage.getItem(key)
if (!itemStr) {
return undefined
}
const item = JSON.parse(itemStr)
const now = new Date()
if (now.getTime() > item.expiry) {
localStorage.removeItem(key)
return undefined
}
return item.value
}
}
win.getScript = url => new Promise((resolve, reject) => {
const script = document.createElement('script')
script.src = url
script.async = true
script.onerror = reject
script.onload = script.onreadystatechange = function() {
const loadState = this.readyState
if (loadState && loadState !== 'loaded' && loadState !== 'complete') return
script.onload = script.onreadystatechange = null
resolve()
}
document.head.appendChild(script)
})
win.getCSS = (url,id = false) => new Promise((resolve, reject) => {
const link = document.createElement('link')
link.rel = 'stylesheet'
link.href = url
if (id) link.id = id
link.onerror = reject
link.onload = link.onreadystatechange = function() {
const loadState = this.readyState
if (loadState && loadState !== 'loaded' && loadState !== 'complete') return
link.onload = link.onreadystatechange = null
resolve()
}
document.head.appendChild(link)
})
win.activateDarkMode = function () {
document.documentElement.setAttribute('data-theme', 'dark')
if (document.querySelector('meta[name="theme-color"]') !== null) {
document.querySelector('meta[name="theme-color"]').setAttribute('content', '#0d0d0d')
}
}
win.activateLightMode = function () {
document.documentElement.setAttribute('data-theme', 'light')
if (document.querySelector('meta[name="theme-color"]') !== null) {
document.querySelector('meta[name="theme-color"]').setAttribute('content', '#ffffff')
}
}
const t = saveToLocal.get('theme')
if (t === 'dark') activateDarkMode()
else if (t === 'light') activateLightMode()
const asideStatus = saveToLocal.get('aside-status')
if (asideStatus !== undefined) {
if (asideStatus === 'hide') {
document.documentElement.classList.add('hide-aside')
} else {
document.documentElement.classList.remove('hide-aside')
}
}
const detectApple = () => {
if(/iPad|iPhone|iPod|Macintosh/.test(navigator.userAgent)){
document.documentElement.classList.add('apple')
}
}
detectApple()
})(window)</script><meta name="generator" content="Hexo 6.3.0"></head><body><div id="sidebar"><div id="menu-mask"></div><div id="sidebar-menus"><div class="avatar-img is-center"><img src= "data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" data-lazy-src="https://cdn.jsdelivr.net/gh/yuanwe/CDN@latest/Blog/head.jpg" onerror="onerror=null;src='/img/friend_404.gif'" alt="avatar"/></div><div class="sidebar-site-data site-data is-center"><a href="/archives/"><div class="headline">文章</div><div class="length-num">7</div></a><a href="/tags/"><div class="headline">标签</div><div class="length-num">4</div></a><a href="/categories/"><div class="headline">分类</div><div class="length-num">3</div></a></div><hr/><div class="menus_items"><div class="menus_item"><a class="site-page" href="/"><i class="fa-fw fa fa-home"></i><span> 首页</span></a></div><div class="menus_item"><a class="site-page" href="/archives/"><i class="fa-fw fa fa-archive"></i><span> 时间轴</span></a></div><div class="menus_item"><a class="site-page" href="/tags/"><i class="fa-fw fa fa-tags"></i><span> 标签</span></a></div><div class="menus_item"><a class="site-page" href="/categories/"><i class="fa-fw fa fa-folder-open"></i><span> 分类</span></a></div><div class="menus_item"><a class="site-page" href="/link/"><i class="fa-fw fa fa-link"></i><span> 友链</span></a></div><div class="menus_item"><a class="site-page" href="/about/"><i class="fa-fw fa fa-heart"></i><span> 关于</span></a></div><div class="menus_item"><a class="site-page group" href="javascript:void(0);"><i class="fa-fw fa fa-list"></i><span> List</span><i class="fas fa-chevron-down"></i></a><ul class="menus_item_child"><li><a class="site-page child" href="/Music"><i class="fa-fw /music/"></i><span> 0</span></a></li><li><a class="site-page child" href="/Movie"><i class="fa-fw /movies/"></i><span> 1</span></a></li></ul></div></div></div></div><div class="page" id="body-wrap"><header class="full_page" id="page-header" style="background-image: url('https://cdn.jsdelivr.net/gh/yuanwe/CDN@latest/Blog/top_bg.jpg')"><nav id="nav"><span id="blog-info"><a href="/" title="Yuanw"><span class="site-name">Yuanw</span></a></span><div id="menus"><div class="menus_items"><div class="menus_item"><a class="site-page" href="/"><i class="fa-fw fa fa-home"></i><span> 首页</span></a></div><div class="menus_item"><a class="site-page" href="/archives/"><i class="fa-fw fa fa-archive"></i><span> 时间轴</span></a></div><div class="menus_item"><a class="site-page" href="/tags/"><i class="fa-fw fa fa-tags"></i><span> 标签</span></a></div><div class="menus_item"><a class="site-page" href="/categories/"><i class="fa-fw fa fa-folder-open"></i><span> 分类</span></a></div><div class="menus_item"><a class="site-page" href="/link/"><i class="fa-fw fa fa-link"></i><span> 友链</span></a></div><div class="menus_item"><a class="site-page" href="/about/"><i class="fa-fw fa fa-heart"></i><span> 关于</span></a></div><div class="menus_item"><a class="site-page group" href="javascript:void(0);"><i class="fa-fw fa fa-list"></i><span> List</span><i class="fas fa-chevron-down"></i></a><ul class="menus_item_child"><li><a class="site-page child" href="/Music"><i class="fa-fw /music/"></i><span> 0</span></a></li><li><a class="site-page child" href="/Movie"><i class="fa-fw /movies/"></i><span> 1</span></a></li></ul></div></div><div id="toggle-menu"><a class="site-page" href="javascript:void(0);"><i class="fas fa-bars fa-fw"></i></a></div></div></nav><div id="site-info"><h1 id="site-title">Yuanw</h1><div id="site-subtitle"><span id="subtitle"></span></div><div id="site_social_icons"><a class="social-icon" href="https://github.com/Yuanwe" target="_blank" title=""><i class="fab fa-github"></i></a><a class="social-icon" href="mailto:[email protected]" target="_blank" title=""><i class="fas fa-envelope"></i></a><a class="social-icon" href="/atom.xml" target="_blank" title=""><i class="fas fa-rss"></i></a></div></div><div id="scroll-down"><i class="fas fa-angle-down scroll-down-effects"></i></div></header><main class="layout" id="content-inner"><div class="recent-posts" id="recent-posts"><div class="recent-post-item"><div class="post_cover left"><a href="/2020/04/06/%E6%A0%91%E8%8E%93%E6%B4%BE%E4%BD%BF%E7%94%A8Java%E8%AF%AD%E8%A8%80%E9%A9%B1%E5%8A%A8OLED/" title="树莓派使用Java语言驱动OLED"><img class="post-bg" src= "data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" data-lazy-src="https://cdn.jsdelivr.net/gh/yuanwe/CDN@latest/Blog/oled/003.jpg" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="树莓派使用Java语言驱动OLED"></a></div><div class="recent-post-info"><a class="article-title" href="/2020/04/06/%E6%A0%91%E8%8E%93%E6%B4%BE%E4%BD%BF%E7%94%A8Java%E8%AF%AD%E8%A8%80%E9%A9%B1%E5%8A%A8OLED/" title="树莓派使用Java语言驱动OLED">树莓派使用Java语言驱动OLED</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time datetime="2020-04-06T10:58:51.000Z" title="发表于 2020-04-06 18:58:51">2020-04-06</time></span><span class="article-meta"><span class="article-meta-separator">|</span><i class="fas fa-comments"></i><a href="/2020/04/06/%E6%A0%91%E8%8E%93%E6%B4%BE%E4%BD%BF%E7%94%A8Java%E8%AF%AD%E8%A8%80%E9%A9%B1%E5%8A%A8OLED/#post-comment"><span class="valine-comment-count" data-xid="/2020/04/06/%E6%A0%91%E8%8E%93%E6%B4%BE%E4%BD%BF%E7%94%A8Java%E8%AF%AD%E8%A8%80%E9%A9%B1%E5%8A%A8OLED/"><i class="fa-solid fa-spinner fa-spin"></i></span></a><span class="article-meta-label"> 条评论</span></span></div><div class="content">简介&emsp; &emsp; Raspberry Pi(中文名为“树莓派”,简写为RPi,(或者RasPi / RPI) 是为学习计算机编程教育而设计),只有信用卡大小的微型电脑,其系统基于Linux。随着Windows 10 IoT的发布,我们也将可以用上运行Windows的树莓派。&emsp; &emsp; 自问世以来,受众多计算机发烧友和创客的追捧,曾经一“派”难求。别看其外表“娇小”,内“心”却很强大,视频、音频等功能通通皆有,可谓是“麻雀虽小,五脏俱全”。
开始&emsp; &emsp; 上回我们使用NodeMCU驱动了oled,我更倾向于Java软件开发,因此心想使用Java能不能实现一次硬件级别的Hello World呢,还真让我实现了,由于NodeMCU不支持Java语言,所以这次我们使用更为强大的树莓派进行驱动。&emsp; &emsp; 项目依托SpringBoot调用Pi4j接来实现。Pi4详细介绍见https://pi4j.com 。
准备
树莓派4B(理论上任何型号都可以)
...</div></div></div><div class="recent-post-item"><div class="post_cover right"><a href="/2020/04/05/NodeMCU_ESP8266%E9%A9%B1%E5%8A%A8OLED/" title="NodeMCU_ESP8266驱动OLED"><img class="post-bg" src= "data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" data-lazy-src="https://cdn.jsdelivr.net/gh/yuanwe/CDN@latest/Blog/esp8266/cover.jpg" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="NodeMCU_ESP8266驱动OLED"></a></div><div class="recent-post-info"><a class="article-title" href="/2020/04/05/NodeMCU_ESP8266%E9%A9%B1%E5%8A%A8OLED/" title="NodeMCU_ESP8266驱动OLED">NodeMCU_ESP8266驱动OLED</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time datetime="2020-04-05T08:53:27.000Z" title="发表于 2020-04-05 16:53:27">2020-04-05</time></span><span class="article-meta"><span class="article-meta-separator">|</span><i class="fas fa-comments"></i><a href="/2020/04/05/NodeMCU_ESP8266%E9%A9%B1%E5%8A%A8OLED/#post-comment"><span class="valine-comment-count" data-xid="/2020/04/05/NodeMCU_ESP8266%E9%A9%B1%E5%8A%A8OLED/"><i class="fa-solid fa-spinner fa-spin"></i></span></a><span class="article-meta-label"> 条评论</span></span></div><div class="content">使用NodeMCU_ESP8266驱动OLEDNodeMCU简介NodeMCU,是一个开源的物联网平台。 它使用Lua脚本语言编程。该平台基于eLua开源项目,底层使用ESP8266 sdk 0.9.5版本。该平台使用了很多开源项目, 例如 lua-cjson, spiffs. NodeMCU包含了可以运行在esp8266Wi-FiSoC芯片之上的固件,以及基于ESP-12模组的硬件。ESP8266 是高性能无线 SOC,以最低成本提供最大实用性,为 WiFi 功能嵌入其他系统提供无限可能。
ESP8366特点802.11 b/g/n内置Tensilica L106 超低功耗 32 位微型 MCU,主频支持 80 MHz 和160 MHz,支持 RTOS内置10 bit高精度ADC内置TCP/IP协议栈内置TR 开关、balun、LNA、功率放大器和匹配网络内置PLL、稳压器和电源管理组件,802.11b 模式下+20 dBm的输出功率A-MPDU 、 A-MSDU 的聚合和 0.4 s的保护间隔WiFi @ 2.4 GHz,支持 WPA/WPA ...</div></div></div><div class="recent-post-item"><div class="post_cover left"><a href="/2020/03/27/freeSSL/" title="免费SSL证书之freeSSL"><img class="post-bg" src= "data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" data-lazy-src="https://cdn.jsdelivr.net/gh/yuanwe/CDN@latest/Blog/freeSSL/000001.jpg" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="免费SSL证书之freeSSL"></a></div><div class="recent-post-info"><a class="article-title" href="/2020/03/27/freeSSL/" title="免费SSL证书之freeSSL">免费SSL证书之freeSSL</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time datetime="2020-03-27T04:47:26.000Z" title="发表于 2020-03-27 12:47:26">2020-03-27</time></span><span class="article-meta"><span class="article-meta-separator">|</span><i class="fas fa-comments"></i><a href="/2020/03/27/freeSSL/#post-comment"><span class="valine-comment-count" data-xid="/2020/03/27/freeSSL/"><i class="fa-solid fa-spinner fa-spin"></i></span></a><span class="article-meta-label"> 条评论</span></span></div><div class="content">为什么需要SSL防“钓鱼”、防止数据被篡改、信息加密、提高搜索排名,微信公众号、小程序开发必备!
FreeSSL简介FreeSSL.cn一个提供免费HTTPS证书申请的网站,与之前的Certbot相比FreeSSL的使用方式更加简单同时支持了TrustAsia以及Let’s Encrypt两个品牌,并且TrustAsia的签发有效期为一年,到期后重新验证即可。
FreeSSL使用方法申请SSL证书FreeSSL使用起来要比上一期的Certbot更加简单,打开https://freessl.cn/ FreeSSL官网按照官网要求注册完毕之后,在域名输入框内填入自己的域名,点击创建免费的SSL证书即可填写好您的域名之后,CA需要对您是否拥有该域名进行验证,这样才能给您颁发证书。这里有多种验证方式,您可以采用对您较为方便的方式进行。在进行下一步的同时,你将同意Lets Encrypt service agreement 或 TrustAsia。如果您的网站有防火墙,请对 66.133.109.36 开放。如果您收到 504 网关超时,无法连接等其它错误,请刷新页面重试;如果您有自己的CSR文 ...</div></div></div><div class="recent-post-item"><div class="post_cover right"><a href="/2019/12/30/sourcetrail/" title="源码阅读工具SourceTrail的使用"><img class="post-bg" src= "data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" data-lazy-src="https://cdn.jsdelivr.net/gh/yuanwe/CDN@latest/Blog/sourcetrail/cover.jpg" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="源码阅读工具SourceTrail的使用"></a></div><div class="recent-post-info"><a class="article-title" href="/2019/12/30/sourcetrail/" title="源码阅读工具SourceTrail的使用">源码阅读工具SourceTrail的使用</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time datetime="2019-12-30T06:57:19.000Z" title="发表于 2019-12-30 14:57:19">2019-12-30</time></span><span class="article-meta"><span class="article-meta-separator">|</span><i class="fas fa-inbox"></i><a class="article-meta__categories" href="/categories/Mac/">Mac</a></span><span class="article-meta"><span class="article-meta-separator">|</span><i class="fas fa-comments"></i><a href="/2019/12/30/sourcetrail/#post-comment"><span class="valine-comment-count" data-xid="/2019/12/30/sourcetrail/"><i class="fa-solid fa-spinner fa-spin"></i></span></a><span class="article-meta-label"> 条评论</span></span></div><div class="content">源码阅读工具SourceTrail的使用1、简介 SourceTrail是一款源码阅读软件,跨平台,图形化,支持和idea互动,支持模糊搜索,用来分析代码比较方便
2、安装 SourceTrail可以在官网免费下载,提供Windows Mac Linux 三种版本,Mac安装只需要将下载下来的dmg拖动到app文件夹下即可,其他系统安装也很简单,略过。
3、使用3.1、New Project 打开SourceTrail后首先需要新建项目,点击新建项目按钮即可 在弹出的窗口中填写好项目名称和项目所在文件夹(此处项目指新建的项目名称和地址)填写好相关项目名称和项目所在文件夹之后点击下方的Add Source Group按钮即可 接下来在弹出的窗口中填写需要阅读的项目的相关信息(此处项目指需要需要被阅读的项目),以Java为例,点击Java按钮,选择Java Source Group from Maven,然后点击下一步 在弹出的窗口中填写相关项目信息,需要填写项目pom文件地址,以及maven配置文件地址,填写好相关信息之后点击下一步即可 在新的弹窗中直接点击下 ...</div></div></div><div class="recent-post-item"><div class="post_cover left"><a href="/2019/12/20/Alfredworkflow-iTerm-Terminal/" title="Mac任意目录节点下快速打开iTerm、Terminal"><img class="post-bg" src= "data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" data-lazy-src="https://cdn.jsdelivr.net/gh/yuanwe/CDN@latest/Blog/Alfredworkflow/cover.jpg" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="Mac任意目录节点下快速打开iTerm、Terminal"></a></div><div class="recent-post-info"><a class="article-title" href="/2019/12/20/Alfredworkflow-iTerm-Terminal/" title="Mac任意目录节点下快速打开iTerm、Terminal">Mac任意目录节点下快速打开iTerm、Terminal</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time datetime="2019-12-20T02:10:42.000Z" title="发表于 2019-12-20 10:10:42">2019-12-20</time></span><span class="article-meta"><span class="article-meta-separator">|</span><i class="fas fa-inbox"></i><a class="article-meta__categories" href="/categories/Mac/">Mac</a></span><span class="article-meta"><span class="article-meta-separator">|</span><i class="fas fa-comments"></i><a href="/2019/12/20/Alfredworkflow-iTerm-Terminal/#post-comment"><span class="valine-comment-count" data-xid="/2019/12/20/Alfredworkflow-iTerm-Terminal/"><i class="fa-solid fa-spinner fa-spin"></i></span></a><span class="article-meta-label"> 条评论</span></span></div><div class="content">Mac任意目录节点下快速打开iTerm、Terminal1、基本介绍 使用Mac的用户有时候会遇到需要当前目录下打开Terminal的情况,例如需要对某一级目录下的文件进行授权、执行等操作,一般的做法是先复制该目录的路径,然后打开Terminal,最后在Terminal中执行cd命令,网上也有一些办法可以在Finder工具栏添加打开Terminal的方式,但是操作起来都不是很方便,因此特地开发出该Alfredworkflow,目前已能实现在任意目录一键打开Terminal并自动执行cd 命令,基本原理就是利用AppleScript获取到当前文件/文件夹所在的Finder目录,唤醒Terminal或者iTerm并执行cd命令
2、准备工作 脚本为Alfredworkflow,使用者需要自行进行安装Alfred,安装后直接导入即可
3、脚本介绍3.1、iTerm脚本123456789101112131415161718192021222324252627282930313233343536373839on alfred_script(q)tell application ...</div></div></div><div class="recent-post-item"><div class="post_cover right"><a href="/2019/12/16/certBot/" title="certbot为你的网站免费上https"><img class="post-bg" src= "data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" data-lazy-src="https://cdn.jsdelivr.net/gh/yuanwe/CDN@latest/Blog/certbot/cover.jpeg" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="certbot为你的网站免费上https"></a></div><div class="recent-post-info"><a class="article-title" href="/2019/12/16/certBot/" title="certbot为你的网站免费上https">certbot为你的网站免费上https</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time datetime="2019-12-16T09:47:26.000Z" title="发表于 2019-12-16 17:47:26">2019-12-16</time></span><span class="article-meta"><span class="article-meta-separator">|</span><i class="fas fa-comments"></i><a href="/2019/12/16/certBot/#post-comment"><span class="valine-comment-count" data-xid="/2019/12/16/certBot/"><i class="fa-solid fa-spinner fa-spin"></i></span></a><span class="article-meta-label"> 条评论</span></span></div><div class="content">Let’s Encrypt简介Let’s Encrypt 是 一个叫 ISRG ( Internet Security Research Group ,互联网安全研究小组)的组织推出的免费安全证书计划。参与这个计划的组织和公司可以说是互联网顶顶重要的先驱,除了前文提到的三个牛气哄哄的发起单位外,后来又有思科(全球网络设备制造商执牛耳者)、 Akamai 加入,甚至连 Linux 基金会也加入了合作,这些大牌组织的加入保证了这个项目的可信度和可持续性。
Certbot 使用方法Certbot 的官方网站是 https://certbot.eff.org/ ,打开这个链接选择自己使用的 web server 和操作系统,EFF 官方会给出详细的使用方法
开始安装https假设运行环境为centos7.1,Web 服务器是 Nginx 1.12.0(因为我的生产环境是),当前工作目录为 /root
获取certbot客户端12wget https://dl.eff.org/certbot-autochmod a+x certbot-auto
停止tomcat``服务必须要停止服务
生成证书 ...</div></div></div><div class="recent-post-item"><div class="post_cover left"><a href="/2019/12/15/weblogic/" title="Weblogic多机多服务部署"><img class="post-bg" src= "data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" data-lazy-src="https://cdn.jsdelivr.net/gh/yuanwe/CDN@latest/Blog/weblogic/weblogic.jpeg" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="Weblogic多机多服务部署"></a></div><div class="recent-post-info"><a class="article-title" href="/2019/12/15/weblogic/" title="Weblogic多机多服务部署">Weblogic多机多服务部署</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time datetime="2019-12-15T00:41:27.000Z" title="发表于 2019-12-15 08:41:27">2019-12-15</time></span><span class="article-meta"><span class="article-meta-separator">|</span><i class="fas fa-inbox"></i><a class="article-meta__categories" href="/categories/%E4%B8%AD%E9%97%B4%E4%BB%B6/">中间件</a><i class="fas fa-angle-right article-meta-link"></i><a class="article-meta__categories" href="/categories/%E4%B8%AD%E9%97%B4%E4%BB%B6/weblogic/">weblogic</a></span><span class="article-meta"><span class="article-meta-separator">|</span><i class="fas fa-comments"></i><a href="/2019/12/15/weblogic/#post-comment"><span class="valine-comment-count" data-xid="/2019/12/15/weblogic/"><i class="fa-solid fa-spinner fa-spin"></i></span></a><span class="article-meta-label"> 条评论</span></span></div><div class="content">Weblogic多机多服务部署此次以10.128.22.21和10.128.22.22两台服务器为例,来描述应用部署的步骤。并以10.128.22.21:7001作为管理服务器
主管服务器相关配置创建domain/home/weblogic/weblog10/wlserver_10.3/common/bin/config.sh
执行 config.sh
选择创建新的weblogic域
选择weblogic Platfrom 组件
选择要使用的模板这里直接点击下一步即可
输入需要创建的domain的名称(主管服务器和受管服务器名称建议一致)
选择默认位置
根据提示输入用户口令并进行确认
根据需要选择开发模式或者生产模式这里选择生产模式
选择预先设置好的JDK
下一步根据提示创建好domain
启动weblogic服务/home/weblogic/weblog10/user_projects/domains/tpcenter_domain
执行 ...</div></div></div><nav id="pagination"><div class="pagination"><span class="page-number current">1</span></div></nav></div><div class="aside-content" id="aside-content"><div class="card-widget card-info"><div class="is-center"><div class="avatar-img"><img src= "data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" data-lazy-src="https://cdn.jsdelivr.net/gh/yuanwe/CDN@latest/Blog/head.jpg" onerror="this.onerror=null;this.src='/img/friend_404.gif'" alt="avatar"/></div><div class="author-info__name">Yuanw</div><div class="author-info__description">抬头看天,低头做事</div></div><div class="card-info-data site-data is-center"><a href="/archives/"><div class="headline">文章</div><div class="length-num">7</div></a><a href="/tags/"><div class="headline">标签</div><div class="length-num">4</div></a><a href="/categories/"><div class="headline">分类</div><div class="length-num">3</div></a></div><a id="card-info-btn" target="_blank" rel="noopener" href="https://github.com/Yuanwe"><i class="fab fa-github"></i><span>Follow Me</span></a><div class="card-info-social-icons is-center"><a class="social-icon" href="https://github.com/Yuanwe" target="_blank" title=""><i class="fab fa-github"></i></a><a class="social-icon" href="mailto:[email protected]" target="_blank" title=""><i class="fas fa-envelope"></i></a><a class="social-icon" href="/atom.xml" target="_blank" title=""><i class="fas fa-rss"></i></a></div></div><div class="card-widget card-announcement"><div class="item-headline"><i class="fas fa-bullhorn fa-shake"></i><span>公告</span></div><div class="announcement_content">感谢访问本站,装修中,请稍后... ^_^</div></div><div class="sticky_layout"><div class="card-widget card-recent-post"><div class="item-headline"><i class="fas fa-history"></i><span>最新文章</span></div><div class="aside-list"><div class="aside-list-item"><a class="thumbnail" href="/2020/04/06/%E6%A0%91%E8%8E%93%E6%B4%BE%E4%BD%BF%E7%94%A8Java%E8%AF%AD%E8%A8%80%E9%A9%B1%E5%8A%A8OLED/" title="树莓派使用Java语言驱动OLED"><img src= "data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" data-lazy-src="https://cdn.jsdelivr.net/gh/yuanwe/CDN@latest/Blog/oled/003.jpg" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="树莓派使用Java语言驱动OLED"/></a><div class="content"><a class="title" href="/2020/04/06/%E6%A0%91%E8%8E%93%E6%B4%BE%E4%BD%BF%E7%94%A8Java%E8%AF%AD%E8%A8%80%E9%A9%B1%E5%8A%A8OLED/" title="树莓派使用Java语言驱动OLED">树莓派使用Java语言驱动OLED</a><time datetime="2020-04-06T10:58:51.000Z" title="发表于 2020-04-06 18:58:51">2020-04-06</time></div></div><div class="aside-list-item"><a class="thumbnail" href="/2020/04/05/NodeMCU_ESP8266%E9%A9%B1%E5%8A%A8OLED/" title="NodeMCU_ESP8266驱动OLED"><img src= "data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" data-lazy-src="https://cdn.jsdelivr.net/gh/yuanwe/CDN@latest/Blog/esp8266/cover.jpg" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="NodeMCU_ESP8266驱动OLED"/></a><div class="content"><a class="title" href="/2020/04/05/NodeMCU_ESP8266%E9%A9%B1%E5%8A%A8OLED/" title="NodeMCU_ESP8266驱动OLED">NodeMCU_ESP8266驱动OLED</a><time datetime="2020-04-05T08:53:27.000Z" title="发表于 2020-04-05 16:53:27">2020-04-05</time></div></div><div class="aside-list-item"><a class="thumbnail" href="/2020/03/27/freeSSL/" title="免费SSL证书之freeSSL"><img src= "data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" data-lazy-src="https://cdn.jsdelivr.net/gh/yuanwe/CDN@latest/Blog/freeSSL/000001.jpg" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="免费SSL证书之freeSSL"/></a><div class="content"><a class="title" href="/2020/03/27/freeSSL/" title="免费SSL证书之freeSSL">免费SSL证书之freeSSL</a><time datetime="2020-03-27T04:47:26.000Z" title="发表于 2020-03-27 12:47:26">2020-03-27</time></div></div><div class="aside-list-item"><a class="thumbnail" href="/2019/12/30/sourcetrail/" title="源码阅读工具SourceTrail的使用"><img src= "data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" data-lazy-src="https://cdn.jsdelivr.net/gh/yuanwe/CDN@latest/Blog/sourcetrail/cover.jpg" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="源码阅读工具SourceTrail的使用"/></a><div class="content"><a class="title" href="/2019/12/30/sourcetrail/" title="源码阅读工具SourceTrail的使用">源码阅读工具SourceTrail的使用</a><time datetime="2019-12-30T06:57:19.000Z" title="发表于 2019-12-30 14:57:19">2019-12-30</time></div></div><div class="aside-list-item"><a class="thumbnail" href="/2019/12/20/Alfredworkflow-iTerm-Terminal/" title="Mac任意目录节点下快速打开iTerm、Terminal"><img src= "data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" data-lazy-src="https://cdn.jsdelivr.net/gh/yuanwe/CDN@latest/Blog/Alfredworkflow/cover.jpg" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="Mac任意目录节点下快速打开iTerm、Terminal"/></a><div class="content"><a class="title" href="/2019/12/20/Alfredworkflow-iTerm-Terminal/" title="Mac任意目录节点下快速打开iTerm、Terminal">Mac任意目录节点下快速打开iTerm、Terminal</a><time datetime="2019-12-20T02:10:42.000Z" title="发表于 2019-12-20 10:10:42">2019-12-20</time></div></div></div></div><div class="card-widget card-categories"><div class="item-headline">
<i class="fas fa-folder-open"></i>
<span>分类</span>
</div>
<ul class="card-category-list" id="aside-cat-list">
<li class="card-category-list-item "><a class="card-category-list-link" href="/categories/Mac/"><span class="card-category-list-name">Mac</span><span class="card-category-list-count">2</span></a></li><li class="card-category-list-item "><a class="card-category-list-link" href="/categories/%E4%B8%AD%E9%97%B4%E4%BB%B6/"><span class="card-category-list-name">中间件</span><span class="card-category-list-count">1</span></a><ul class="card-category-list child"><li class="card-category-list-item "><a class="card-category-list-link" href="/categories/%E4%B8%AD%E9%97%B4%E4%BB%B6/weblogic/"><span class="card-category-list-name">weblogic</span><span class="card-category-list-count">1</span></a></li></ul></li>
</ul></div><div class="card-widget card-tags"><div class="item-headline"><i class="fas fa-tags"></i><span>标签</span></div><div class="card-tag-cloud"><a href="/tags/%E4%B8%AD%E9%97%B4%E4%BB%B6/" style="font-size: 1.1em; color: #999">中间件</a> <a href="/tags/Mac/" style="font-size: 1.5em; color: #99a9bf">Mac</a> <a href="/tags/https/" style="font-size: 1.5em; color: #99a9bf">https</a> <a href="/tags/weblogic/" style="font-size: 1.1em; color: #999">weblogic</a></div></div><div class="card-widget card-archives"><div class="item-headline"><i class="fas fa-archive"></i><span>归档</span></div><ul class="card-archive-list"><li class="card-archive-list-item"><a class="card-archive-list-link" href="/archives/2020/04/"><span class="card-archive-list-date">四月 2020</span><span class="card-archive-list-count">2</span></a></li><li class="card-archive-list-item"><a class="card-archive-list-link" href="/archives/2020/03/"><span class="card-archive-list-date">三月 2020</span><span class="card-archive-list-count">1</span></a></li><li class="card-archive-list-item"><a class="card-archive-list-link" href="/archives/2019/12/"><span class="card-archive-list-date">十二月 2019</span><span class="card-archive-list-count">4</span></a></li></ul></div><div class="card-widget card-webinfo"><div class="item-headline"><i class="fas fa-chart-line"></i><span>网站资讯</span></div><div class="webinfo"><div class="webinfo-item"><div class="item-name">文章数目 :</div><div class="item-count">7</div></div><div class="webinfo-item"><div class="item-name">本站访客数 :</div><div class="item-count" id="busuanzi_value_site_uv"><i class="fa-solid fa-spinner fa-spin"></i></div></div><div class="webinfo-item"><div class="item-name">本站总访问量 :</div><div class="item-count" id="busuanzi_value_site_pv"><i class="fa-solid fa-spinner fa-spin"></i></div></div><div class="webinfo-item"><div class="item-name">最后更新时间 :</div><div class="item-count" id="last-push-date" data-lastPushDate="2024-06-04T06:05:39.549Z"><i class="fa-solid fa-spinner fa-spin"></i></div></div></div></div></div></div></main><footer id="footer" style="background-image: url('https://cdn.jsdelivr.net/gh/yuanwe/CDN@latest/Blog/top_bg.jpg')"><div id="footer-wrap"><div class="copyright">©2016 - 2024 By Yuanw</div><div class="framework-info"><span>框架 </span><a target="_blank" rel="noopener" href="https://hexo.io">Hexo</a><span class="footer-separator">|</span><span>主题 </span><a target="_blank" rel="noopener" href="https://github.com/jerryc127/hexo-theme-butterfly">Butterfly</a></div></div></footer></div><div id="rightside"><div id="rightside-config-hide"><button id="translateLink" type="button" title="简繁转换">繁</button><button id="darkmode" type="button" title="浅色和深色模式转换"><i class="fas fa-adjust"></i></button><button id="hide-aside-btn" type="button" title="单栏和双栏切换"><i class="fas fa-arrows-alt-h"></i></button></div><div id="rightside-config-show"><button id="rightside_config" type="button" title="设置"><i class="fas fa-cog fa-spin"></i></button><button id="go-up" type="button" title="回到顶部"><span class="scroll-percent"></span><i class="fas fa-arrow-up"></i></button></div></div><div><script src="/js/utils.js"></script><script src="/js/main.js"></script><script src="/js/tw_cn.js"></script><script src="https://cdn.jsdelivr.net/npm/@fancyapps/ui/dist/fancybox/fancybox.umd.min.js"></script><script src="https://cdn.jsdelivr.net/npm/vanilla-lazyload/dist/lazyload.iife.min.js"></script><div class="js-pjax"><script>(() => {
function loadValine () {
function initValine () {
let initData = {
el: '#vcomment',
appId: 'uAWlN4bQSc5iTsAc9Oh75kM1-gzGzoHsz',
appKey: '1vGo3bhEUdQAnKOHG5frvmDc',
serverURLs: ''
}
const valine = new Valine(initData)
}
if (typeof Valine === 'function') initValine()
else getScript('https://cdn.jsdelivr.net/npm/valine/dist/Valine.min.js').then(initValine)
}
window.pjax ? loadValine() : window.addEventListener('load', loadValine)
})()</script><script>window.typedJSFn = {
init: (str) => {
window.typed = new Typed('#subtitle', Object.assign({
strings: str,
startDelay: 300,
typeSpeed: 150,
loop: true,
backSpeed: 50,
}, null))
},
run: (subtitleType) => {
if (true) {
if (typeof Typed === 'function') {
subtitleType()
} else {
getScript('https://cdn.jsdelivr.net/npm/typed.js/dist/typed.umd.min.js').then(subtitleType)
}
} else {
subtitleType()
}
}
}
</script><script>function subtitleType () {
if (true) {
typedJSFn.init(["今日事,今日畢","Never put off till tomorrow what you can do today"])
} else {
document.getElementById("subtitle").innerHTML = '今日事,今日畢'
}
}
typedJSFn.run(subtitleType)</script></div><script defer="defer" id="fluttering_ribbon" mobile="false" src="https://cdn.jsdelivr.net/npm/butterfly-extsrc/dist/canvas-fluttering-ribbon.min.js"></script><script async data-pjax src="//busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script></div></body></html>