installing virtualmin through proxy

8 posts / 0 new
Last post
#1 Thu, 01/28/2010 - 08:08
molln

installing virtualmin through proxy

i'm using centos 5.4 and tried to installs virtualmin (with the install.sh file), but then it fails, it shows

Checking for HTTP client...found /usr/bin/curl -s -O Checking for perl...found /usr/bin/perl chmod: cannot access `spinner': No such file or directory Loading log4sh logging library... Could not load logging library from software.virtualmin.com. Cannot continue. We're not just stopping because we don't have a logging library--this probably indicates a serious problem that will prevent successful installation anyway. Check network connectivity, name resolution and disk space and try again.

is it related to my proxy?i have add "http_proxy=http://10.0.1.5:8080" in the wgetrc file, but nothing happen note:my proxy is 10.0.1.5

Thu, 01/28/2010 - 10:08
andreychek

Mmm, if you have an HTTP proxy in front of your server, that could certainly cause trouble... I hope you know what you're doing, as that could also cause trouble after the installation :-)

Looking at the above output, it looks like it's using curl, not wget... so you'd need to either edit your curlrc file and setup your proxy there, or determine what environment variables curl looks for and set those.

Also, you'll need to do the same thing with the yum config -- yum will need to be configured to use the proxy during installation.

-Eric

Fri, 01/29/2010 - 01:56
molln

i can't find the curlrc file in my centos? i'm newbie in linux

Fri, 01/29/2010 - 09:50
molln

i'm still can't install via install.sh file through proxy help

Fri, 01/29/2010 - 10:03
andreychek

I've never setup a proxy using curl so I don't know the specifics, you may need to look in the manpage for details on how to set it up (you can type "man curl" on the command line).

However, you might try setting an environment variable with your proxy in it, that might be a simple way of getting that working. The curl manpage mentions this:

ENVIRONMENT VARIABLES

Curl reads and understands the following environment variables:

http_proxy, HTTPS_PROXY, FTP_PROXY, GOPHER_PROXY

So something like this might do the trick:

export http_proxy=http://server-ip:port/

I'll offer, though, that you are going to have a lot of battles to fight beyond just this one; you'll have to get curl and yum working with the proxy for one. But once you get that far, all the other services running on your server will have similar issues.

Are you sure there isn't a way to setup your server without being behind an HTTP proxy?

-Eric

Fri, 01/29/2010 - 18:27
Daworm

Is this locally hosted? Can you not setup an exclusion on the proxy from your server to allow it to just connect through without any concerns?

Fri, 01/29/2010 - 22:54
molln

yes it is locally, well i try to contact someone who responsible to the proxy btw, is the final result i get from installation via install.sh is the same as via virtual-server-3.69.gpl.wbm?

Sat, 01/30/2010 - 09:20
andreychek

final result i get from installation via install.sh is the same as via virtual-server-3.69.gpl.wbm

Nope ;-)

Virtualmin 3.76 is the latest, so you'd have that version, first off. But 3.69 contains security problems, so make sure you use a more recent version than that one :-)

However, the install.sh script is doing a lot more than just installing the virtual-server module -- it's installing and configuring the full Virtualmin stack so that it can function as a web server, email server, database server, and so forth.

So, there's a number of packages it'll install and configure for you... and while it's possible to do all that manually, the install script can really save you some hassle.

-Eric

Topic locked