mirror of
https://github.com/LCTT/TranslateProject.git
synced 2024-12-26 21:30:55 +08:00
commit
cbc890790f
@ -1,63 +0,0 @@
|
||||
translating---geekpi
|
||||
|
||||
Linux FAQs with Answers--How to install Ubuntu desktop behind a proxy
|
||||
================================================================================
|
||||
> **Question:** My computer is connected to a corporate network sitting behind an HTTP proxy. When I try to install Ubuntu desktop on the computer from a CD-ROM drive, the installation hangs and never finishes while trying to retrieve files, which is presumably due to the proxy. However, the problem is that Ubuntu installer never asks me to configure proxy during installation procedure. Then how can I install Ubuntu desktop behind a proxy?
|
||||
|
||||
Unlike Ubuntu server, installation of Ubuntu desktop is pretty much auto-pilot, not leaving much room for customization, such as custom disk partitioning, manual network settings, package selection, etc. While such simple, one-shot installation is considered user-friendly, it leaves much to be desired for those users looking for "advanced installation mode" to customize their Ubuntu desktop installation.
|
||||
|
||||
In addition, one big problem of the default Ubuntu desktop installer is the absense of proxy settings. If your computer is connected behind a proxy, you will notice that Ubuntu installation gets stuck while preparing to download files.
|
||||
|
||||
![](https://c2.staticflickr.com/6/5683/22195372232_cea81a5e45_c.jpg)
|
||||
|
||||
This post describes how to get around the limitation of Ubuntu installer and **install Ubuntu desktop when you are behind a proxy**.
|
||||
|
||||
The basic idea is as follows. Instead of starting with Ubuntu installer directly, boot into live Ubuntu desktop first, configure proxy settings, and finally launch Ubuntu installer manually from live desktop. The following is the step by step procedure.
|
||||
|
||||
After booting from Ubuntu desktop CD/DVD or USB, click on "Try Ubuntu" on the first welcome screen.
|
||||
|
||||
![](https://c1.staticflickr.com/1/586/22195371892_3816ba09c3_c.jpg)
|
||||
|
||||
Once you boot into live Ubuntu desktop, click on Settings icon in the left.
|
||||
|
||||
![](https://c1.staticflickr.com/1/723/22020327738_058610c19d_c.jpg)
|
||||
|
||||
Go to Network menu.
|
||||
|
||||
![](https://c2.staticflickr.com/6/5675/22021212239_ba3901c8bf_c.jpg)
|
||||
|
||||
Configure proxy settings manually.
|
||||
|
||||
![](https://c1.staticflickr.com/1/735/22020025040_59415e0b9a_c.jpg)
|
||||
|
||||
Next, open a terminal.
|
||||
|
||||
![](https://c2.staticflickr.com/6/5642/21587084823_357b5c48cb_c.jpg)
|
||||
|
||||
Enter a root session by typing the following:
|
||||
|
||||
$ sudo su
|
||||
|
||||
Finally, type the following command as the root.
|
||||
|
||||
# ubiquity gtk_ui
|
||||
|
||||
This will launch GUI-based Ubuntu installer as follows.
|
||||
|
||||
![](https://c1.staticflickr.com/1/723/22020025090_cc64848b6c_c.jpg)
|
||||
|
||||
Proceed with the rest of installation.
|
||||
|
||||
![](https://c1.staticflickr.com/1/628/21585344214_447020e9d6_c.jpg)
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
via: http://ask.xmodulo.com/install-ubuntu-desktop-behind-proxy.html
|
||||
|
||||
作者:[Dan Nanni][a]
|
||||
译者:[译者ID](https://github.com/译者ID)
|
||||
校对:[校对者ID](https://github.com/校对者ID)
|
||||
|
||||
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
|
||||
|
||||
[a]:http://ask.xmodulo.com/author/nanni
|
@ -0,0 +1,61 @@
|
||||
Linux有问必答--如何在代理中安装Ubuntu
|
||||
================================================================================
|
||||
> **提问:** 我的电脑连接到的是使用HTTP代理的公司网络。当我想使用CD-ROM安装Ubuntu时,安装在尝试获取文件时被停滞了,可能是由于代理的原因。然而问题是Ubuntu的安装程序从来没有在安装过程中提示我配置代理。我该怎样在代理中安装Ubuntu桌面版?
|
||||
|
||||
不像Ubuntu服务器版,Ubuntu桌面版的安装非常自动化,没有留下太多的自定义空间,就像自定义磁盘分区,手动网络设置,包选择等等。虽然这种简单的,一键安装被认为是用户友好的,但却是那些寻找“高级安装模式”来定制自己的Ubuntu桌面安装的用户不希望的。
|
||||
|
||||
除此之外,默认的Ubuntu桌面版安装器的一个大问题是缺少代理设置。如果你电脑在代理后面,你会看到Ubuntu在准备下载文件的时候停滞了。
|
||||
|
||||
![](https://c2.staticflickr.com/6/5683/22195372232_cea81a5e45_c.jpg)
|
||||
|
||||
这篇文章描述了如何解除Ubuntu安装限制以及**如何在代理中安装Ubuntu桌面**。
|
||||
|
||||
基本的想打是这样的。首先启动到live Ubuntu桌面中而不是直接启动Ubuntu安装器,配置代理设置并且手动在live Ubuntu中启动Ubuntu安装器。下面是步骤。
|
||||
|
||||
从Ubuntu桌面版CD/DVD或者USB启动后,在欢迎页面点击“Try Ubuntu”。
|
||||
|
||||
![](https://c1.staticflickr.com/1/586/22195371892_3816ba09c3_c.jpg)
|
||||
|
||||
当你进入live Ubuntu后,点击左边的设置图标。
|
||||
|
||||
![](https://c1.staticflickr.com/1/723/22020327738_058610c19d_c.jpg)
|
||||
|
||||
进入网络菜单。
|
||||
|
||||
![](https://c2.staticflickr.com/6/5675/22021212239_ba3901c8bf_c.jpg)
|
||||
|
||||
手动配置代理
|
||||
|
||||
![](https://c1.staticflickr.com/1/735/22020025040_59415e0b9a_c.jpg)
|
||||
|
||||
接下来,打开终端。
|
||||
|
||||
![](https://c2.staticflickr.com/6/5642/21587084823_357b5c48cb_c.jpg)
|
||||
|
||||
输入下面的命令进入root会话。
|
||||
|
||||
$ sudo su
|
||||
|
||||
最后以root权限输入下面的命令。
|
||||
|
||||
# ubiquity gtk_ui
|
||||
|
||||
它会启动基于GUI的Ubuntu安装器。
|
||||
|
||||
![](https://c1.staticflickr.com/1/723/22020025090_cc64848b6c_c.jpg)
|
||||
|
||||
接着完成剩余的安装。
|
||||
|
||||
![](https://c1.staticflickr.com/1/628/21585344214_447020e9d6_c.jpg)
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
via: http://ask.xmodulo.com/install-ubuntu-desktop-behind-proxy.html
|
||||
|
||||
作者:[Dan Nanni][a]
|
||||
译者:[geekpi](https://github.com/geekpi)
|
||||
校对:[校对者ID](https://github.com/校对者ID)
|
||||
|
||||
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
|
||||
|
||||
[a]:http://ask.xmodulo.com/author/nanni
|
Loading…
Reference in New Issue
Block a user