gitlab安装

gitLab安装

1. 配置系统防火墙,把HTTP和SSH端口开放

1
2
3
4
5
[root@gitlab ~]# /etc/init.d/iptables stop
[root@gitlab ~]# yum install curl openssh-server postfix cronie
[root@gitlab ~]# service postfix start
[root@gitlab ~]# chkconfig postfix on
[root@gitlab ~]# lokkit -s http -s ssh

阅读更多

gitLab_Runner

gitLab 之 Runner

阅读更多

docker_redis

docker pull redis

阅读更多

docker寄存服务

docker寄存服务(registry)

阅读更多

docker dockerFile

dockerFile

利用 Dockerfile,使创建镜像的过程全部自动化。

阅读更多

docker容器运行apt-get update失败Temporary failure resolving

Ubuntu中docker容器运行apt-get update失败Temporary failure resolving

1
sudo systemctl restart docker

阅读更多

docker IPv4 forwarding is disabled

centos 7 docker 启动了一个web服务 但是启动时 报

阅读更多

linux iptables

解决centos7中使用service iptables stop 显示not loaded

centos从7开始默认用的是firewalld,这个是基于iptables的,虽然有iptables的核心,
但是iptables的服务是没安装的。所以你只要停止firewalld服务即可:
sudo systemctl stop firewalld.service && sudo systemctl disable firewalld.service

阅读更多

docker基本命令

sonar为容器名称

1
docker inspect sonar

阅读更多

linux常用命令

######## linux 常用命令 ######
网络断了启动网络 service network start
kill -9 ps -ef|grep firefox|grep -v grep|awk '{print $2}'

阅读更多