First time installation

Hello guys i hope you can help me on this:

For the first time i decided to try out the webmin/virtualmin control panel for management of my web hosting and domain names, instead of the usual cPanel or Plesk. So i decided to get a new vps from a web hosting company with one adicional ip.

After a wille i got one email with my login data and all items i need to manage my webmin, so i decided to make the installation of virtualmin inside of my webmin. I upgraded the modules, installed BIND, Apache and MySQL, using YUM (auto installation in webmin control panel).

Also i made the installation for virtualmin and i have not changed anything of the settings of my hosting provider, right after i made the installation for virtualmin, i clicked in (re-check and refresh configuration) and i got a error message like this:

A problem was found with your Postfix virtual maps : No map sources were found in the Postfix configuration

Now… I came to this forum to search for solutions about this issue but i am not a expert in programming so like a newbie i am but i want to learn and i need to fix this problem, i dont know what i can do to proceed. I only know how to use webmin control panel, how can i fix this problem? Please help.

Hey guys, sorry about this, but i made a search in the forum for a solution for this issue and i did not found a solution for the Postfix configuration. I made a litle research about the virtual maps, went to the section and i found out that i have no maps defined:

(No map is currently defined. Define a map first, then you can edit it).

Now how can i define a map?

This is my Virtualmin Version 3.96.gpl and my webmin version is 1.610 and i have the CentOS Linux 6.3.

All this configurations were given by my web hosting provider, i just updated the webmin and installed the virtualmin. My hosting provider also gave me a control panel were i can install new OS like CentOS Linux 6.3 in other versions, maybe this is a version problem?

I’m assuming you did not use the installer script to install Virtualmin?

Especially as a newcomer to Virtualmin, it is highly suggested to use that. Start with a fresh and clean Linux, only install SSH as additional package, no Webmin, no Apache, no Postfix, no other hosting software. The script will do all the installation and configuration for you.

Also make sure to use a Class-A supported OS.

You can find instructions and the script here: https://www.virtualmin.com/documentation/installation/automated

In fact i can reinstall the OS and choose the one i want (linux), but i never used SSH before. I will make a new install of my OS, but by default my hosting provider makes the auto-install of webmin. So i am not sure how to fix this…

I used other panels before, but never webmin or virtualmin, now i decided to get a vps with 2 ips from a hosting provider, i think i got a really good deal for it, but my question is that i need to host multiple domain names and i decided to try virtualmin.

But using the webmin control panel i get problems in postfix, i never can make it work, but i think the configurations of my vps, it comes by default with webmin in every installation of a new OS are not ok or i dont know how to figure it out… I am on this for days now.

Right now i make a new installation, but the problem is that is never clean. Webmain comes, i might have to delete him then…

Getting Webmin pre-installed is no problem actually, as long as you don’t install Apache and Co. but let the installer script do that. You really should familiarize yourself with using SSH, you will very likely need it when you plan to do webhosting. :slight_smile:

Heyas, thanks a lot for the tips. I running now a new installation of the OS i have installed the Cent OS 6.3 (64 bit) in my vps with webmin 1.600 (as default) by my hosting provider, it also places my main ip inside, i dont configure nothing till now, its all automatic.

My vps configuration is:

Processor information: Intel® Core™ i7-2600K CPU @ 3.40GHz, 1 cores
Kernel and CPU: Linux 2.6.32-279.el6.x86_64 on x86_64
Virtual memory: 2 GB total, 0 bytes used
Local disk space: 96.46 GB total, 6.43 GB used
Package updates: 60 package updates are available
Operating system: CentOS Linux 6.3
Webmin version: 1.600

Till here i have the default configurations as my hosting provider gave me. Now what should i do? Install Virtualmin?

Yeah, it sounds like you have as fresh an install as one can get with a VPS :slight_smile: That’s good!

The next step would be to run the Virtualmin installer, which will install Webmin/Virtualmin, along with all of it’s dependencies.

You can find the Virtualmin installer in the “Download” link above.

-Eric

Yep, I’d say install the available package updates first, then download and run the Virtualmin installer script. CentOS 6 is Grade-A supported, so the installer should do it all forya. :slight_smile:

Hello there guys, thanks a lot for your help first of all. Well, till now i have installed all the updates and also i made the update of webmin to the version 1.610 (lattest), now this updates were made inside of the control panel of webmin using my browser, i hope this is ok.

I have downloaded Putty and i have made connection with my vps and also i am learning a few cmds, but i dont know how to use it yet…

Now my question is… Do i make the installation of virtualmin with webmin in my browser? Or do i use another method?

Howdy,

I would suggest closing your browser, and then following the instructions here:

http://www.virtualmin.com/download.html

The commands described there are commands you’d be running from within Putty, after logging into your server as root.

-Eric

Heyas thank you so much,

I logged in as root in my vps using putty and i have gave the instruction cmd to hostname -f in order to find out what is my hostname since i dont know what it was… Now i got a question about this…

The actual hostname is: vmi9003.other-thing.com, but i need to use one of my domain names here and edit this?

Lets say that i want to host the domain test12345.com as the main one…

I have created ns1 and ns2 for the domain name i want to host in the vps in my registar with the ips provided by my hosting provider, since i want to point other domains to this one later.

Meanwille, i made the download of install.sh. But i wait for a help, i dont know if my question about the domain name (hostname) is important or not.

Sorry, just one small detail, it might be important… In my vps, as far as i know, its only one ip configurated, so i dont know how to add the second ip to the vps, or do i just use the ns1 and 2… maybe?

Yeah, here come the expected follow-up questions. :wink:

The hostname you set in “/etc/hostname”. The domain in “/etc/hosts” where you need a line like

155.66.77.88 host host.domain.tld

(Example IP of course)

Important: hostname must show your hostname alone, and hostname -f and hostname -a must show the FQDN (fully qualified domain name, i.e. host+domain).

/etc/mailname must also contain your FQDN.

Additional IPs you can easily configure in Webmin’s Network modules. You can do that after installing Virtualmin.

You can set the hostname by running “hostname host.domain.tld”.

We recommend using an FQDN – which means using the format “host.domain.tld”, and not just “domain.tld”.

Then, edit “/etc/sysconfig/network”, and change the “HOSTNAME” field in there.

You can easily add a second IP later, after Virtualmin is setup.

-Eric

Hello and thanks for your help, i did also try your way but i got the same output (look in other reply)
-bash: /etc/sysconfig/network: Permission denied

Any more ideias?

Heyas, thank you very much for your help, i did made the steps you said, as i logged in Putty and as root i typed the cmd “/etc/hostname”, and i got this message:

[root@vmi9003 ~]# /etc/hostname
-bash: /etc/hostname: Permission denied

Also in hosts i got the same problem, but i made a research and i found a few cmds over the web, and i found that if i hit cmd: hostname he gives me vmi9003, also if i do a cmd: hostname -f i get: vmi9003.otherdomain.com, and i dont know how to edit this parameters, i am very new in putty but i am doing my best, any tip?

Heyas thank you so much for the help, i found some good tips that i think can solve this step i found them and i think its good to help other newbies like me in the future…

Here are some quick usages of the command line hostname:

type cmd: hostname
It will give you your current hostname vps.example.com

type cmd: hostname --fqd
it will output the fully qualified domain name (or FQDN) of the system.

type cmd: hostname my.newdomain.com
that is it!

vps/server changed!

Hello, just a question about domains, for example i have another domain that i want to use, also with the ns1 and ns2 already configurated, here is the link: http://who.is/nameserver/ns1.maxifut.com/

Any chance to use this one? I have set the IP that is the same of the server is this right? Or should i register a new one like vps.mydomain.com and add the IP, i am talking in A record in my registar i use domainsite.com

Howdy,

You don’t want to run those config files, you want to edit them :slight_smile:

You would open them up with your preferred text editor, and make any necessary changes in them.

-Eric

I recommend installing the “Midnight Commander”, which is a Norton Commander clone file manager, including a simple but useful text file editor. The package is usually called “mc”.