In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/01 Report--
This article introduces the relevant knowledge of "how to build a device sharing platform stf in win10 system Docker". In the operation of actual cases, many people will encounter such a dilemma, so let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!
Prepare resources
1. Virtual machine software: vmware workstation15 pro (enhanced version of non-player version, otherwise port mapping cannot be done)
2.ubuntu system:: ubuntu-20.04-live-server-amd64
3.MobaXterm is used for win10 to connect virtual machine unbuntu system for operation.
4. It is best for the computer to have a hard disk space larger than 40g. The virtual machine and system suggest giving 30G5.STF the latest image. Currently, download the latest compiled image from the official website, upload it to Aliyun, and support android10 (part). The official website does not have the latest docker image.
Steps:
1. Install the virtual machine software and install ubuntu. In this process, you should pay attention to the account number and password. Be sure to remember it. You can install it on your own Baidu, which you don't understand.
two。 After installation, to run the ifconfig command to view IP, first command to run installation ifconfig:apt-get install net-tools, after installation, type ifconfig, view ip, remember
3. Run the command sudo su, get super user privileges, and then install ssh with the command: sudo apt-get install openssh-server, which is used to connect with SSH using the mobaXterm tool
4. Install MobaXterm, open it after installation, click session, click ssh, then enter virtual machine IP in host, then click on the avatar next to username, click new, pop-up window, enter the account password of the virtual machine system, and define the nickname by yourself, then click OK, on the session setting page, select Specify username, select the nickname just now, and then click OK, you can see that the connection is successful, there are welcome to and other welcome prompts Later, command operations can be carried out directly here. The session setting page features as follows:
5. In mobaxtern, after connecting to the virtual machine session, type sudo su to obtain super user permission, and then install docker. Enter the command: curl-fsSL https://get.docker.com | bash-s docker-- mirror Aliyun. After the installation is successful, run docker-v to find the version number. If you do not understand or do not install successfully, please check the document: https://www.runoob.com/docker/ubuntu-docker-install.html
6. Configure mapping ports, the main configuration ports are: 7100, 28015, 7114, 7116, 7111, 7113, 7110, 7400, 7408, 7412, 7416,7420,7424,7428,7105,7112,7120,7104,7103,7404,7102,7106,7115,7125,27017, configuration method: in vmware workstation, select Edit-Virtual Network Editor-check NAT mode, then click to change settings, select NAT mode, then select NAT settings, jump out of the prompt box and enter the virtual machine address. Then enter the mapped port, such as 7100, click OK, so that after 7100 is configured, repeat the operation, complete the configuration, and click OK, so that the port mapping is configured. If it is not clear, please click on the link to view: https://blog.csdn.net/qq_26230421/article/details/79232219
7.docker uses a brief introduction to the command:
Docker ps view the installed image
Docker stop + ID turns off mirroring
Docker rm + ID turns off mirroring
Docker logs + ID to view image startup
Docker start + ID starts a mirror
Docker rm-f + ID delete mirror
This is the end of the content of "how to build a device sharing platform stf for win10 system Docker". Thank you for reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.