*nix Thread, Setting Network Proxy in Ubuntu Server in Technical; I've downloaded the Turnkey Linux Wordpress appliance so I can create a wordpress site to play with without actually putting ...
-
13th May 2010, 09:20 AM #1 Setting Network Proxy in Ubuntu Server
I've downloaded the Turnkey Linux Wordpress appliance so I can create a wordpress site to play with without actually putting it on our webspace.
It runs on Ubuntu server 8.04 on VMware player.
The problem I'm having is I can't work out how to set up our proxy on it so Ubuntu will see the internet.
Anyone got any idea how to do this?
thanks
-
-
IDG Tech News
-
13th May 2010, 09:25 AM #2 does it have a gui ??
or just a server platform..
-
-
13th May 2010, 09:34 AM #3 It's just a server platform.
-
-
13th May 2010, 09:46 AM #4
- Rep Power
- 8
This link to my website will help.... although it's proxy support for the aptitude application, I think this will sort it for you
Proxy support for apt-get package management
-
-
13th May 2010, 09:54 AM #5 
Originally Posted by
prad
This link to my website will help.... although it's proxy support for the aptitude application, I think this will sort it for you
That works when I come out of the appliance, so I can update Ubuntu using apt-get update, for example. But when I restart the server so the appliance restarts, it does not have the proxy settings (works fine at home though!).
ta
-
-
13th May 2010, 10:02 AM #6 there are some nice server setups there....
Will have to install some my self. shame there is no 2008 R2 server replacement lol.
-
-
13th May 2010, 10:06 AM #7 
Originally Posted by
jinnantonnix
You need to add your proxy details to the file
/etc/apt/apt.conf
Add these lines to the file:
Code:
Acquire::http::proxy "http://domain\username:password@proxy_ip_address:port_no/";
Acquire::https::proxy "http://domain\username:password@proxy_ip_address:port_no/";
You can add an ftp entry if your proxy allows ftp.
Obviously substitute your domain, username, password, proxy ip and proxy port.
Thanks for that, but at the risk of sounding thick(!), how do I add the lines to the file?
-
-
13th May 2010, 10:28 AM #8
- Rep Power
- 8
you can always stick the necessary lines into the "/etc/rc.local" file and they'll be run on startup
-
-
13th May 2010, 11:45 AM #9 That worked! Ubuntu will now see the web. Just a shame Wordpress won't!
-
-
13th May 2010, 12:28 PM #10 
Originally Posted by
jinnantonnix
Don't know much about Wordpress, but is this any good?
Woo hoo that worked! Thanks for the help.
-
SHARE: 
Similar Threads
-
By Little-Miss in forum Windows
Replies: 3
Last Post: 12th December 2011, 03:44 PM
-
Replies: 8
Last Post: 3rd August 2009, 11:45 AM
-
By mhussain in forum How do you do....it?
Replies: 5
Last Post: 8th July 2009, 05:08 AM
-
By rocknrollstar in forum *nix
Replies: 15
Last Post: 20th May 2009, 04:04 PM
-
By laserblazer in forum Windows
Replies: 6
Last Post: 18th March 2009, 12:11 PM
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules