This website is deprecated, and remains online only for historic access to old issues and docs for historic versions of Virtualmin. It has been unmaintained for several years, and should not be relied on for up-to-date information. Please visit www.virtualmin.com instead.
Install Ubuntu without any server packages, i.e. "bare" with only SSH. Make sure to have an externally resolvable, fully qualified host/domain name for the server.
The Virtualmin installer actually handles installing most of that for you -- it'll make sure Apache, MySQL, PHP, amongst many other things -- are on there.
My recommendation would be to do a minimal installation of your distribution, run the Virtualmin installer, and then poke around to see what all is there. Then, if you happen to notice something not there that you want, go ahead and install it.
One thing you might need to post-install is the PHP MySQL module. You'll see that when the first site you install wants to access a MySQL database and complains about missing functions. :)
I instal virtualmin on the server in my home network with local ip and it's was ok. But when i set the dedicated IP and a run re-chech there was some problem whit postfix:
"Your Postfix configuration is missing the system's mail hostname xxxx from the mydestination line, which will cause mail to bounce."
I follow http://www.virtualmin.com/node/17748 and still noting. I put
mydestination = localhost.com, localhost xxxx
in /etc/postfix/main.cf and restart the postfix and still noting.
I don't know what name should exist on mydestination in main.cf . I just see that in /etc/postfix/main.cf at the and of mydestination line there mas be my hostname, so i put it there.
Well, if "xxxx" is what's returned by the "hostname" command, then that's what would need to go at the end of your mydestination line. You can add that in addition to whatever else is on that line.
Also, make sure you have the most recent Virtualmin version... some previous versions mis-detected what the current hostname was, so it gave the error you're seeing incorrectly. The most recent version (3.87) doesn't have that problem.
As I wrote i add the hostname "xxxx" at the and of mydestination. And restart postfix after and still no lack. Virtualmin don't work. I have the virtualmin 3.87 gpl version.
mydestination = localhost.com, localhost xxxx
Sorry as I wrote the content of mydestination is see that there in no "," after localhost.
My bed. Now it's working ok.
Install Ubuntu without any server packages, i.e. "bare" with only SSH. Make sure to have an externally resolvable, fully qualified host/domain name for the server.
Instructions for automated (highly recommended) Virtualmin installation are here: http://www.virtualmin.com/documentation/installation/automated
Tanks a lot.
You're welcome, and good luck hosting web stuffs! If you have questions, feel free to ask, since I'm using the exact same setup. :)
And when should instal php mysql and apache or instal lamp before instaling virtualmin or after?
Howdy,
The Virtualmin installer actually handles installing most of that for you -- it'll make sure Apache, MySQL, PHP, amongst many other things -- are on there.
My recommendation would be to do a minimal installation of your distribution, run the Virtualmin installer, and then poke around to see what all is there. Then, if you happen to notice something not there that you want, go ahead and install it.
-Eric
Yep, what Eric said.
One thing you might need to post-install is the PHP MySQL module. You'll see that when the first site you install wants to access a MySQL database and complains about missing functions. :)
I instal virtualmin on the server in my home network with local ip and it's was ok. But when i set the dedicated IP and a run re-chech there was some problem whit postfix: "Your Postfix configuration is missing the system's mail hostname xxxx from the mydestination line, which will cause mail to bounce."
I follow http://www.virtualmin.com/node/17748 and still noting. I put mydestination = localhost.com, localhost xxxx in /etc/postfix/main.cf and restart the postfix and still noting.
Any help Tanks a lot
Howdy,
What output do you receive if you run the command "hostname" on your server?
It's that name which needs to exist on the mydestination line of your main.cf file.
-Eric
i receive xxxx when i run the hostname command.
I don't know what name should exist on mydestination in main.cf . I just see that in /etc/postfix/main.cf at the and of mydestination line there mas be my hostname, so i put it there.
Any suggestion?
Well, if "xxxx" is what's returned by the "hostname" command, then that's what would need to go at the end of your mydestination line. You can add that in addition to whatever else is on that line.
Also, make sure you have the most recent Virtualmin version... some previous versions mis-detected what the current hostname was, so it gave the error you're seeing incorrectly. The most recent version (3.87) doesn't have that problem.
-Eric
As I wrote i add the hostname "xxxx" at the and of mydestination. And restart postfix after and still no lack. Virtualmin don't work. I have the virtualmin 3.87 gpl version.
mydestination = localhost.com, localhost xxxx
Sorry as I wrote the content of mydestination is see that there in no "," after localhost. My bed. Now it's working ok.
Tanks a lot :)
Now it's ok