Article January 23, 2024

performance

Words count 3.5k Reading time 3 mins.

nmonnmonhttps://nmon.sourceforge.net/pmwiki.php?n=Site.Download nmon analyserhttps://nmon.sourceforg... Read article

Article January 23, 2024

performance

Words count 3.5k Reading time 3 mins.

nmonnmonhttps://nmon.sourceforge.net/pmwiki.php?n=Site.Download nmon analyserhttps://nmon.sourceforge.net/pmwiki.php?n=Site.Nmon-Analyser https://nmonvisualizer.github.io/nmonvisualizer/ 12345678910111213Interactive-Mode: Read the Welcome screen &... Read article

Article January 23, 2024

Ubuntu

Words count 3.8k Reading time 3 mins.

下载-镜像地址http://mirrors.ustc.edu.cn/ubuntu-releases/ http://mirrors.163.com/ubuntu-releases/ zsync镜像更新假设目前已有镜像文件trusty-desktop-amd64.iso,要更新到ubuntu-14.04-desktop-i386.iso sudo apt-get install zsync zsync -i trusty-desktop-amd64.iso http://mirrors.ustc.... Read article

Article January 23, 2024

profile

Words count 1.8k Reading time 2 mins.

/etc/profile登录时执行并从/etc/profile.d目录的配置文件中搜集shell的设置 /etc/bashrc打开新的shell时 ~/.profile当用户登录时,该文件仅仅执行一次!默认情况下,他设置一些环境变量,执行用户的.bashrc文件. ~/.bashrc登录/打开新的shell时 ~/.bash_logout退出bash shell时 下面是在本机的几个例子: 图形模... Read article

Article January 23, 2024

iptables

Words count 26k Reading time 24 mins.

目前Linux系统的防火墙类型主要有两种:分别是iptables和firewalld,他们不是真正的防火墙,是指用来定义防火墙规则功能的”防火墙管理工具/程序”,将定义好的规则交由内核中的netfilter即网络过滤器来读取,从而真正实现防火墙功能。 在配置防火墙时,不建议两种配置方法结合使用(建议只使用其中的一种) iptables-静态防火墙 早期的Linux系统中默认使用的是iptables防火墙,配置文件在/etc/sysconfig/iptabl... Read article

Article January 23, 2024

vsftp

Words count 7.6k Reading time 7 mins.

Very Secure FTP Daemon installsudo apt install vsftpdsudo apt install db5.3-util yum install compat-db47 config 用户 本地用户 虚拟用户(需映射到一个本地用户/宿主) 匿名用户 连接模式 主动模式:客户端动态端口,服务器主动连接 被动模式:服务器动态端口,客户端主动连接 virtual users1.创建虚拟用户名添加虚拟用户名和密码,一行用户名,一行密码mkdir -p &... Read article

Article January 23, 2024

kafka

Words count 5.6k Reading time 5 mins.

Kafka 2.8.0,移除了对Zookeeper的依赖,通过KRaft进行自己的集群管理Kafka 3.3.1 Mark KRaft as Production Ready 基于TCP发布订阅模式 topic+partition Raft协议是当今最流行的分布式协调算法,Etcd、Consul等系统的基础,就来自于此。 总结一下其实就是四个要点 顺序读写 零拷贝 消息压缩 分批发送 https://cloud.tencent.com/developer/article/1547380 Apac... Read article

Article January 23, 2024

synchronization

Words count 3.9k Reading time 4 mins.

数据库同步JDBC默认情况下都是单线程,速度慢;可优化为并行,但过大的并行会对数据源库造成压力; Datax对Oracle支持通过对splitPk进行sample查询后,根据网络限制计算得到的分片任务数,计算得各个任务的上下界作为where条件来并行 Seatunel目前从源码看是不支持jdbc并行抽数 Spark123456789101112131415161718192021222324 def jdbc( url: String, table: String, columnName: St... Read article

Article January 23, 2024

ranger

Words count 141 Reading time 1 mins.

https://blog.cloudera.com/sentry-to-ranger-a-concise-guide/ Read article

Article January 23, 2024

mysql

Words count 18k Reading time 16 mins.

安装MariaDBhttps://mariadb.com/kb/en/yum/ 123456789101112131415161718vi /etc/yum.repos.d/MariaDB.repo[mariadb]name = MariaDB-10.3baseurl=http://142.4.219.197/10.3/centos7-amd64# alternative: baseurl=http://archive.mariadb.org/mariadb-10.3.14/yum/centos... Read article

Article January 23, 2024

kyuubi

Words count 31k Reading time 28 mins.

解决多租户的共享查询问题,作为多个查询引擎的统一入口 HA通过zk实现 存在的意义 - 对比 SparkThriftServer 权限:STS全局只有一个SparkContext,尽管SQL下发来自不同用户,但实际都是使用启动STS的用户身份执行(proxy-user也只是一个身份),难以对资源和权限做控制 单点:单点故障率高 Kyuubi从整体上可以分为用户层、服务发现层、Kyuubi Server层、Kyuubi Engine层,其整体概述如下: 用户层: 通过不同方式使用Kyuubi的用户... Read article
Load more
0%