Toggle navigation
主页
文章
ChatGPT
在线编程
pygame-ide-online
关于
登录
注册
文章
用户
相关用户
查看全部>
兜兜
文章 206
勒布朗陈佩
...
斯2
文章 1
海婧忆豚
文章 3
admin
...
istrator
文章 1
大王山
文章 2
不想差那么
...
一点
文章 0
EllJu
...
rb
文章 0
32325
...
23532
文章 0
文章类别:
Web开发 (0)
云计算 (0)
大数据 (5)
区块链 (0)
安全 (4)
数据库 (9)
服务器 (9)
架构 (1)
游戏开发 (0)
物联网 (0)
移动开发 (0)
系统 (7)
运维 (38)
编程语言 (10)
网络 (4)
计算机基础 (0)
软件研发 (0)
其他 (0)
原创
H3C-S5130交换机常用操作
兜兜
2021-11-30 16:34:06
2022-01-25 09:25:41
H3C
交换机
#### 创建ssh用户 ```sh local-user abc password simple 123456 authorization-attribute user-role 10 undo authorization-attribute user-role network-operator authorization-attribute user-role network-admin service-type ssh ``` #### 开启ssh ```sh ssh server enable ``` #### 配置ssh ```sh user-interface vty 9 15 authentication-mode scheme user-role level-15 user-role network-admin protocol inbound ssh ``` #### 配置ip地址 ```sh interface vlan-interface 1 undo ip address #删除ip地址 ip address 172.16.14.254 255.255.255.0 #配置静态ip ``` #### 配置dhcp ```sh interface vlan-interface 1 ipaddress dhcp-alloc #管理VLAN接口通过DHCP方式获取IP地址 undoip address dhcp-alloc ``` #### 配置镜像端口 `g1/0/16的接口加入到镜像组,g1/0/3为监控口` ```sh mirroring-group 1 local mirroring-group 1 mirroring-port gigabitethernet 1/0/16 both mirroring-group 1 monitor-port gigabitethernet 1/0/3 display mirroring-group all ```
阅读 4228
评论 0
收藏 0
阅读 4228
评论 0
收藏 0
原创
frp内网穿透神器
兜兜
2021-11-23 23:13:52
2021-11-23 23:20:51
frp
内网穿透
[下载frp](https://github.com/fatedier/frp) #### 服务端配置(有公网ip的服务器) frps.ini ```sh [common] bind_port = 10000 ``` 启动 ```sh /opt/frp/frps -c /opt/frp/frps.ini ``` #### 客户端配置 frpc.ini ```sh [common] server_addr = x.x.x.x server_port = 10000 [ssh] type = tcp local_ip = 127.0.0.1 #本地ip local_port = 8080 #本地服务端口 remote_port = 6060 #服务器提供转发的端口 ``` 启动 ```sh /opt/frp/frpc -c /opt/frp/frpc.ini ```
阅读 2012
评论 0
收藏 0
阅读 2012
评论 0
收藏 0
原创
CDH集群关闭kerberos
兜兜
2021-11-15 15:04:03
2022-01-25 09:27:04
kerberos
CDH
#### 关闭zookeeper参数 ```sh enableSecurity (Enable Kerberos Authentication) False (uncheck) ``` #### 关闭hbase参数 ```sh hadoop.security.authentication Simple hadoop.security.authorization False (uncheck) dfs.datanode.address from 1004 (for Kerberos) to 50010 (default) dfs.datanode.http.address from 1006 (for Kerberos) to 50075 (default) Data Directory Permissions from 700 to 755 ``` #### 关闭kafka参数 ```sh kerberos.auth.enable False ``` #### 关闭yarn参数 ```sh yarn.nodemanager.linux-container-executor.nonsecure-mode.local-user yarn yarn.nodemanager.linux-container-executor.nonsecure-mode.limit-users false ``` #### 重启相关服务 #### 问题 `问题一、failure controller服务报code:NOAUTH for path /hadoop-ha/nameservice1/ActiveStandbyElectorLock` 分析:zookeeper查看getAcl /hadoop-ha,failure controller节点无权限访问读取该节点 解决方法:添加zookeeper权限检查参数、删除rmr /hadoop-ha,初始化故障转移Znode ```sh 1.添加-Dzookeeper.skipACL=yes配置项(打开zookeeper配置,搜索java关键字) 2.重启zookeeper服务 3.登录zkcli删除zkfc znode:rmr /hadoop-ha/nameservice-test1 4.删除-Dzookeeper.skipACL=yes配置项 5.重启zookeeper及相应服务 6.初始化故障转移Znode ```
阅读 2273
评论 0
收藏 0
阅读 2273
评论 0
收藏 0
第 1 页 / 共 29 页
下一页
页
第 1 页 / 共 29 页
下一页
页