dotnet core开源博客系统XBlog介绍
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">XBlog是dotnet core平台下的个人博客开源系统,它只需要<span style="color: black;">经过</span>Copy的方式即<span style="color: black;">能够</span><span style="color: black;">安排</span>到Linux和windows系统中;<span style="color: black;">倘若</span>你有安全证书那只需要简单配置一下<span style="color: black;">就可</span><span style="color: black;">供给</span>安全的Https服务。接下来<span style="color: black;">重点</span>介绍XBlog功能、<span style="color: black;">安排</span>和<span style="color: black;">基本</span>设置。</p>
<h2 style="color: black; text-align: left; margin-bottom: 10px;">技术要点</h2>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">基于dotnet core平台,<span style="color: black;">能够</span>运行在windows和linux系统上</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">完全基于BeetleX.FastHttpAp框架<span style="color: black;">研发</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">前后端分离,完全脱离后端视图引擎;基于vuejs和webapi模式</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">混合HTTP和Websocket,当浏览器兼容Websocket的<span style="color: black;">状况</span>下请求会<span style="color: black;">运用</span>Websocket.</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">基于javascript前端Markdown,降低<span style="color: black;">文案</span>在服务端解释的损耗</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">支持HTTPS满足安全<span style="color: black;">拜访</span>的<span style="color: black;">需要</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">javascript async/await 对<span style="color: black;">拜访</span>的浏览器<span style="color: black;">需求</span>比较高,旧版本浏览器可能<span style="color: black;">没法</span>查看</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"> 项目<span style="color: black;">位置</span>:https://github.com/IKende/XBlog</p>
<h2 style="color: black; text-align: left; margin-bottom: 10px;">功能介绍</h2>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">XBlog<span style="color: black;">供给</span>了博客的<span style="color: black;">基本</span>功能<span style="color: black;">重点</span><span style="color: black;">包含</span>:<span style="color: black;">文案</span>管理,<span style="color: black;">归类</span>管理,评论管理,文件管理,系统资源监控和<span style="color: black;">文案</span>搜索功能.</p>
<h3 style="color: black; text-align: left; margin-bottom: 10px;">首页预览</h3>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><img src="https://mmbiz.qpic.cn/mmbiz_png/gak2lhVxV6K56uJWl3LdP1YPbCfZzyKfkibIYiceEyZXrwlwnnX738mPYg9MfvKJ979ic58jJicS0btI9UibrqTibOhQ/640?wx_fmt=png&tp=webp&wxfrom=5&wx_lazy=1&wx_co=1" style="width: 50%; margin-bottom: 20px;"></p>
<h3 style="color: black; text-align: left; margin-bottom: 10px;">后台预览</h3>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><img src="https://mmbiz.qpic.cn/mmbiz_png/gak2lhVxV6K56uJWl3LdP1YPbCfZzyKfj72x1SzDV3hmnPDrzDv6kgfmVxNSjJicgHcgxVNTAByjqbibaKKiaayUg/640?wx_fmt=png&tp=webp&wxfrom=5&wx_lazy=1&wx_co=1" style="width: 50%; margin-bottom: 20px;"></p>
<h3 style="color: black; text-align: left; margin-bottom: 10px;">设置</h3>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">重点</span>配置博客信息如Title,ElasticSearch服务<span style="color: black;">位置</span>,关于,JWT KEY和设置用户<span style="color: black;">秘码</span>等。 <img src="https://mmbiz.qpic.cn/mmbiz_png/gak2lhVxV6K56uJWl3LdP1YPbCfZzyKfwcMuY9ib9GG0tnAVwFBdDgGoIBCZ60UupVsE5XkMpxxupMiczuicbmdmA/640?wx_fmt=png&tp=webp&wxfrom=5&wx_lazy=1&wx_co=1" style="width: 50%; margin-bottom: 20px;"></p>
<h3 style="color: black; text-align: left; margin-bottom: 10px;"><span style="color: black;">安排</span></h3>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">XBlog<span style="color: black;">安排</span>非常简单,把编译好的文件复制运行<span style="color: black;">就可</span>。</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">下载编译好的文件包:</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">https://github.com/IKende/XBlog/blob/master/Publish/XBlog.zip</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">获取源代码:</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">https://github.com/IKende/XBlog自己编译</p>运行环境<span style="color: black;">需求</span>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">供给</span>.net core 2.1或更高版本的linux、windows系统。把编译好的代码复制到<span style="color: black;">关联</span>目录下运行以下命令:</p>dotnet BeetleX.Blog.dll配置ElasticSearch<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">因为</span>XBlog的数据<span style="color: black;">归类</span>检索都是<span style="color: black;">运用</span>ElasticSearch的功能,安装ElasticSearch<span style="color: black;">能够</span>查看以下<span style="color: black;">文案</span>,需要安装中文分词插件IK</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">https://www.ikende.com/blog/87.html</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">安装完成后只需要在系统管理后台设置一下<span style="color: black;">就可</span>,默认<span style="color: black;">指的是</span>向http://localhost:9200<span style="color: black;">按照</span><span style="color: black;">位置</span>配置。</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><img src="https://mmbiz.qpic.cn/mmbiz_png/gak2lhVxV6K56uJWl3LdP1YPbCfZzyKfUghdngbmqsd2muh3HfQEictSxR9yelltMVIJkwzhdm3TTcO3rQPJnbQ/640?wx_fmt=png&tp=webp&wxfrom=5&wx_lazy=1&wx_co=1" style="width: 50%; margin-bottom: 20px;"></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">系统检测到ElasticSearch可用的<span style="color: black;">状况</span>,边框为绿色;<span style="color: black;">倘若</span>检测错误会红色并有<span style="color: black;">关联</span>错误信息。检测成功后<span style="color: black;">能够</span><span style="color: black;">经过</span>测试分词按钮来测试一下分词效果</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><img src="https://mmbiz.qpic.cn/mmbiz_png/gak2lhVxV6K56uJWl3LdP1YPbCfZzyKfibrarTkeXd74UWPSlb7P4SPVcBgic74QxnlywibQvibXKRYKyYVplCIy3g/640?wx_fmt=png&tp=webp&wxfrom=5&wx_lazy=1&wx_co=1" style="width: 50%; margin-bottom: 20px;"></p>安全配置<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">系统默认用户名admin,<span style="color: black;">秘码</span>123456<span style="color: black;">意见</span>运行后修改<span style="color: black;">秘码</span>,还有JWT Key<span style="color: black;">亦</span>得新创建一个新的,<span style="color: black;">保证</span>Key和其他运行环境不一致。</p>配置<span style="color: black;">拜访</span>端口和Https<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">因为</span>BeetleX.FastHttpAp是支持https功能,<span style="color: black;">因此</span>只需要在HttpConif.json设置三项内容<span style="color: black;">就可</span></p> <span style="color: black;">"</span><span style="color: black;">Port</span><span style="color: black;">"</span>: <span style="color: black;">8080</span><span style="color: black;">, </span><span style="color: black;">"</span><span style="color: black;">SSL</span><span style="color: black;">"</span>: <span style="color: black;">true</span><span style="color: black;">, </span><span style="color: black;">"</span><span style="color: black;">CertificateFile</span><span style="color: black;">"</span>: <span style="color: black;">"</span><span style="color: black;">c:\\ikende.com.pfx</span><span style="color: black;">"</span><span style="color: black;">, </span><span style="color: black;">"</span><span style="color: black;">CertificatePassword</span><span style="color: black;">"</span>: <span style="color: black;">"</span><span style="color: black;">*****</span><span style="color: black;">"</span>,<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">端口默认是8080<span style="color: black;">倘若</span>需要80需要<span style="color: black;">自动</span>修改,开启https分别是开启SSL,设置证书文件和对应的<span style="color: black;">秘码</span>(linux和windows设置方式<span style="color: black;">同样</span>)默认端口是443。</p>
<h2 style="color: black; text-align: left; margin-bottom: 10px;">问题</h2>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">倘若</span><span style="color: black;">运用</span>或扩展中存在问题<span style="color: black;">能够</span>提交到 https://github.com/IKende/XBlog/issues</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">原文<span style="color: black;">位置</span>: https://www.cnblogs.com/smark/p/10190998.html</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">.NET社区<span style="color: black;">资讯</span>,深度好文,欢迎<span style="color: black;">拜访</span>公众号<span style="color: black;">文案</span>汇总 http://www.csharpkit.com </p>
<img src="https://mmbiz.qpic.cn/mmbiz_jpg/gak2lhVxV6Ll3Rjypick8DKRBSUpPIgFyCxeb5deosVPTBP2DJO7FENibZQVoweibm12hN3icfjxz4TVrPoZCpUVWA/640?wx_fmt=jpeg&tp=webp&wxfrom=5&wx_lazy=1&wx_co=1" style="width: 50%; margin-bottom: 20px;">
回顾历史,我们不难发现:无数先辈用鲜血和生命铺就了中华民族复兴的康庄大道。 同意、说得对、没错、我也是这么想的等。 我深感你的理解与共鸣,愿对话长流。
页:
[1]