title: 测试导入md
tags: test
1 定义环境
Windows下写代码 ,centos下编译测试,推送到rancher上部署
2 Windows 开发花镜
3 centos开发环境
3.1 服务端器 信息
ip: 10.192.84.219
ssh端口: 2343
版本:CentOS Linux release 7.6.1810 最小化安装
内核:3.10.0-957.10.1.el7.x86_64
内存:64G
硬盘:200G
3.2 安装包
https://dl.google.com/go/go1.16.7.linux-amd64.tar.gz
将安装包放入 /usr/local 目录下
添加环境变量
vim /etc/profile
export GOROOT=/usr/local/go
export GOPATH=/home/hanzhenyong/go
export PATH=$PATH:$GOROOT/bin:$GOPATH/bin
export GOPROXY=http://af.hikvision.com.cn/artifactory/api/go/go-pbg
export GO111MODULE=on
export GOSUMDB=off
source /etc/profile
nameserver 10.1.26.188
nameserver 10.1.7.98
3.3 samba
yum -y install samba samba-client
今日人脸无数据,
Git 全局设置:
git config --global user.name "2013"
git config --global user.email "734771963@qq.com"
创建 git 仓库:
mkdir git
cd git
git init
touch README.md
git add README.md
git commit -m "first commit"
git remote add origin https://gitee.com/hzy2013/git.git
git push -u origin master
已有仓库?
cd existing_git_repo
git remote add origin https://gitee.com/hzy2013/git.git
git push -u origin master
ALTER TABLE blog.blog_article ADD image_url varchar(100) NULL COMMENT '相对url';
ALTER TABLE blog.blog_article ADD image_save_url varchar(100) NULL COMMENT '绝对url';