Hugh's Blog

WSL2 安装与使用

检查安装要求 具体可以看: 这里 To update to WSL 2, you must be running Windows 10… For x64 systems: Version 1903 or later, with Build 18362.1049 or later. For ARM64 systems: Version 2004 or later, with Build 19041 or later. 开启虚拟化等功能 控制面板 -> 启动或关闭 Windows 功能 ...

 

DD 重装系统

使用萌咖脚本:https://moeclub.org/2018/04/03/603 默认用户:root,默认密码:MoeClub.org # redhat, centos ...

 

Linux 安装 PHP

Linux 选择安装特定 PHP 版本,做个记录。 CentOS 安装 PHP 安装源: # centos 7 yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm yum install http://rpms.remirepo.net/enterprise/remi-release-7.rpm # centos 6 # yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-6.noarch.rpm # yum install http://rpms.remirepo.net/enterprise/remi-release-6.rpm 安装 PHP: # yum 命令包 yum install yum-utils # 可以选择版本 # yum-config-manager --enable remi-php55 [Install ...

 

clickhouse-copier 使用

clickhouse-copier 是官方的数据迁移工具,主要用在多个集群之间的数据迁移,当然单个集群也适用。 本地使用 Docker 搭建测试集群:clickhouse-cluster-e ...

 

ClickHouse 笔记

ClickHouse 是一款开源的 OLAP 列存储数据库,下面是一些使用笔记,做个记录。 常用语句 -- 创建表 create table temp (`EventDate` DateTime, `UserId` UInt32) engine = MergeTree() partition by toYYYYMM(EventDate) order by EventDate; -- 创建分布式复制表 create table temp (`EventDate` DateTime, `UserId` UInt32) ...

 
Older Posts >>