Installing Virtualmin

22 posts / 0 new
Last post
#1 Mon, 04/16/2012 - 09:21
mofpe

Installing Virtualmin

Hi Please help a newbie. I've installed virtualmin, and got the succes massage. but when i'm logging in to my VPS the only thing i can get acces to is my webmin interface. What am i doing wrong?

Attached is the putty screendump

Mon, 04/16/2012 - 10:15
andreychek

Howdy,

It does look like the installation completed successfully from that screendump.

Which Linux distribution and version are you using?

And you're saying that you can log in on port 10000 at your IP address, but when you log in there, you're just seeing the Webmin interface, not Virtualmin?

-Eric

Mon, 04/16/2012 - 13:17
mofpe

Hi Linux distribution is Debian 6.0

And yes logging in on port 10000 and there is only the webmin interface.

Se attached.

-Mogens

Mon, 04/16/2012 - 14:06
andreychek

Yeah, that's definitely not what I would expect... can you attach your /root/virtualmin-install.log file?

That may help explain what's going on there.

Thanks!

-Eric

Tue, 04/17/2012 - 00:19 (Reply to #4)
mofpe

Hi

And now attached the install log. :-)

I hope you can read it?

/mogens

Tue, 04/17/2012 - 03:58
ronald
ronald's picture

Can you select the Virtualmin Default theme (Virtualmin Framed theme)? I think your current webmin theme may not show virtualmin...

Tue, 04/17/2012 - 07:19 (Reply to #6)
mofpe

I found it. yeah. :-)

But it tells me this now. (se Attached)

How can i start the post instalation wizard again? (i am a newbie)

Thank you.

Tue, 04/17/2012 - 08:19
ronald
ronald's picture

I dont know but it says you need to configure the Read User Mail module. Under Webmin, first Refresh Modules, then try again or find it under Webmin-Servers and adjust the settings..

Wed, 04/18/2012 - 00:42
mofpe

I'll try that, but as a newbie i'm not what to adjust, anybody whit a good idea?

Wed, 04/18/2012 - 04:48
Locutus

The odd thing is, when you install Virtualmin on a freshly set up grade-A supported OS, and the installer script reports success, issues like this should not occur. Normally it's "run script, log in, and be happy".

If possible, in your place I'd try a fresh install of the OS and Virtualmin again (do NOT install any custom packages besides SSH when setting up the OS, since the VM installer will do that for you), since something must have gone wrong there, before you try to fix the thing bit by bit. Especially if you're a newbie this can be a big hassle. Who knows what else went wrong during this attempt.

Wed, 04/18/2012 - 05:36
mofpe

Okay, thank you.

i'll try that.

Wed, 04/18/2012 - 09:55
Brook

I agree with Locutus - I'd try a fresh install.

I've written a quick start-up guide if you'd like to follow it: http://www.virtualmin.com/node/21899

(Although I use CentOS)

Fri, 04/20/2012 - 05:34 (Reply to #12)
mofpe

Great Thanks to both of you.

Brook, i've read your start up guide and it's great. But.... there is a but. :-) some of the things you write in it, i don't understand. Can i write to you if i get stuck? I'm a total newbie. .-)

I'm on a debeian rented VPS so the OS can't be reinstalled. Only VM an Webmin. But i'll tried to reinstall via install.sh, that didn't give the posebility to go through the post installation guide again and it was there it went wrong the first time.

So i hope you can help me. .-)

Fri, 04/20/2012 - 05:52
ronald
ronald's picture

I find it odd that you can not reinstall the OS on a rented VPS. Per haps its also time to look for a better provider. You could ask your provider to install CentOS for you ..

Your best bet is to install CentOS since it has a broader client base for virtualmin also make sure your VPS has preferably 512MB RAM or more, 1GB if you will host a few domains.

Some VPS providers have some odd images though and using OpenVZ containers is less great then using Xen.

If the VPS has such odd image then manual configuration will be needed. I would first clean up the OS as far as I could before trying to install virtualmin. I doubt a little this path would be advisible for you though.

Fri, 04/20/2012 - 05:57
Locutus

I (mostly) agree with ronald: Especially on a VPS it should be no problem to have it reinstalled. My hoster even has an automated procedure for that. (Actually, my hoster has automated reinstall procedures also for non-VPS servers.)

So if your hoster doesn't allow reinstall, it's indeed time to find another one. I still have room on my VMWare servers if you wish to host in Germany. ;)

Also, I personally use Ubuntu with Virtualmin and it runs just fine. If you decide to use that, or Debian for the most part which is very similar, feel free to ask questions. :)

Fri, 04/20/2012 - 12:32 (Reply to #15)
mofpe

Okay, great. Now virtualmin is up and running. Reinstalled OS an VM. But now i'm trying to redirect a www.domainname.dk to another www.domainname.dk and tried following the the documents here. Not working. Do you Locutus or any other have an guide on what to do?

Fri, 04/20/2012 - 14:07
andreychek

You can setup a redirect from one domain to another by going into Server Configuration -> Website Redirects. You can define there what exactly gets redirected, and where it should be redirected to.

-Eric

Sat, 04/21/2012 - 00:13 (Reply to #17)
mofpe

Hi This right, and tried it, but for me as a newbie i'm a bit confused. What do this means (from virtualmin documentation): What URL do you want redirected? Enter the path in the Source URL path field. A URL path is something like /</code,

/foo, or /foo/bar.
 
In the Destination field, enter the full URL it should redirect to. That would look something like http://www.example.com/redirect_here/
 
I have this domainname on my VPS: www.fynsfugetag.dk and i would like to redirect it to www.fynsfugeogtag.dk
(as you can see i'm danish)
 
any god ideas

Sat, 04/21/2012 - 05:58
ronald
ronald's picture

you can try something like
Source mydomainname.dk/index.php
Target yourdomainname.dk/index.php

Or you can do a php redirect. Edit the index.php from source and add at the top:

<div class="codeblock"><pre><code><span style="color: #000000"><span style="color: #0000BB"><?php<br /></span><span style="color: #007700">&</span><span style="color: #FF8000">#10;header(&quot;Location: http://yourdomainname.dk/&quot;); /* Redirect browser */&#10;/* Make sure that code below does not get executed when we redirect. */&#10;exit;&#10;<br /></span><span style="color: #0000BB">?></span></span></code></pre></div>
Sat, 04/21/2012 - 23:24 (Reply to #19)
mofpe

thank you ronald. But at my sourcename there is no index file. Only the domain name. And i would like to use virtualmin becuase i'm not into php programming :-) So a simple redirect (i think)

Sun, 04/22/2012 - 03:36
Locutus

Try / for source and http://targetdomain.tld/ as target.

Sun, 04/22/2012 - 23:28 (Reply to #21)
mofpe

So great. Thanks to all of you for the help. It works.

Topic locked