随笔分类 -  Ops

摘要:预热 pre-warm AWS EBS Volume 阅读全文
posted @ 2024-11-05 22:28 LexLuc 阅读(27) 评论(0) 推荐(0) 编辑
摘要:AWS EC2 S3 文件对象 上传 下载 复制 共享 阅读全文
posted @ 2024-10-31 01:21 LexLuc 阅读(34) 评论(0) 推荐(0) 编辑
摘要:vscode launch.json template 模板 debug 阅读全文
posted @ 2024-09-04 21:49 LexLuc 阅读(20) 评论(0) 推荐(0) 编辑
摘要:什么是可突发实例(Burstable Instances)? 理解CPU Credit 什么是CPU Credit 如何积累CPU Credit 消耗CPU Credit 突发带宽(Burstable Bandwidth)概述 支付CPU Credit费用 标准使用 无限模式 成本管理与优化 总结 阅读全文
posted @ 2024-08-25 01:35 LexLuc 阅读(83) 评论(0) 推荐(0) 编辑
摘要:配置代理 # set proxy gitconfigglobalhttp.proxyhttp://<>:<>@<>:<> git config --global https.proxy https://<账号>:<密码>@<主机>:<端口> # check pro 阅读全文
posted @ 2023-10-07 16:53 LexLuc 阅读(11) 评论(0) 推荐(0) 编辑
摘要:1. 下载二进制压缩包 https://www.enterprisedb.com/download-postgresql-binaries 2. 解压后在压缩包的bin目录下执行初始化DB命令 initdb.exe -D .\data -U pguser -W -E UTF8 -A scram-sh 阅读全文
posted @ 2023-09-11 16:27 LexLuc 阅读(264) 评论(0) 推荐(0) 编辑
摘要:# 关键信息记录 ## 1. 在WSL实测`nc`可实现代理流量转发 ``` ssh -i key.pem @ -o "ProxyCommand=nc -X connect -x : %h %p" ``` ## 2. windows无法使用`nc`,通过修改 VS-Code Remote-SSH 插 阅读全文
posted @ 2023-09-02 14:53 LexLuc 阅读(504) 评论(0) 推荐(0) 编辑
摘要:```bash sudo apt-get install openssl cd /etc/nginx sudo mkdir ssl sudo openssl req -batch -x509 -nodes -days 365 \ -newkey rsa:2048 \ -keyout /etc/ngi 阅读全文
posted @ 2023-07-18 02:00 LexLuc 阅读(10) 评论(0) 推荐(0) 编辑
摘要:问题描述 Java API报错 java.io.IOException: Unable to find region for 2520192391014818087 in $TABLENAME ; ERROR Utils: Aborting task org.apache.hadoop.hbase. 阅读全文
posted @ 2023-03-04 15:07 LexLuc 阅读(2282) 评论(0) 推荐(0) 编辑
摘要:问题描述 源表数据将HBase集群内节点的存储空间撑爆,导致HBase集群内节点拒绝服务; 思路 筛选出没用且占用空间最大的n张表,通过hbase client删除。 修复步骤 查询HDFS占用空间情况:hdfs dfs -df -h; 确认是否是HBase表占用的空间比较大:hdfs dfs -d 阅读全文
posted @ 2023-03-02 20:00 LexLuc 阅读(223) 评论(0) 推荐(0) 编辑
摘要:/etc/hosts.allow与/etc/hosts.deny的判定机制 读取/etc/hosts.allow文件,从上到下读取: 如果守护程序-客户端对与文件中的第一行匹配,则授予访问权限; 如果该行不匹配,则读取下一行并执行相同的检查; 如果读取了所有行,但没有匹配,则从顶部开始读取/etc/ 阅读全文
posted @ 2023-02-21 22:27 LexLuc 阅读(1431) 评论(0) 推荐(0) 编辑
摘要:Tmux 是一种常用的 Terminal Multiplexer,其开源特性可支持无限功能扩展。 一个 Session 可分多个 Window,一个 Window 可以分多个 Pane 的功能特性,比较方便操作多个应用; 创建的 Session 运行在服务上;不慎关闭 terminal 窗口,不会停 阅读全文
posted @ 2020-10-09 15:53 LexLuc 阅读(408) 评论(0) 推荐(0) 编辑
摘要:作为程序员,搭建属于自己的服务器可以部署自己的网站,可以配置代理科学上网,了解国际前沿科技;一些高性能的服务器还可以完成一些云计算、深度学习模型的训练任务。 DigitalOcean 服务启动 注册 DigitalOcean 目前国内可以正常访问 "DigitalOcean 官网" ,通过 "我的推 阅读全文
posted @ 2019-03-02 13:48 LexLuc 阅读(2754) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示