nawbus Posted May 13, 2010 Posted May 13, 2010 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 1
prad Posted May 13, 2010 Posted May 13, 2010 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 1
nawbus Posted May 13, 2010 Author Posted May 13, 2010 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
Cools Posted May 13, 2010 Posted May 13, 2010 there are some nice server setups there.... Will have to install some my self. shame there is no 2008 R2 server replacement lol. 1
nawbus Posted May 13, 2010 Author Posted May 13, 2010 You need to add your proxy details to the file /etc/apt/apt.conf Add these lines to the file: 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?
prad Posted May 13, 2010 Posted May 13, 2010 you can always stick the necessary lines into the "/etc/rc.local" file and they'll be run on startup
nawbus Posted May 13, 2010 Author Posted May 13, 2010 That worked! Ubuntu will now see the web. Just a shame Wordpress won't!
nawbus Posted May 13, 2010 Author Posted May 13, 2010 Don't know much about Wordpress, but is this any good? Woo hoo that worked! Thanks for the help.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now