分享 | IPv6服务器部署Rocket Chat,并套用Cloudflare加速

VMRaft有提供CentOS、Ubuntu和Debian,我们使用Ubuntu 20.04和Snap来部署Rocket Chat,并使用Nginx服务器进行前端Web服务以及Web Socket流量的反向代理,随后我们使用Cloudflare CDN来进行网络分发。

因为在Ubuntu系统版本高于16.04 LTS 以上版本的就内置了,所以我们无需在针对Snap进行安装。

首先执行系统更新:

apt update && sudo apt upgrade

更新

阅读剩余部分 -

项目 | Android Oxford Learner's Dictionaries

写在最前

在国内各类电子词典软件越来越毒瘤的趋势下,广告漫天飞舞,甚有会员+课程的捆绑式销售正在向你张开着血盆大口。我也很早就想和他们Say Goodbye了。

牛津出版社的Oxford Advanced Learner's Dictioneries(OALD)可谓是在词典当中最为权威的之一,在其网页版本词典中也提供了完备的查阅功能,还拓展性地展示了分类的单词表和语法内容介绍。

让我认为值得选择牛津OALD词典的一点是,不同于多数双语词典直接给你反馈中文结果,牛津词典的结果是全英文采用了简单的词汇来对这一个单词展开描述,以便让你理解。纵使直观的给出中文往往会让你快速理解,但却殊不知在记忆上形成一定的障碍。中文到英文的环境切换是跨度是远比英文到其他日耳曼语系语言的跨度大的。所以全英文的模式可以在一定程度上可以帮助你从英文语境上理解记忆单词的含义。

在Google Play上不难看到,官方早已上架了OALD的官方APP,然而当你安装后才会发现,它没有直接在play商店内让你付费购买,却是将会员资格和你的Oxford账户绑定,除非购买订阅每月$1.99或者每年$10.99美金的订阅会员,否则你在这款应用将无法查询单词。

于是我就采用FA重构了OALD网页版并封包为了安卓应用。从这里你可以简洁的浏览一切源自OALD词典上的内容,包括快速查询、每日一词、语法浏览、单词列表等,而无需观看广告内容并为此付费。

阅读剩余部分 -

杂谈 | Working like an Amazonian: Leadership Principles Explained — Customer Obsession

It’s so famous that probably you already have heard of them: it’s Amazon’s leadership principles.

Photo by Jehyun Sung on Unsplash

In this series, I will explain in-depth every single one of all the 14 leadership principles — what they are, how they are defined, how they are used in everyday work, how you know you are doing it right or wrong. At the end of this series, I will also explain the STAR interview technique and which ones I think are the more important principles.

If you want to land a job in Amazon and you have heard that learning these leadership principles is extremely important to your interview's success, this is the right series of articles to follow.

Or, maybe you just are interested in how Amazon does things and want to learn from this global giant, in which case, this is also the right series of articles to follow.

Or you are just curious or bored — I guarantee you, you will find this series interesting.
Let’s start with some personal rant as a preface to this series, which is —


阅读剩余部分 -

杂谈 | 小白入坑服务器指北

最近经常被人问起,关于服务器与科学上网的事情,于是便有了此文...

我们对比了“首屈一指”的国内外的三家知名云厂商(AWS 亚马逊云服务、Aliyun 阿里云、Tencent Cloud 腾讯云)
并附上了详细的测试记录。

CentOS 7.9 AWS Lightsale (Intel E5-2676v3) AP-JP
https://paste.ubuntu.com/p/cSf7NMqCmm

Red Hat 8 AWS EC2 (Intel E5-2676v3) AP-US
https://paste.ubuntu.com/p/kbQ6Fc4mNc

CentOS 7.9 AWS EC2 (Intel E5-2676v3) AP-SG
https://paste.ubuntu.com/p/C6qRxDXStt

CentOS 7.9 Tencent Lightsale (Intel Gold) AP-CN_GZ
https://paste.ubuntu.com/p/2MYGWQKQjn

CentOS 7.9 Tencent Lightsale (AMD EPYC) AP-CN_GZ
https://paste.ubuntu.com/p/87qz6vK2wV

CentOS 7.3 Aliyun Lightsale (Intel Platinum) AP-SG
https://paste.ubuntu.com/p/X6bvsxFR28/

随后,我又对AWS其他可用区(日本、新加坡、韩国等)区域的路由进行了测试,但是发现这并不尽人意。
AWS在亚洲区域内面向中国大陆板块路由,电信方向路由都需要绕行经过新加坡,联通则是走上NTT这条“不归路”,(移动,中移的国际宽带路由还是别看了吧)。所以质量并不是很理想,在此并不展开详细描述也不推荐。



阅读剩余部分 -

杂谈 | 服务器能不组raid吗?

专否上有人询问道了这个问题,其实组Raid并不是一台服务器的刚需,并且不同的Raid等级之间效果是不同的,比如单独一个Raid0和单一的Raid1,其功能前者可以做到提速后者数据冗余,但是即便是你采用了Raid10(即可理解为R1+R0组合),也并不代表着你的数据就万无一失。这意味着:既是你使用了Raid阵列技术,花费了更多的磁盘来存储更少的数据内容,但是在数据丢失时会因存在超长的数据重建时间、包含视冗余等级而造成的重建失败概率,而给你的数据恢复工作带来隐患。

阅读剩余部分 -