Quantcast
Channel: 信息技术 – Live Digital
Browsing latest articles
Browse All 26 View Live

使用 Docker 构建

使用 Docker 构建 原文:https://gitlab.com/gitlab-org/gitlab-ce/blob/master/doc/ci/docker/using_docker_build.md GitLab CI 允许你使用 Docker Engine 构建和测试基于 Docker 的项目。 这也允许您使用docker-compose和其他 docker-enabled 的工具。...

View Article


Python中”if __name__ == ‘__main__’:”的解析

Python中if __name__ == '__main__':的解析 Python 源代码常会在代码最下方看到形如if __name__ == '__main__':的语句,下面介绍其作用。 所有Python模块都有一个内置属性__name__,其值取决于如何使用模块。 如果被import,则模块__name__值通常为模块文件名,且不带路径及文件扩展名。...

View Article


ClickHouse Mutation

ClickHouse Mutation 在 ClickHouse 中,ALTER UPDATE/DELETE 等,被称为 Mutation。 一、Mutation 异步执行注意事项 Mutation 是异步执行的,所以如果有后续任何类型的 Query,无论是INSERT、SELECT、ALTER等,如果这些 Query 的条件对 Mutation 的结果有依赖,那么都应该等待 Mutation...

View Article

Free SSL Cert from Let’s Encrypt! It’s REALLY FRAGRANT!!

Traefik Docker Compose Example: version: '3.7' networks: livedignet: external: true services: traefik: image: "traefik:2.1" container_name: "traefik" networks: - livedignet command: # -...

View Article

Grafana Active Directory LDAP configuration

Grafana Active Directory LDAP configuration examples. Configration example below allows your active directory member user use their sAMAccountName login into your Grafana service. U need manage the...

View Article


Oracle 集群文件系统(Cluster File System – OCFS2)用户指南

Oracle 集群文件系统(Cluster File System – OCFS2)用户指南 1. 引言 集群文件系统允许集群中的所有节点通过标准文件系统接口并发访问设备。如此可以轻松管理需在集群中运行的应用程序。 OCFS(版本1)于2002年12月发布,这使 Oracle Real Application Cluster(RAC)用户无需处理 RAW...

View Article

OCFS2 手册

OCFS2 手册 OCFS2 – Linux共享磁盘集群文件系统 引言 OCFS2是一个文件系统。它允许用户存储和检索数据。数据存储在以分层目录树组织的文件中。它是POSIX兼容的文件系统,支持该规范说明的标准接口和行为语义。 它也是一个共享磁盘集群文件系统,该文件系统允许多个节点同时访问同一磁盘。这就是乐趣的开始,因为允许在多个节点上访问文件系统会打开蠕虫罐。(This is where the...

View Article

DBeaver Clickhouse session problem

When using user settings (e.g. SET max_parser_depth = 2000) in DBeaver’s Clickhouse query window, an error will occur. A typical error message is: SQL Error [113] [07000]: Code: 113. DB::Exception:...

View Article


EdgeRouter UPnP2 Configuration with ACL Control

Configuration Example: service { upnp2 { acl { rule 1 { action allow external-port 1024-65535 local-port 0-65535 subnet 192.168.199.0/24 } rule 2 { action allow external-port 1024-65535 local-port...

View Article


About SCP on Synology DSM

Scp to Synology DSM file system will use SFTP, not through SSH(default port: 8022), so you should use port 9022 (default port for SFTP) instead. And, you should use user space file system root as the...

View Article
Browsing latest articles
Browse All 26 View Live