ubuntu install windows at 18.04 virtualbox virtual machine enhancements + + secureCRT

To emphasize that I installed windows in Ubuntu virtual machine, if to look at how to install linux virtual machine, then you are wrong place.

  I've been using Linux systems do develop, select Ubuntu is most commonly used because of good software support for Ubuntu, can be less frustrating and less frustrating, not full-time programmer Scrapped.

  The problem is that !!!, and now even the deep convinced the company can only use the EasyConnect VPN client, the client is currently no official stable Linux version or third-party support, I really can not toss a while, only the windows on the virtual machine a.

 

 # Environment Preparation

1.Ubuntu version (host):

 

 

2.virtualbox installation

  1.virtualbox can directly use sudo apt-get install virtualbox installation

       2. https://www.virtualbox.org/  Ubuntu18.04 release directly download the corresponding, and then execute sudo dpki -i xxx.deb, if you are prompted to install the missing package dependencies.

3. Prepare a Windows image that a windows system iso file

  Recommend this site  https://msdn.itellyou.cn/  , the above can be downloaded to clean windows Mirror, mirror, unlike other domestic software station, after installing the system more than a bunch of junk software.

  Yes, here I choose windows7, because I'm not much of a virtual machine to allocate resources for this (on 2G memory), because I think win7 appropriate.

  PS: it turns 2G memory use Windows7 also very smooth.

4. Open virtualbox, create a virtual machine.

  Creating a virtual machine process is very simple, can not say here, the focus is back.

 

 

# Recording process and troubleshooting

1.windows identify problem resolution

2. shared folders, clipboard, drag and drop the file can not be used

  These two issues about the general installation enhancements can be achieved:

  1. Make sure the virtual machine is running in the state

  2. Select the device -> Install enhancements.

    When you select Prompt me here, not virtual drive configuration, in the Settings -> Store to add issues like the virtual drive, then follow the prompts, click on this little chart (make configuration changes need to shut down the virtual machine),

    

 

    Add and then start the virtual machine.

  3. Click the install again after not being given the enhancements, but no response.

    Here we can direct manual installation, find the drive in My Computer, the point inside.

    

 

    Then click below the installer to install.

     

 

 

   4. Restart virtualbox, restart the virtual machine, enhancements installed successfully. Here the general to the above two problems were solved.

 

3. Install and use secureCRT.

  First, telnet client windows of the main putty, xshell, and secureCRT. Putty open source, but functional too single, xshell never used, directly here on secureCRT.

  1. Download and install secureCRT

    secureCRT is free software, and unlike windows condone piracy, generally not very good break, recommend a download address here.

    I recommend this  https://blog.csdn.net/gbh666666/article/details/88029042

  2. Use some recommended configuration of secureCRT

    1. Change the appearance of

    The default looks like this, usually accustomed to linux terminal and colorful display, this interface can not stand.

    

      Select Configuration Options -> Session Options, configure the following:

      

 

 

 

 

     This black and white or colorful display interface + good-looking font is consolas, size 12.

    

 

   

  3.secureCRT solve coding problems.

    If you have used putty students here you might think secureCRT is not built that thing a putty because of coding problems encountered here and as putty

    1. First, a few points:

      1. I installed windows7 Chinese version is here, the default encoding GBK, windows system default encoding can not be changed.

      2. The default server code is UTF-8, can confirm the input locale.

    2. In order to ensure that you can edit Chinese, and can be properly read Chinese editor in the server (such as writing shell scripts contain Chinese comments or Chinese output), you need a unified coding.

      Current mainstream development environment is UTF-8 encoding, we also lacks a good tangled, as follows session options.

      

 

     3. hash still exist

        If you do not perform step 2, you can not edit Chinese and server processing files together, because you are Chinese input will be written to the file by GBK encoding and decoding and printed to the screen, the server will be encoded by UTF-8

      And decoding printed to the screen, because the step 2 ensures that work can continue.

        However, when you use certain commands are found garbled output, this is because the operating system is secureCRT where the windows, the default encoding is GBK, some commands do not get to read locale coding

      , But directly read system call, so get coding is GBK, that is how you set no use.

        The problem and the issue of hash Cygwin is one of the reasons, the official explained below

       

 

     4. transfer files problem encountered.

       In secureCRT, you can enter rz upload a file, enter sz download files, general services will install this package, do not install their own words can be a

      Use sz download no problem was found when uploading with rz, will pass with the pass, then got stuck, only to re-board, but still failed to upload the file, and finally from the Internet to find the answer, use rz -be

      Will solve the problem. As -b -e means, enter man rz facie understand

 

 

      

     

 

Guess you like

Origin www.cnblogs.com/lshao/p/11614976.html