当前位置:网站首页>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
边栏推荐
- Laravel uses phpword to generate word documents
- 企业的产品服务怎么进行口碑营销?口碑营销可以找人代做吗?
- Tp6 is easy to tread [original]
- 微信小程序保存图片的方法
- Large numbers (C language)
- MySQL index details
- Multipass中文文档-与实例共享数据
- Physical design of database design (2)
- Tp6 multi table Association (table a is associated with table B, table B is associated with table C, and table d)
- 1.16 learning summary
猜你喜欢

PSIM software learning ---08 call of C program block

2021/11/6-burpsuit packet capturing and web page source code modification

Performance test comparison between PHP framework jsnpp and thinkphp6

Multipass中文文档-设置驱动

Database design (3): database maintenance and optimization

Advanced learning of MySQL (learning from Shang Silicon Valley teacher Zhou Yang)
![Alipay failed to verify the signature (sandbox test indicates fishing risk?) [original]](/img/64/c3bb27a3711a6f0cc7b281d1a961af.jpg)
Alipay failed to verify the signature (sandbox test indicates fishing risk?) [original]

TP5 distinct method paging problem

2.22.2.14

2022 talent strategic transformation under the development trend of digital economy
随机推荐
1.11 learning summary
Yapi cross domain request plug-in installation
2021/11/6-burpsuit packet capturing and web page source code modification
BACK-OFF RESTARTING FAILED CONTAINER 的解决方法
Nightmare
How can the intelligent transformation path of manufacturing enterprises be broken due to talent shortage and high cost?
基础查询
Physical design of database design (2)
How to carry out word-of-mouth marketing for enterprises' products and services? Can word of mouth marketing be done on behalf of others?
Condition query
修改Oracle连接数
微信小程序保存图片的方法
Numpy random number
Realize video call and interactive live broadcast in the applet
Sort query
Tp6 is easy to tread [original]
文件上传与安全狗
ROS 笔记(07)— 客户端 Client 和服务端 Server 的实现
202.2.9
[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