DevOpSec DevOpSec
4年前
30min搭建kubernetes
masterandnode操作如下yum源修改//备份本地yum源mv/etc/yum.repos.d/CentOSBase.repo/etc/yum.repos.d/CentOSBase.repo_bak//获取阿里yum源配置wgetO/etc/yum.repos.d/CentOSBase.repohttp:
git常用命令
关注公众号QXF069克隆版本:gitclone path路径<directory 若默认则是文件的名字。查看远程版本库的地址  gitremotev|verbose将本地版本库和远程URL关联起来gitremoteaddtbranch<name(origin)<RepositoryU
Stella981 Stella981
4年前
Docker 安装 MariaDB
1dockersearchmariadb搜索mariadb镜像(非必须)2dockerpullmariadb下载docker镜像3dockerimages查看本地已有的所有镜像4mkdirp/data/mariadb/data建一个目录作为和容器的映射目录5dockerrunnamemariadb
Stella981 Stella981
4年前
Apache里的 MPM 调优比较详细
1、什么是MPM?MultiProcessingModule(MPM)implementsahybridmultiprocessmultithreadedserver。(多进程、多线程)2、有多少种MPM?大致有:preforkMPM、workerMPM、BeOSMPM、NetWareMPM、OS/2MPM、W
Wesley13 Wesley13
4年前
ubuntu 使用ssh登录github 避免提交时输入用户名和密码
原文链接: ubuntu使用ssh登录github避免提交时输入用户名和密码(https://my.oschina.net/ahaoboy/blog/3120961)ssh免密需要使用ssh方式clone仓库本地安装gitsudoaptgetupdatesudoaptgetinstallgit在用户主目录
Stella981 Stella981
4年前
FreeSWITCH测试拨号规则实例
现在用户电话已经注册到 FreeSWITCH, 用户可以发起呼叫测试。跳到 TestingtheexampleDialplan 部分。FreeSWITCH 支持通过本地声卡或者外部的耳机连接到 FreeSWITCH 。可以编译可选模块 PortAudiomodule(mod\_portaudio) 启用这个功能。访问http://wiki.fr
Stella981 Stella981
4年前
Spring Boot项目打包并部署到云服务器
SpringBoot项目打包并部署到云服务器一、云服务器的环境OS:CentOS7Jdk1.8SpringBoot自动集成Tomcat,不需要单独配置二、本地SpringBoot项目打包我使用的工具是IntelliJ
Wesley13 Wesley13
4年前
J.U.C体系进阶(五):juc
JavaJ.U.C体系进阶作者:Kerwin邮箱:806857264@qq.com说到做到,就是我的忍道!juccollections集合框架ConcurrentHashMapConcurrentHashMap是线程
Stella981 Stella981
4年前
GTID做mysql主从时报错
今天在做主从同步时,显示slave\_IO线程为NO,并且报如下错误Slave_IO_Running:No...Last_IO_Error:Fatalerror:TheslaveI/OthreadstopsbecausemasterandslavehaveequalMySQLserverUU
Wesley13 Wesley13
4年前
Java使用opencv进行二维码定位、矫正和裁剪
例子使用的版本为3.4.0,安装配置网上资料比较多。代码为本地测试时候的版本,所以会有点乱。importorg.opencv.core.;importorg.opencv.imgcodecs.Imgcodecs;importorg.opencv.imgproc.Imgproc;importorg.ope