当前位置:网站首页>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
边栏推荐
- Speedtree01 generator properties
- [moviepy] unable to find a solution for exe
- VLAN experiment
- Redis-02.Redis命令
- 1. Create Oracle database manually
- Financial risk control practice -- feature derivation based on time series
- Technology blog learning website
- Interval problem acwing 906 Interval grouping
- cgroup_ memcg
- Getting started with typescript
猜你喜欢
The “mode“ argument must be integer. Received an instance of Object
Rehabilitation type force deduction brush question notes D2
7. Oracle table structure
Pycahrm reports an error: indentation error: unindent does not match any outer indentation
What is linting
Knapsack problem acwing 9 Group knapsack problem
AE tutorial - path growth animation
安装OpenCV--conda建立虚拟环境并在jupyter中添加此环境的kernel
Interval problem acwing 906 Interval grouping
2.Oracle-数据文件的添加及管理
随机推荐
H5 module suspension drag effect
Redis-02. Redis command
Game theory acwing 891 Nim games
How to correctly ask questions in CSDN Q & A
7. Oracle table structure
2022-5-the fourth week daily
Huawei bracelet, how to add medicine reminder?
Mutual transformation between two-dimensional array and sparse array (sparse matrix)
LSA Type Explanation - lsa-1 [type 1 LSA - router LSA] detailed explanation
Database mysql all
2022 winter vacation training game 5
Vant Weapp SwipeCell設置多個按鈕
Game theory acwing 894 Split Nim game
‘mongoexport‘ 不是内部或外部命令,也不是可运行的程序 或批处理文件。
Relevant information of National Natural Science Foundation of China
LSA Type Explanation - lsa-5 (type 5 LSA - autonomous system external LSA) and lsa-4 (type 4 LSA - ASBR summary LSA) explanation
Use ffmpeg to rotate, flip up and down, and flip horizontally
Suppose a bank's ATM machine, which allows users to deposit and withdraw money. Now there is 200 yuan in an account, and both user a and user B have the right to deposit and withdraw money from this a
Game theory acwing 892 Steps Nim game
What is linting