+ Post New Thread
Results 1 to 10 of 10
*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 ...
  1. #1
    nawbus's Avatar
    Join Date
    Jun 2005
    Location
    Newcastle-under-Lyme, Staffordshire
    Posts
    186
    Thank Post
    47
    Thanked 6 Times in 6 Posts
    Rep Power
    21

    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

  2. Thanks to nawbus from:

    Cools (13th May 2010)

  3. #2
    Cools's Avatar
    Join Date
    Jan 2009
    Location
    Bedfordshire
    Posts
    498
    Thank Post
    24
    Thanked 62 Times in 57 Posts
    Rep Power
    25
    does it have a gui ??
    or just a server platform..

  4. #3
    nawbus's Avatar
    Join Date
    Jun 2005
    Location
    Newcastle-under-Lyme, Staffordshire
    Posts
    186
    Thank Post
    47
    Thanked 6 Times in 6 Posts
    Rep Power
    21
    It's just a server platform.

  5. #4

    Join Date
    Dec 2009
    Location
    London
    Posts
    42
    Thank Post
    4
    Thanked 10 Times in 7 Posts
    Rep Power
    11
    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

  6. Thanks to prad from:

    nawbus (13th May 2010)

  7. #5
    nawbus's Avatar
    Join Date
    Jun 2005
    Location
    Newcastle-under-Lyme, Staffordshire
    Posts
    186
    Thank Post
    47
    Thanked 6 Times in 6 Posts
    Rep Power
    21
    Quote Originally Posted by prad View Post
    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

  8. #6
    Cools's Avatar
    Join Date
    Jan 2009
    Location
    Bedfordshire
    Posts
    498
    Thank Post
    24
    Thanked 62 Times in 57 Posts
    Rep Power
    25
    there are some nice server setups there....
    Will have to install some my self. shame there is no 2008 R2 server replacement lol.

  9. #7
    nawbus's Avatar
    Join Date
    Jun 2005
    Location
    Newcastle-under-Lyme, Staffordshire
    Posts
    186
    Thank Post
    47
    Thanked 6 Times in 6 Posts
    Rep Power
    21
    Quote Originally Posted by jinnantonnix View Post
    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?

  10. #8

    Join Date
    Dec 2009
    Location
    London
    Posts
    42
    Thank Post
    4
    Thanked 10 Times in 7 Posts
    Rep Power
    11
    you can always stick the necessary lines into the "/etc/rc.local" file and they'll be run on startup

  11. #9
    nawbus's Avatar
    Join Date
    Jun 2005
    Location
    Newcastle-under-Lyme, Staffordshire
    Posts
    186
    Thank Post
    47
    Thanked 6 Times in 6 Posts
    Rep Power
    21
    That worked! Ubuntu will now see the web. Just a shame Wordpress won't!

  12. #10
    nawbus's Avatar
    Join Date
    Jun 2005
    Location
    Newcastle-under-Lyme, Staffordshire
    Posts
    186
    Thank Post
    47
    Thanked 6 Times in 6 Posts
    Rep Power
    21
    Quote Originally Posted by jinnantonnix View Post
    Don't know much about Wordpress, but is this any good?
    Woo hoo that worked! Thanks for the help.

SHARE:
+ Post New Thread

Similar Threads

  1. Setting network save setting in Kar2ouche
    By Little-Miss in forum Windows
    Replies: 3
    Last Post: 12th December 2011, 03:44 PM
  2. [Ubuntu] Ubuntu Proxy and Windows
    By Amadeo in forum *nix
    Replies: 8
    Last Post: 3rd August 2009, 11:45 AM
  3. Proxy Setting on server
    By mhussain in forum How do you do....it?
    Replies: 5
    Last Post: 8th July 2009, 05:08 AM
  4. Proxy on Ubuntu for Fog
    By rocknrollstar in forum *nix
    Replies: 15
    Last Post: 20th May 2009, 04:04 PM
  5. Setting Proxy Server policy Windows 2000
    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
  •