当前位置:网站首页>Multipass Chinese document - remote use of multipass
Multipass Chinese document - remote use of multipass
2022-06-26 04:41:00 【But the teacher】
General catalogue ( To be translated and perfected )
1. overview
2. course
3. Directions for use
3.1 install Multipass
3.1.1 be based on Linux
3.1.2 be based on macOS
3.1.3 be based on Windows
3.2 Manage instances
3.2.1 Create examples
3.2.2 Modify instance
3.2.3 Using examples
3.2.4 Use the instance command alias
3.2.5 Share data with instances
3.2.6 Remove instance
3.3 management Multipass
3.3.1 Set the drive
3.3.2 Authorize the client to use Multipass service
3.3.3 Remote use Multipass
3.3.4 Improve mount performance
3.3.5 Use Packer pack Multipass Mirror image
3.3.6 Set image interface
3.3.7 Use different macOS terminal
3.4 Troubleshoot problems
3.4.1 Connection log
3.4.2 Network troubleshooting
How to use... Remotely Multipass
This document teaches how to use... Remotely Multipass. This could be useful , for example , If you want to put your VM Running on more powerful machines .
Content :
take Multipass Exposure to the Internet
When starting the process , Pass on --address go in , take Multipass Exposure to your network :
$ multipass --help
#...
--address <server_name:port> specifies which address to
use for the multipassd
service; a socket can be
specified using
unix:<socket_file>
The client can receive MULTIPASS_SERVER_ADDRESS environment variable , To override the default :
https://github.com/canonical/multipass/blob/a1ea65fb63184fc778e277d3c9e2920ef2a9fb3d/src/client/common/client_common.cpp#L171-L173
$ MULTIPASS_SERVER_ADDRESS=<hostname>:51001 multipass find
Image Aliases Version Description
...
21.10 impish 20220118 Ubuntu 21.10
️ Warning :
- Because it is run by authorized users , It is recommended to use Multipass 1.9.0, use client authentication( Client Authorization ), So you need to explicitly allow clients to connect using shared passphrases . Another alternative is , adopt
multipass set local.privileged-mounts=falseUnmount features together . - Some orders (
shell,exec,mount) Today, it depends on the direct network connection between the client and the instance , To make these available , You need to make sure that the routing between them is available .
Modify process settings
Linux
You can execute systemctl edit snap.multipass.multipassd.service, Replace the contents in the following lines ( take <hostname> Replace with the one you need to monitor hostname< Host name > or IP):
[Service]
ExecStart=
ExecStart=/usr/bin/snap run multipass.multipassd --address <hostname>:51005
Then restart the service :
$ snap stop multipass
$ snap start multipass
macOS
stay macOS You need to add it to the service name (service definition)( alike , Replace <hostname>) And restart :
$ sudo /usr/libexec/PlistBuddy \
-c "Add :ProgramArguments: string --address" \
-c "Add :ProgramArguments: string <hostname>:51001" \
/Library/LaunchDaemons/com.canonical.multipassd.plist
$ sudo launchctl unload /Library/LaunchDaemons/com.canonical.multipassd.plist
$ sudo launchctl load /Library/LaunchDaemons/com.canonical.multipassd.plist
Particular attention : reinstall / Upgrading will overwrite these changes
Windows
stay Windows On , You need to / Recreate the service name (service definition), And it's not just a try ( If you want to do , Remember to pass /svc As the first parameter to multipassd.exe Binary , We used The local service <LocalService> Account )…
As a one-off event , After stopping the service , You can use... In the service window Start parameters (Start parameters) Field :
Tell us how this works for you , What do you want to see in the back
Link to the original text
边栏推荐
- 2021-01-31
- 0622-马棕榈跌9%
- MySQL index details
- 企业的产品服务怎么进行口碑营销?口碑营销可以找人代做吗?
- I like you!
- Realize video call and interactive live broadcast in the applet
- Thinkphp6 using kindeditor
- Numpy random number
- The statistics in the MySQL field become strings, and then they are converted into numbers for sorting
- Your requirements could not be resolved
猜你喜欢

Use of better scroll
![[H5 development] 01 take you to experience H5 development from a simple page ~ the whole page implementation process from static page to interface adjustment manual teaching](/img/e4/27611abdd000019e70f4447265808c.jpg)
[H5 development] 01 take you to experience H5 development from a simple page ~ the whole page implementation process from static page to interface adjustment manual teaching

TP5 distinct method paging problem

Zhimeng CMS will file a lawsuit against infringing websites

2.9 learning summary

Motivational skills for achieving goals

Rsync common error messages (common errors on the window)
![Simple personal summary of tp6 multi application deployment -- Part I [original]](/img/7b/65fab1973423081483dacc9bed9594.jpg)
Simple personal summary of tp6 multi application deployment -- Part I [original]

2.22.2.14

Install Damon database
随机推荐
MySQL index details
2022.1.24
numpy 随机数
Oracle 数据泵导表
Laravel framework Alipay payment fails to receive asynchronous callback request [original]
[H5 development] 02 take you to develop H5 list page ~ including query, reset and submission functions
1.13 learning summary
Resolve PHP is not an internal or external command
2022.1.23
How to carry out word-of-mouth marketing for enterprises' products and services? Can word of mouth marketing be done on behalf of others?
Nabicat连接:本地Mysql&&云服务Mysql以及报错
Simple personal summary of tp6 multi application deployment -- Part I [original]
Nightmare
Zhimeng CMS will file a lawsuit against infringing websites
NVM installation and use and NPM package installation failure record
1.12 learning summary
Tp6 multi table Association (table a is associated with table B, table B is associated with table C, and table d)
Differences between TCP and UDP
Create alicloud test instances
#微信小程序# 在小程序里面退出退出小程序(navigator以及API--wx.exitMiniProgram)