当前位置:网站首页>Build a microservice cluster environment locally and learn to deploy automatically
Build a microservice cluster environment locally and learn to deploy automatically
2022-07-05 06:45:00 【Wei Yunshu】
problem : Set up a microservice cluster locally , Learn to automate deployment
Build a local virtual machine cluster
- Download... On the official website VirtualBox Software , Installed locally windows In machine
- download ubuntu20.04 Server Edition , stay VirtualBox Install the image in
- Copy the prepared system , Create other systems
- In the installed system , Generate static IP
- To configure windows,IP Be able to visit each other
Automated Deployment
gitlab: Local code management center
nexus maven: Local package management center
Docker Register: Local docker Management Center
Jeckins: Keep releasing tools
Corresponding problem record
remarks 1:VirtualBox An error message appears when opening :“VirtualBox Not for virtual computers Ubuntu Open a new task :The VM session was closed before any attempt to power it on”
resolvent : Open with administrator privileges VirtualBox
remarks 2:ubuntu20.024 Generate static IP Method
# ubuntu20.04 It's using netplan To manage network
cd /etc/netplan
# Copy the file before modifying
sudo cp 00-installer-config.yaml 00-installer-config.yaml.copy
Change the configuration file to
network:
ehernets:
ens33:
dhcp4: no
addresses: [192.168.1.100/24] # static state IP Address
gateway4: 192.168.1.1 # default gateway
version: 2
Make configuration effective
sudo netplan apply
But then there will be a problem , You can't access the Internet , Need configuration DNS Information
# Go to configuration file
vim /etc/systemd/resolved.conf
# Set as follows :
DNS=8.8.8.8
# restart
remarks 2:win10 Two computers under the LAN cannot ping Same as : Unable to access target host
https://blog.csdn.net/qq_35132089/article/details/114385192
remarks 3: stay ubuntu Install in nexus3, Its localhost:8081 Can't access ,nexus Can only be
边栏推荐
- 2022 winter vacation training game 5
- Cloud native related technology learning
- 将webApp或者H5页面打包成App
- June 29, 2022 daily
- Client use of Argo CD installation
- ADG5412FBRUZ-RL7应用 双电源模拟开关和多路复用器IC
- Chinese remainder theorem acwing 204 Strange way of expressing integers
- MPLS experiment
- LSA Type Explanation - detailed explanation of lsa-2 (type II LSA network LSA) and lsa-3 (type III LSA network Summary LSA)
- 6-4 search by serial number of linked list
猜你喜欢
4. Oracle redo log file management
Dameng database all
20220213-CTF MISC-a_ good_ Idea (use of stegsolve tool) -2017_ Dating_ in_ Singapore
Paper reading report
Marvell 88E1515 PHY loopback模式测试
The problem of Chinese garbled code in the vscode output box can be solved once for life
'mongoexport 'is not an internal or external command, nor is it a runnable program or batch file.
how to understand the “model independent.“
. Net core stepping on the pit practice
Configuration method and configuration file of SolidWorks GB profile library
随机推荐
TCP's understanding of three handshakes and four waves
5.Oracle-錶空間
Vant weave swipecell sets multiple buttons
MySQL (UDF authorization)
2048项目实现
2022 winter vacation training game 5
The route of wechat applet jumps again without triggering onload
Adg5412fbruz-rl7 applies dual power analog switch and multiplexer IC
vsCode创建自己的代码模板
La redirection de l'applet Wechat ne déclenche pas onload
微信小程序路由再次跳轉不觸發onload
[wustctf2020] plain_ WP
在新线程中使用Handler
2048 project realization
Qt项目中的日志库log4qt使用
How to answer when you encounter a jet on CSDN?
Genesis builds a new generation of credit system
Preemption of CFS scheduling
Stack acwing 3302 Expression evaluation
Game theory acwing 894 Split Nim game