惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

酷 壳 – CoolShell
酷 壳 – CoolShell
T
Threatpost
Latest news
Latest news
N
News | PayPal Newsroom
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
Help Net Security
Help Net Security
D
Darknet – Hacking Tools, Hacker News & Cyber Security
AI
AI
Simon Willison's Weblog
Simon Willison's Weblog
TaoSecurity Blog
TaoSecurity Blog
The Last Watchdog
The Last Watchdog
L
LINUX DO - 热门话题
Google DeepMind News
Google DeepMind News
T
Threat Research - Cisco Blogs
O
OpenAI News
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
T
The Exploit Database - CXSecurity.com
NISL@THU
NISL@THU
Application and Cybersecurity Blog
Application and Cybersecurity Blog
S
Securelist
小众软件
小众软件
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
Martin Fowler
Martin Fowler
S
SegmentFault 最新的问题
Cisco Talos Blog
Cisco Talos Blog
云风的 BLOG
云风的 BLOG
AWS News Blog
AWS News Blog
GbyAI
GbyAI
N
News and Events Feed by Topic
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
美团技术团队
Engineering at Meta
Engineering at Meta
A
About on SuperTechFans
博客园 - 三生石上(FineUI控件)
S
Schneier on Security
博客园 - 聂微东
V2EX - 技术
V2EX - 技术
T
Troy Hunt's Blog
SecWiki News
SecWiki News
S
Secure Thoughts
B
Blog RSS Feed
Hugging Face - Blog
Hugging Face - Blog
WordPress大学
WordPress大学
腾讯CDC
H
Heimdal Security Blog
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
Apple Machine Learning Research
Apple Machine Learning Research
月光博客
月光博客
www.infosecurity-magazine.com
www.infosecurity-magazine.com
P
Privacy International News Feed

博客园 - kuailewangzi1212

excel 密码破解 mysql 中文编码 k8s删除node k8s 卸载 kubernetes 集群master变更ip地址 docker常用指令 Hype-v创建服务器实例 通过sqlserver用户操作远程服务器 maven 配置 intellj idea 常用快捷键 sqlserver 锁表进程及执行的SQL 导入50G文件到mysql,然后再倒入sqlserver mac svn 命令 docker常见问题 docker部署mysql jira+mysql+破解+中文+compose docker mysql创建用户并手授权 统计数据库表容量情况
swarm 服务器安装
kuailewangzi1212 · 2019-04-15 · via 博客园 - kuailewangzi1212

apt install docker.io
---------------------
--配置加速器、私有仓库地址
---------------------
mkdir -p /etc/docker
tee /etc/docker/daemon.json <<-'EOF'
{
"registry-mirrors": ["https://plapxez2.mirror.aliyuncs.com"],
"insecure-registries":["docker.codedev.top:88"]
}
EOF
systemctl daemon-reload
systemctl restart docker
ufw disable

mkdir -p /home/deploy/log
mkdir -p /home/deploy/upload/html
mkdir -p /home/deploy/upload/img
mkdir -p /home/conf/ng/cert

--------------------上传证书文件及ng配置信息
sshpass -p "TEL.lz@189" scp -P 6025 /Users/mark/work/git/sgmw/svc/docker/ng/nginx.conf root@192.168.0.77:/home/conf/ng/nginx.conf \
sshpass -p "TEL.lz@189" scp -P 6025 /Users/mark/work/git/sgmw/svc/docker/ng/default.conf root@192.168.0.77:/home/conf/ng/default.conf \
sshpass -p "TEL.lz@189" scp -P 6025 /Users/mark/work/git/sgmw/svc/docker/ng/cert/test.sgmwsales.com_chain.crt root@192.168.0.77:/home/conf/ng/cert/test.sgmwsales.com_chain.crt \
sshpass -p "TEL.lz@189" scp -P 6025 /Users/mark/work/git/sgmw/svc/docker/ng/cert/test.sgmwsales.com_private.key root@192.168.0.77:/home/conf/ng/cert/test.sgmwsales.com_private.key \
-------------------------
--Manager、worker上分别运行,谨慎执行
-------------------------
docker swarm init
docker network create -d overlay wl-network

------------
--防火墙
------------
ufw disable