随笔分类 - 服务器
摘要:Gogs简介 Gogs是一款极易搭建的自助Git服务,使用Go语言开发,只要Go语言支持的平台它都支持,包括Linux、Mac OS X、Windows以及ARM平台。Gogs对系统硬件要求极低,你甚至可以在树莓派上搭建它 项目地址:https://github.com/gogs/gogs 1、安装
阅读全文
摘要:1、 初始化centOS7 curl http://pigx.vip/os7init.sh | sh -s 主机名 源码 #!/bin/bash # init centos7 ./centos7-init.sh 主机名 # 检查是否为root用户,脚本必须在root权限下运行 if [[ "$(wh
阅读全文
摘要:1、Docker常用命令 启动docker systemctl start docker 查看docker状态: systemctl status docker 关闭docekr systemctl stop docker 开机自启docker systemctl enable docker 搜索容
阅读全文
摘要:1.1 docker下载 1.1.1 介绍 https://www.docker.com/ 官网地址 https://docs.docker.com/engine/install/centos/ 安装文档 1.1.2 卸载旧版本 较旧的 Docker 版本称为 docker 或 docker-eng
阅读全文
摘要:下载&安装Vagrant https://app.vagrantup.com/boxes/search Vagrant官方镜像库 https://www.vagrantup.com/downloads Vagrant下载 打开Windows cmd窗口,运行 Vagrent init centos/
阅读全文