有道词典 for Catalina

macOS 更新 Catalina 之后有道词典闪退的解决办法 打开系统偏好设置 => 语言与地区 => App => 点击+号 => 选择有道词典,语言设置成英语

November 3, 2019 · 1 min · K8sCat

NuxtJS 自定义 layout

NuxtJS 的 SPA 项目怎么处理不同的布局? # Use the layout key in your pages components to define which layout to use: # In this example, Nuxt.js will include the layouts/blog.vue file as a layout for this page component. export default { layout: 'blog', // OR layout (context) { return 'blog' } } Refer: API: The layout Property

November 2, 2019 · 1 min · K8sCat

不到10分钟搞定 CentOS7 部署 HBase

Apache HBase™ is the Hadoop database, a distributed, scalable, big data store. Use Apache HBase™ when you need random, realtime read/write access to your Big Data. This project’s goal is the hosting of very large tables – billions of rows X millions of columns – atop clusters of commodity hardware. Apache HBase is an open-source, distributed, versioned, non-relational database modeled after Google’s Bigtable: A Distributed Storage System for Structured Data by Chang et al....

November 1, 2019 · 3 min · K8sCat

基于 Vagrant + CentOS7 伪分布式与分布式部署 Hadoop

The Apache Hadoop software library is a framework that allows for the distributed processing of large data sets across clusters of computers using simple programming models. It is designed to scale up from single servers to thousands of machines, each offering local computation and storage. Rather than rely on hardware to deliver high-availability, the library itself is designed to detect and handle failures at the application layer, so delivering a highly-available service on top of a cluster of computers, each of which may be prone to failures....

October 31, 2019 · 4 min · K8sCat

Linux 给用户添加 sudo 权限

CentOS7 上新建一个用户(useradd test), 执行命令 sudo yum update, 提示 test 不在 sudoers 文件中。此事将被报告。, 那就添加吧! Q: 什么是 sudo ? 有什么用? A: Sudoers allows particular users to run various commands as the root user, without needing the root password. # 切换到root或者可以执行sudo命令的用户下, 然后编辑 /etc/sudoers sudo vi /etc/sudoers # 添加以下内容(需要使用 :wq! 强制保存) test ALL=(ALL) ALL

October 29, 2019 · 1 min · K8sCat