摘要: 1、安装python3.6.5依赖环境 注:python3.7.4需要安装:yum install libffi-devel -y 2、下载并安装python3.6.5 3、创建python3软链 4、解决yum不可用问题 5、更换pip源 [global]timeout = 10 index-ur 阅读全文
posted @ 2019-08-28 11:37 hougang 阅读(916) 评论(0) 推荐(0) 编辑
摘要: 一、gitlab安装 环境:centos 7 x64 1、关闭防火墙 2、禁用selinux 3、安装环境依赖 4、下载仓库文件 5、启动邮件服务 6、安装gitlab-ce 7、配置ssl 8、配置gitlab.rb 9、配置nginx 10、运维工程师使用 a、新建项目 b、用户维护,创建reg 阅读全文
posted @ 2019-08-27 12:38 hougang 阅读(473) 评论(0) 推荐(0) 编辑
摘要: html <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Title</title> <script src="./node_modules/vue/dist/vue.js"></script> <!--ht 阅读全文
posted @ 2019-08-21 19:08 hougang 阅读(129) 评论(0) 推荐(0) 编辑
摘要: 一、引入 开发环境:<script src="https://cdn.jsdelivr.net/npm/vue"></script> 生产环境:<script src="https://cdn.jsdelivr.net/npm/vue@2.6.10/dist/vue.js"></script> 二、 阅读全文
posted @ 2019-08-17 22:00 hougang 阅读(212) 评论(0) 推荐(0) 编辑
摘要: 1、下载镜像 curl -sSL https://get.daocloud.io/daotools/set_mirror.sh | sh -s http://f1361db2.m.daocloud.io 加速器(https://www.daocloud.io/mirror) systemctl re 阅读全文
posted @ 2019-02-24 22:04 hougang 阅读(837) 评论(0) 推荐(0) 编辑
摘要: centos7安装pip 安装pip yum -y install epel-release yum -y install python2-pip 安装virtualenvwrapper pip install virtualenvwrapper 启动virtualenvwrapper source 阅读全文
posted @ 2019-02-22 14:36 hougang 阅读(1737) 评论(0) 推荐(0) 编辑
摘要: centos7官网安装gitlab 配置国内镜像安装源 配置ssl vim /etc/gitlab/gitlab.rb vim /var/opt/gitlab/nginx/conf/gitlab-httpd.conf 阅读全文
posted @ 2019-02-20 22:19 hougang 阅读(137) 评论(0) 推荐(0) 编辑
摘要: 一、安装kvm 查看CPU是否支持虚拟化 grep -E 'svm|vmx' /proc/cpuinfo - vmx is for Intel processors - svm is for AMD processors 安装kvm相关软件并启动服务 yum install qemu-kvm lib 阅读全文
posted @ 2019-02-15 10:50 hougang 阅读(854) 评论(0) 推荐(0) 编辑
摘要: 官网文档:https://docs.docker.com/install/linux/docker-ce/centos/ 1、Uninstall old versions $ sudo yum remove docker \ docker-client \ docker-client-latest 阅读全文
posted @ 2019-01-22 17:35 hougang 阅读(176) 评论(0) 推荐(0) 编辑
摘要: 一、安装系统 1、下载(Minimal ISO)http://isoredirect.centos.org/centos/7/isos/x86_64/CentOS-7-x86_64-Minimal-1810.iso 2、使用vmware进行安装(略) 3、查看系统版本:cat /etc/redhat 阅读全文
posted @ 2019-01-08 09:38 hougang 阅读(495) 评论(0) 推荐(0) 编辑