The example of Docs layout.
centos7 yum 安装 redis 安装fedora的epel仓库 1yum install epel-release 安装redis数据库 1yum install redis 启动redis服务 1systemctl start redis 设置开机自启动 1systemctl enable redis redis 设置 1vim /etc/redis.conf 在没有密码的情况下,关闭保护模式: 把 protected-mode yes 改为 protected-mode no 可远程访问(取消绑定本地地址): 注释掉 bind 127.0.0.1 修改密码:requirepass 123456 然后重启 redis ...
scott用户被锁定的解决办法 原因:默认Oracle的scott不能登陆 解决办法 在本地终端中输入 sqlplus 登录 oracle user-name 输入:sys as sysdba password 输入:oracle 完成解锁操作 alter user scott account unlock; 更新密码 alter user scott identified by tiger; 退出后就可以用 scott / tiger 登录了。 操作示例如下 1[oracle@oracle ~]$ sqlplus 2 3SQL*Plus: Release 11.2.0.1.0 Production on Tue Sep 15...
Jenkins 的安装和设置 下载 下载地址:https://mirrors.tuna.tsinghua.edu.cn/jenkins https://www.freesion.com/article/5297907039/ 安装 https://updates.jenkins.io/update-center.json 替换为:
ZooKeeper 未授权访问漏洞处理 修复办法一(推荐):设置访问IP 1#### 登录 zookeeper: 2./zkCli.sh -server 10.1.150.34:2181 3 4#### 查看权限: 5getAcl / 6getAcl /dubbo 7getAcl /zookeeper 8getAcl /zookeeper/quota 9 10#### 设置权限: 11setAcl /...
angular6 开发时请求后台的跨域问题 在项目根目录创建文件 proxy.conf.json ,配置如下: 1{ 2 "/api": { 3 "target": "http://localhost:8080", 4 "secure": false, 5 "pathRewrite": { 6 "^/api": "" 7 } 8 } 9} 配置 anjular.json 找到项目根目录下的 angular.json 文件,在 projects节点->architect节点->serve节点->options节点下追加如下内容: “proxyConfig”: “proxy.conf.json” 示例如下: 1{ 2 // 省略其他代...
使用 koa 开发 web 项目 1# 初始化目录,创建 package.json 2npm init 3 4# 安装依赖 5npm install 6 7# 安装 koa 及其路由 模块 8npm i koa --save 9npm i koa-router --save 10# 处理 post 请求 11npm i koa-bodyparser --save 12 13npm install koa-body --save 14# 静态资源处理 15npm i koa-static --save 16 17# 安装supervisor模块,用于热部署 18npm install -g supervisor
参考文档: https://github.com/kubernetes-sigs/sig-storage-lib-external-provisioner https://github.com/kubernetes-sigs/nfs-subdir-external-provisioner https://github.com/kubernetes-sigs/nfs-subdir-external-provisioner/blob/master/charts/nfs-subdir-external-provisioner/README.md...
Docker 安装和配置 卸载较旧的 Docker 版本称为 docker 或 docker-engine sudo yum remove docker docker-client docker-client-latest docker-common docker-latest docker-latest-logrotate docker-logrotate docker-engine 添加docker仓库源地址(阿里云) sudo dnf install -y yum-utils sudo yum-config-manager –add-repo...
参考文档: https://blog.csdn.net/red_sky_blue/article/details/131107273 https://blog.csdn.net/HappyLearnerL/article/details/129080317 https://zahui.fan/posts/lq0y87n5/ https://blog.csdn.net/engchina/article/details/129776809 https://zhuanlan.zhihu.com/p/668795734...
centos7 nas 关闭selinux 编辑 /etc/selinux/config,将SELinux属性设置为Disabled,如下所示: 1[root@localhost ~]# vi /etc/selinux/config 2 3# This file controls the state of SELinux on the system. 4# SELINUX= can take one of these three values: 5# enforcing - SELinux security policy is enforced. 6# permissive - SELinux prints warnings...