摘要:
[root@bogon harbor]# vi /lib/systemd/system/harbor.service [Unit]Description=RedisAfter=network.target [Service]ExecStart= /usr/local/harbor/docker-co 阅读全文
摘要:
https://6xyun.cn/article/50 环境: 192.168.0.65 harbor 、docker 一、安装相关依赖 1、安装Docker Docker 使用离线版docker-ce-17.03.2.ce-1.el7.centos.x86_64.rpm下载地址:https://download.docker.com/linux/centos/7/x86_64/s... 阅读全文
摘要:
一、拿nginx来举例设置开机自启, 其他的服务都一样 1、添加开机自启文件 [root@bogon ~]# cat /lib/systemd/system/nginx.service #!/bin/bash[Unit]Description=nginxAfter=network.target [S 阅读全文
摘要:
http://www.dockone.io/article/1380https://www.cnblogs.com/lixiaolun/p/7449017.html 为docker设置代理 创建目录 创建文件/etc/systemd/system/docker.service.d/http-prox 阅读全文
摘要:
https://www.cnblogs.com/mchina/p/3812190.html 配置文件就加入下面这几句话: cache_mem 64 MB maximum_object_size 4 MB cache_dir ufs /var/spool/squid 100 16 256 access 阅读全文
摘要:
参考文档:https://blog.csdn.net/tuolaji8/article/details/73613859https://www.centos.bz/2017/10/centos-7%E6%90%AD%E5%BB%BA%E3%80%81%E9%85%8D%E7%BD%AE%E5%92% 阅读全文
摘要:
1、ssh: connect to host 172.16.0.142 port 22: Connection refused 解决: 在sshd 被连接端输入: [root@ecs-01 ~]# echo sshd: ALL >> /etc/hosts.allow [root@ecs-01 ~]# 阅读全文
摘要:
1、配置ssh免密登录 两台: 10-1-1-161 10-1-1-8 要实现10.1.1.161 免密登录 10.1.1.8 一键产生非交互的密钥对 [root@oracledb ~]# ssh-keygen -t rsa -f /root/.ssh/id_rsa -P "" Generating public/private rsa key pair. Enter file in... 阅读全文
摘要:
参照文档 https://blog.rj-bai.com/post/132.html 阅读全文
摘要:
jenkins提示反向代理设置有误 参照地址 https://www.cnblogs.com/yhleng/p/7594892.html 分析:是junkins的url地址填错了 解决: 系统管理-->系统设置里的Jenkins URL和端口没有写对,纠正就可以 Jenkins URL http:/ 阅读全文