In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/02 Report--
How to build an omnipotent windows learning environment, in view of this problem, this article introduces the corresponding analysis and solutions in detail, hoping to help more partners who want to solve this problem to find a more simple and feasible method.
I. Preface
Recently, a reader asked me about the construction of a self-taught development environment. So I specially send an article here about the environment I use for learning and personal development. In fact, the relevant content has been discussed before, but it is very shallow.
We know that the three mainstream operating systems are Windows,MacOS and Unix/Linux. Among them, MacOS and Unix will not talk about it for a while.
Windows is the dominant desktop side, and Linux is also found in large, small and medium-sized servers. However, the two goods are not compatible. It can be said that 2 is OK (Windows10 began to add the Linux subsystem, which is not within the scope of discussion). One of the two is difficult to meet everyone's needs. For example, if you want to play a game, Linux basically doesn't consider it. But want to program to build a server or something, and want to be close to the mainstream, but also have to consider the problem of Linux.
In order to solve this problem, the use of virtual machines is certain. I believe many readers have experience in using virtual machines. A recent feedback from a reader was that there was a bit of a jam in running my program in the virtual world. I just realized this problem. Windows users tend to use graphical interfaces, so the desktop version of Ubuntu is installed in the virtual machine. This will inevitably lead to a waste of resources, at the same time, the efficiency of development is not high. Here is the installation and use of the server version of Ubuntu, as well as the use of several useful tools.
II. Preparatory work
Virtual machine software: VMware14.0
System image: Ubuntu Server 16.04lts
Free SSH client: xshell
Terminal Analog Management system: xmanager (xftp+xpassive)
1. VMware can be downloaded from the official website, with a download link https://www.vmware.com/go/getworkstation-win
As for the question of registration and activation, I put it in the original text.
2, about UbuntuServer 16.04lts is also to go to the official website, in fact, UbuntuServer has been updated 18.04 version, but I demonstrated is a rapid installation version, 18.04 support is poor, not very convenient, experienced readers can directly install 18.04 version.
3. For the problems of xshell and xmanager, readers are asked to find the version they need.
If you have any questions about the above, you can reply to the keyword "administrator" in the background and contact me.
III. Operation steps
Since they are all software under the Win platform, the installation process is not demonstrated here, but go directly to the virtual machine to install Ubuntu.
1. Open the virtual machine-- > create a new virtual machine
2. According to the wizard, use the typical (recommended) configuration and go straight to the next step.
3. Select the installer CD image file
(I will never tell you that advanced players usually choose the third one.)
4. Configure the necessary information in this step
5. Modify the name and location of the virtual machine
6. Specify disk capacity
You don't have to worry about not having enough disks. A 2G spare is enough to ensure installation.
7. Be ready to create a virtual machine
It looks like this in custom hardware.
8. Completely different. Take care of it and start running by yourself.
8. Links that need to be set manually
Choose continue, change your favorite name, and continue continue.
9. Then there was a long wait, and then the installation was completed perfectly
10. Log in first, check the IP address using ifconfig, and install the ssh server
User name: logicpanda password: lp
Use the command
11. Open shell on the local host and create a new connection
12. Configure session properties
13. Configure login information
14. Here you choose to connect to OK.
Accept and save
The result is as shown in the picture
15. Such a fully available environment is configured. Since this environment is just configured and there are a lot of things, but the basic operation can be completed, I will use the virtual machine where I have installed a lot of tools to demonstrate the rest. Readers are asked to finish what is overlooked in the middle. There are different places, welcome to private poke the author.
16. Now the demonstration environment states that the operating system is Ubuntu Server 18.04LTS, and the content to be demonstrated is the use of xft and xpassive. The tools you need are python3 and pygame modules, and the newly installed operating system may not be able to locate the package when installing pip. At this time, please consider the source code installation and source exchange.
For source code installation, please refer to the history article: "what if the package manager cannot help you install piping?" "
About the source change, here is a blog: https://blog.csdn.net/d5224/article/details/52025897
17. Open xftp, similar to step 14, and connect to the virtual machine.
Login is supposed to look like this. Then upload a python program source code that contains a graphical interface.
For this source code, please refer to the historical article: "Python |" wrote a clock ""
Upload source code (you can drag and drop files to the right window)
Command Lin
18. Open xpassive.
When xpassive is opened, it looks like this.
Then set the variable in the command: DISPLAY= host IP:0.0
And add to the environment variable: export DISPLAY
About the host IP, you can view it using ipconfig in cmd, as in step 10.
To do this once and for all, you can permanently add the variable DISPLAY to the environment variable.
For the method, see the following link: https://jingyan.baidu.com/article/b87fe19e6b408852183568e8.html
Solve the problem properly.
The above is a complete and available self-study environment set up.
Recommendation of other tools
[DiskGenius] this is a disk operating software, such as partitioning a hard disk, which can be used to operate a virtual machine hard disk.
[Vstart] this is a desktop icon management software, when you install too much software, and many are commonly used software, you can try.
[FastStone Capture (FSC)] screenshot screenshot software, very small and powerful, but also very painful, the tool used in this screenshot, shortcomings, can not find the mosaic function.
[Notepad++] an upgraded version of notepad, a lightweight, fast, code-highlighting editor.
[VS Code] powerful IDE.
[tomato potato] efficiency tool, tomato work method software.
[typora] Local markdown editor.
[Youdao cloud notes] very easy to use note-taking software.
V. tools in other areas
1. C _ blank + aspect
[C-free] [DevC++] is very suitable for beginners.
[VS 2017] the necessary tools for Windows developers are not only powerful, but also huge.
2. Assembly language
[DosBox] + [Masn] + [debug]
[MasmPlus] powerful assembly IDE. Win10's defence will be reported to be poisoned and then directly deleted.
[VMware+MS-Dos] is also a good combination.
3. Perl language
[ActivePerl] and [StrawberryPerl] are both good.
[Padre] is a good IDE.
[PerlEdit] is lighter.
4. Reverse aspect
[OD] naturally, there is no need to say more.
[AsmFun] assemble instruction querier, it is believed that it will be like a tiger to add power.
5. Advertise the gadget developed by yourself
[EasyBill] gadgets in development for Python users
This is the answer to the question about how to build an omnipotent windows learning environment. I hope the above content can be of some help to you. If you still have a lot of doubts to be solved, you can follow the industry information channel to learn more about it.
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.