摘要: 一 、已有仓库克隆 1、打开git 输入git clone "gitee仓库地址" 2、输入用户名密码 3、常用命令 git add . 保存 , git commit -m '说明' ,git push 提交到远程服务器,git pull 拉取 二、本地文件与远程仓库联结 1 git remote 阅读全文
posted @ 2021-11-30 09:47 MAUI程序员 阅读(59) 评论(0) 推荐(0)
摘要: 一、下载镜像 docker pull nginx 二、先以简单的方式运行镜像 docker run --name nginx -p 80:80 -d nginx 三、复制相关配置文件至宿主机 docker cp nginx:/etc/nginx/nginx.conf /root/www/nginx 阅读全文
posted @ 2021-10-01 21:25 MAUI程序员 阅读(364) 评论(0) 推荐(0)
摘要: 1、更新系统 yum update 2、卸载旧版本 sudo yum remove docker \ docker-client \ docker-client-latest \ docker-common \ docker-latest \ docker-latest-logrotate \ do 阅读全文
posted @ 2021-09-29 14:56 MAUI程序员 阅读(62) 评论(0) 推荐(0)
摘要: 转自:https://www.cnblogs.com/418836844qqcom/p/11692237.html 1.安装mysql5.7 docker镜像: docker pull mysql:5.7 2.查看镜像库: docker images 3. 在本地创建mysql的映射目录 mkdir 阅读全文
posted @ 2021-09-29 14:54 MAUI程序员 阅读(384) 评论(0) 推荐(0)
摘要: redis 一主两从三哨兵 一、服务器配置 3台centos7 192.168.1.251 主机 192.168.1.252 从机 192.168.1.254 从机 二、安装redis 1、https://redis.io/download下载地址 3台机器上分别安装redis cd /usr/lo 阅读全文
posted @ 2021-09-10 13:42 MAUI程序员 阅读(707) 评论(1) 推荐(0)
摘要: 转自:https://www.cnblogs.com/nhdlb/p/14111792.html 1)首先访问 docker-compose 的 GitHub 版本发布页面 https://github.com/docker/compose/releases 2)由于服务器是 CentOS 系统,则 阅读全文
posted @ 2021-09-08 14:16 MAUI程序员 阅读(154) 评论(0) 推荐(0)
摘要: 1、复制的虚拟机启动前一定要先生成一下mac地址!!! 2、开机后设置网络IP cd /ect/sysconfig/network-scripts vi ifcfg-ens33 TYPE=EthernetPROXY_METHOD=noneBROWSER_ONLY=noBOOTPROTO=static 阅读全文
posted @ 2021-09-08 11:23 MAUI程序员 阅读(191) 评论(0) 推荐(0)
摘要: Centos安装consul 一、consul单机安装 1、安装 1.下载并解压consul cd /opt/ mkdir consul chmod 777 consul cd consul wget https://releases.hashicorp.com/consul/1.3.0/consu 阅读全文
posted @ 2021-08-19 11:00 MAUI程序员 阅读(751) 评论(0) 推荐(0)
摘要: 在此我们以仿宋字体为例 1.C:\Windows\Fonts 这个目录下的simfang.ttf(仿宋字体)文件上传到root yum install -y fontconfig mkfontscale #在centos上和ubuntu上安装字体方法都是一样的,我们只需要进行相关的操作即可。 #把s 阅读全文
posted @ 2021-08-18 17:01 MAUI程序员 阅读(960) 评论(0) 推荐(0)
摘要: 1.vs2019 扩展-->管理扩展 安装gitee插件 2.设置vs 2019 工具-->选项-->源代码管理-->插件选择 3.右键解决方案 4.在码云上新建仓库,输入gitee代码仓库地址 点击创建推送 5.输入gitee用户名及密码 阅读全文
posted @ 2021-08-17 15:38 MAUI程序员 阅读(1051) 评论(0) 推荐(1)