Archive

Archive for the ‘Ubuntu’ Category

Install GUI on Ubuntn Server

July 12, 2013 Leave a comment

1. Enable system proxy on server (Refer to my another posting ”
Setup System Proxy on Ubuntu for packages updates and installation”)

2. Update system
# apt-get update

3. Install the “minimal” GUI desktop,
# apt-get install –no-install-recommends ubuntu-desktop

4. Reboot the server

Categories: Ubuntu

Setup System Proxy on Ubuntu for packages updates and installation

July 12, 2013 Leave a comment

1. Add the following entries into /etc/environment

http_proxy=http://myproxy.server.com:8080/
https_proxy=http://myproxy.server.com:8080/
ftp_proxy=http://myproxy.server.com:8080/
no_proxy=”localhost,127.0.0.1,localaddress,.localdomain.com”
HTTP_PROXY=http://myproxy.server.com:8080/
HTTPS_PROXY=http://myproxy.server.com:8080/
FTP_PROXY=http://myproxy.server.com:8080/
NO_PROXY=”localhost,127.0.0.1,localaddress,.localdomain.com”

2. Create a file under /etc/apt/apt.conf.d, called 95proxies and add the entries below

Acquire::http::proxy “http://myproxy.server.com:8080/”;
Acquire::ftp::proxy “ftp://myproxy.server.com:8080/”;
Acquire::https::proxy “https://myproxy.server.com:8080/”;

3. Edit /etc/hosts to add myproxy.server.com IP like as following ( Replace xxx.xxx.xxx.xxx with IP)
xxx.xxx.xxx.xxx myproxy.server.com

4. Restart the server to make sure the changes take effect.

Categories: Ubuntu