07 2021 档案

kafka 修改jvm内存
摘要:# cat kafka-server-start.sh export KAFKA_HEAP_OPTS="-Xmx6G -Xms6G" 1 #!/bin/bash 2 # Licensed to the Apache Software Foundation (ASF) under one or mor 阅读全文

posted @ 2021-07-30 09:55 onlyxu 阅读(821) 评论(0) 推荐(0)

python实现简单的http接口
摘要:python3.6实现http接口服务,给别人调用,支持传参 Tornado是一个Python web框架和异步网络库 二、Tornado的get接口代码实现pip install tornado import tornado.ioloop import tornado.web class Main 阅读全文

posted @ 2021-07-21 15:12 onlyxu

git清理远端仓库已经删除的本地分支
摘要:git remote prune origin删除所有远端已经删除本地仍然存在的分支 阅读全文

posted @ 2021-07-05 15:37 onlyxu 阅读(64) 评论(0) 推荐(0)

ubuntu内核降版本
摘要:实操的系统版本为:Ubuntu 18.04.3 LTS \n \l 查看当前可用的内核版本 1 # grep menuentry /boot/grub/grub.cfg 修改grub,指定内核版本 1 # vim /etc/default/grub GRUB_DEFAULT="Advanced op 阅读全文

posted @ 2021-07-02 16:54 onlyxu 阅读(856) 评论(0) 推荐(0)

导航