Finally with the linux,windows under the virtual machine installed with VMware, hanging Ubuntu 14.04, think very unaccustomed, very difficult to serve.
And there are many objective difficulties, these two days really cost a lot of effort. Mainly to work here on the Internet to configure the agent. Windows, the connection in IE configuration, other browsers can be used. And under Ubuntu, it's not that simple. Of course, when I think about it, it seems that it is not very complicated, it is not used.
1, first of all to ensure that two virtual machine services to start: VMware NAT Service, VMware DHCP service. I have a system optimization software to shut them down, the results of Ubuntu can not be networked, check to find out, burned, half a day passed
2, enter Ubuntu system settings, network, and then set up the agent, application (be sure to press the application)
3, if the agent needs to specify username and password, then this step is necessary. And be sure to finish 2, and then do this step.
Open terminal, enter sudo gedit/etc/environment
You are prompted to enter the Super Administrator password. Note that the password input is not displayed under Linux, but it does have an input.
Open the Environment configuration file, the agent and account number, password input. Such as
Http_proxy= "Http://account:[email protected]:p ort"
Https_proxy= "Https://account:[email protected]:p ort"
......
Since the completion of Step 2, the system will overwrite the proxy information here, but there is no account information, only agent server information. Assuming step 3, then step 2, then our work will be covered out.
4. Set up the proxies for Apt-get and Update Manager
Under Terminal, enter sudo gedit/etc/apt/apt.conf
Then enter:
Acquire::http::p Roxy "Http://account:[email protected]:p ort";
Acquire::https::p Roxy "Https://account:[email protected]:p ort";
Acquire::ftp::p Roxy "Ftp://account:[email protected]:p ort" ";
Acquire::socks::p Roxy "Socks://account:[email protected]:p ort";
So, the software center, installation, update software can be successfully networked. It is important to ensure that the network is unblocked, otherwise the installation and update fails, and all kinds of error prompts are simply insane.
Just, these settings do not seem to be correct. The browser is fully functional and the browser asks for the password every time it opens.
Linux, Firefox can set its own agent, but Google's chromium is not. It can use the agent of the system, but the setting without the agent is not effective in chromium. The solution is to install the extension in chromium:switchysharp. the method is to open the chromium settings, expand the program, enter Switchysharp, find it, install it, set it, and fix it.
VMware virtual machine under Ubuntu configuration Agent Online