2019年11月4日

cm_api

摘要: cm API:https://github.com/cloudera/cm_api/tree/master/python/examples/auto-deploy#看集群有几个clustercurl -u admin:opaytest99 'http://localhost:7180/api/v1/ 阅读全文

posted @ 2019-11-04 21:40 锋锋2019 阅读(369) 评论(0) 推荐(0) 编辑

SSH代理

摘要: 参考: http://www.dkys.org/archives/1111.html SSH的-L与-D代理 SSH有三种代理参数-L,-D,-R。-R代理不是本次重点,有兴趣的读者可以自行查阅man手册。 -L参数会在本地监听一个端口,转发数据到远程主机上。ssh -NL 3306:localho 阅读全文

posted @ 2019-11-04 17:54 锋锋2019 阅读(1132) 评论(0) 推荐(0) 编辑

mysql的root密码忘了

摘要: 忘记密码:https://www.cnblogs.com/ryanzheng/p/9348723.htmlmy.cnf的[mysqld]下加:skip-grant-tables重启 mysql -urootupdate user set authentication_string = NULL wh 阅读全文

posted @ 2019-11-04 15:31 锋锋2019 阅读(103) 评论(0) 推荐(0) 编辑

导航