tozh

导航

2021年5月20日 #

ubunt16 preseed 标准分区

摘要: d-i partman-auto/expert_recipe string \ root :: \ 1000 50 2000 ext3 \ $primary{ } $bootable{ } \ method{ format } format{ } \ use_filesystem{ } filesy 阅读全文

posted @ 2021-05-20 17:57 tozh 阅读(138) 评论(0) 推荐(0) 编辑

2021年1月25日 #

nacos搭建(阿里云的k8s平台上快速部署nacos)

摘要: https://github.com/nacos-group/nacos-k8s 1,将这个仓库下载到kubectl的主机上 git clone https://github.com/nacos-group/nacos-k8s 2,创建namespace(因为是测试想与k8s上其他业务区分开) ku 阅读全文

posted @ 2021-01-25 19:39 tozh 阅读(1506) 评论(0) 推荐(0) 编辑

2019年6月19日 #

交易数据异常检测

摘要: 1 from sklearn.linear_model import LogisticRegression 2 from sklearn.model_selection import KFold,cross_val_score 3 from sklearn.metrics import confusion_matrix,recall_score,classification_report ... 阅读全文

posted @ 2019-06-19 15:28 tozh 阅读(303) 评论(0) 推荐(0) 编辑

2019年3月14日 #

pam_systemd(su:session): Failed to create session: Activation of org.freedesktop.login1 timed out

摘要: systemctl restart systemd-logind 阅读全文

posted @ 2019-03-14 14:39 tozh 阅读(3977) 评论(0) 推荐(0) 编辑

2019年2月16日 #

macbook远程连接报错no matching cipher found

摘要: 在.ssh/目录下添加config文件 Host xxx.xxx.xxx.xxx Ciphers 3des-cbc KexAlgorithms +diffie-hellman-group1-sha1 user xxxHost xxx.xxx.xxx.xxx Port 50022 再次连接即可 参考: 阅读全文

posted @ 2019-02-16 15:56 tozh 阅读(1281) 评论(0) 推荐(0) 编辑

2019年1月31日 #

ssh远程执行命令

摘要: 有awk 时在$前需加转义符 如 awk '{print \$2}' 出现command not found 需先执行/etc/profile 借鉴:https://blog.csdn.net/kwame211/article/details/86292538 阅读全文

posted @ 2019-01-31 15:27 tozh 阅读(211) 评论(0) 推荐(0) 编辑

2019年1月30日 #

ssh_exchange_identification: read: Connection reset by peer

摘要: vim /etc/hosts.deny 删除ip 借鉴:https://www.sunnyos.com/article-show-81.html 阅读全文

posted @ 2019-01-30 17:06 tozh 阅读(497) 评论(0) 推荐(0) 编辑

虚机到网关不通(物理网络方面无问题)

摘要: 一个节点上的所有虚机都不通,均未获取到ip,最先开始以为是交换机侧问题,网络侧的人说网络都挺正常的。后来配置静态ip抓包抓包显示虚机到了qvo网卡后就没有包了,也就是说物理bond到网桥之间是有问题,后来重新添加物理bond到网桥就好了! ovs-vsctl del-port br-ex bond_ 阅读全文

posted @ 2019-01-30 15:08 tozh 阅读(493) 评论(0) 推荐(0) 编辑

2019年1月28日 #

创建虚机失败

摘要: 查看虚机状态显示 查看nova-compute日志也显示 后查看kvm模块是否挂载,测试qemu-img,qemu-kvm命令显示没有libiscsi.so.2这个文件 经查找发现libiscsi.so.2实际是存在的 在/etc/ld.so.conf.d/目录下面也有libiscsi.conf的文 阅读全文

posted @ 2019-01-28 15:50 tozh 阅读(377) 评论(0) 推荐(0) 编辑

2019年1月11日 #

centos7进单用户

摘要: 当重启linux系统,进入系统选择页面的时候,按e 在linux16那一行最后面添加 init=/bin/sh 按ctrl+c 挂载根分区,可读写 mount / -o rw, remount 阅读全文

posted @ 2019-01-11 10:42 tozh 阅读(127) 评论(0) 推荐(0) 编辑