会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
gisliuliang
没有整理与归纳的知识,一文不值! 邮箱:gisliuliang@qq.com
新随笔
管理
2024年1月2日
word 两端对齐 右边有空余 解决
摘要: 问题复现: 解决: 修改样式、格式、段落、取消勾选“如果定义了文档网格,则自动调整右缩进”
阅读全文
posted @ 2024-01-02 10:51 gisliuliang
阅读(159)
评论(0)
推荐(0)
2023年10月8日
Kubernetes 部署 Python Flask 项目
摘要: 1、编写源代码及Dockerfile test.py from flask import Flask import socket app = Flask(__name__) @app.route('/') def hello(): return socket.gethostbyname(socket
阅读全文
posted @ 2023-10-08 16:15 gisliuliang
阅读(639)
评论(0)
推荐(0)
2023年5月5日
MDPI LaTeX 追踪修改
摘要: latexdiff --append-context2cmd="abstract" --exclude-textcmd="section,subsection" original-manuscript.tex clean_manuscript.tex > revised_manus cript.te
阅读全文
posted @ 2023-05-05 11:29 gisliuliang
阅读(132)
评论(0)
推荐(0)
2023年1月18日
搭建内网Docker镜像仓库
摘要: 需求 在局域网内,在一台机器上搭建镜像仓库,其他节点能够通过内网镜像仓库pull、push等 实操步骤 仓库节点IP:192.168.83.141 仓库节点上创建镜像存放目录:mkdir -p /data/registry 设置仓库节点上Docker镜像加速:Aliyun pull registry
阅读全文
posted @ 2023-01-18 18:47 gisliuliang
阅读(1524)
评论(0)
推荐(0)
2023年1月16日
基于sealos 4.1.4 搭建Kubernetes集群
摘要: 软件版本 操作系统:CentOS 7.9 minimal, 不要使用root用户进行安装(两天的教训) Sealos: 4.1.4 Kubernetes: 1.25.5 步骤 1、创建一个虚拟机作为模板,要求核心数大于等于2; 2、模板机上确定net-tools、vim等安装到位; 3、克隆n台模板
阅读全文
posted @ 2023-01-16 15:11 gisliuliang
阅读(501)
评论(1)
推荐(0)
2022年11月1日
Windows Docker 安装Mariadb
摘要: 参考:https://blog.csdn.net/qq_44732146/article/details/124794249 新建一个挂载目录 拉镜像 docker pull mariadb:10.4.10 启动实例 docker run --name mariadb -p 3306:3306 -e
阅读全文
posted @ 2022-11-01 22:41 gisliuliang
阅读(417)
评论(0)
推荐(0)
2022年10月26日
Docker部署Springboot WebAPI项目
摘要: 确定docker安装好 Client: Version: 20.10.12 API version: 1.41 Go version: go1.17.3 Git commit: 20.10.12-0ubuntu4 Built: Mon Mar 7 17:10:06 2022 OS/Arch: lin
阅读全文
posted @ 2022-10-26 16:25 gisliuliang
阅读(78)
评论(0)
推荐(0)
2022年9月11日
Hadoop+Python测试wordcount
摘要: 1、将测试数据上传到HDFS目录下,这里放到根目录下:/test.txt 2、在master节点中某个目录下:创建mapper、reducer以及run.sh mapper.py import sys for line in sys.stdin: line = line.strip() words
阅读全文
posted @ 2022-09-11 11:13 gisliuliang
阅读(74)
评论(0)
推荐(0)
2022年9月10日
Hadoop Bug解决记录
摘要: 问题:hdfs.util.HdfsError: Permission denied: user=dr.who, access=WRITE, inode="/":root:supergroup:drwxr-xr-x 解决:进入master中,hadoop fs -chmod -R 777 /
阅读全文
posted @ 2022-09-10 15:11 gisliuliang
阅读(34)
评论(0)
推荐(0)
Ubuntu命令速查
摘要: 查看ubuntu版本:cat /etc/issue 切换为root:sudo -i 内存查看:free -h,CPU查看:lscpu,磁盘查看:fdisk -l ssh状态查看:sudo ps –e |grep ssh 文件传输:scp /home/liu/xx.txt root@192.168.1
阅读全文
posted @ 2022-09-10 09:53 gisliuliang
阅读(111)
评论(0)
推荐(0)
下一页