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
Wesley13 Wesley13
3年前
Go文档支持
Go文档查看帮助很方便,主要可以通过以下两种方式查看第一种,Go本地运行(参考:Go语言安装)起来后,References下面:PackageGo标准函数库说明。CommandGo工具说明。LanguageSpecificationGo官
Wesley13 Wesley13
3年前
MAC 安装 iterm2,支持 sz rz,外加好看主题
(1)下载iterm2https://iterm2.com/downloads.html(2)MAC本地安装lrzszbrewinstalllrzsz(3)下载iterm2zmodem https://github.com/aikuyun/iterm2zmodem(4)将sh文件,拷贝到/usr/l
Stella981 Stella981
3年前
Docker 安装 MariaDB
1dockersearchmariadb搜索mariadb镜像(非必须)2dockerpullmariadb下载docker镜像3dockerimages查看本地已有的所有镜像4mkdirp/data/mariadb/data建一个目录作为和容器的映射目录5dockerrunnamemariadb
Stella981 Stella981
3年前
Ajax跨域问题和解决
一般,在本地通过ajax访问其他服务器上的文件,会出现如下提示!(https://static.oschina.net/uploads/img/202006/07203858_Q9wh.png)AccesstoXMLHttpRequestat'http://courage.cqscrb.top/partTime/menu/getAllM
Wesley13 Wesley13
3年前
ubuntu 使用ssh登录github 避免提交时输入用户名和密码
原文链接: ubuntu使用ssh登录github避免提交时输入用户名和密码(https://my.oschina.net/ahaoboy/blog/3120961)ssh免密需要使用ssh方式clone仓库本地安装gitsudoaptgetupdatesudoaptgetinstallgit在用户主目录
Stella981 Stella981
3年前
FreeSWITCH测试拨号规则实例
现在用户电话已经注册到 FreeSWITCH, 用户可以发起呼叫测试。跳到 TestingtheexampleDialplan 部分。FreeSWITCH 支持通过本地声卡或者外部的耳机连接到 FreeSWITCH 。可以编译可选模块 PortAudiomodule(mod\_portaudio) 启用这个功能。访问http://wiki.fr
Stella981 Stella981
3年前
Spring Boot项目打包并部署到云服务器
SpringBoot项目打包并部署到云服务器一、云服务器的环境OS:CentOS7Jdk1.8SpringBoot自动集成Tomcat,不需要单独配置二、本地SpringBoot项目打包我使用的工具是IntelliJ
Wesley13 Wesley13
3年前
Java使用opencv进行二维码定位、矫正和裁剪
例子使用的版本为3.4.0,安装配置网上资料比较多。代码为本地测试时候的版本,所以会有点乱。importorg.opencv.core.;importorg.opencv.imgcodecs.Imgcodecs;importorg.opencv.imgproc.Imgproc;importorg.ope