Things To Do After Initial Setup And Before Moving Website!

SYSTEM INFORMATION
OS type and version REQUIRED
Virtualmin version REQUIRED

Greetings, i have just installed virtualmin in my brand new vps ubuntu 24

after login to web panel, i have changes few this and that (which i understood well so far)

now, i want to move my live website from my shared hosting to this vps. before i go for the migration i have few questions:

  1. is there any guide to do things after virtualmin setup is ready?
  2. is any security things need to do to maintain hard/proper security of my server?
  3. is any firewall comes with it? or do i need to installer/update any firewall settings like port, etc.
  4. i see php 8.3 is comes with it. how to installer other version?
  5. any thing important that i may have missed?

thanks in advance

best regards

Everyone has a different approach to maintenance, hardening, general house-keeping. Virtualmin does a great job as an out-of-the-box system. You can tweak it to the max if you know what you do but if you just about to start, keep a low profile and stick to its defaults.

Set-up the right ports in the firewall, use Fail2Ban (already enabled). Besides, it always is a good idea to secure SSH through certificate-based authentication and put it to another port. Some folks go crazy and go the full route but that might damage more than it contributes.

Yes, it installs firewalld that you can access through Webmin > Networking > FirewallD

Cross-check with the guide.

i have tried to installer another php version which is 7.4, but i see, the extensions comes with default php 8.3 with virtualmin is much more than the 7.4.

  1. how can i list all the available extension for 7.4
  2. how to install only the selected from he mentioned list?

thanks again for your kind and detailed reply

best regards

use dnf install php74-php-{cli,fpm,pdo,gd,mbstring,mysqlnd,opcache,curl,xml,zip}
or
apt-get install php7.4-{cgi,cli,fpm,pdo,gd,mbstring,mysqlnd,opcache,curl,xml,zip}

depending on OS, is that what you mean?

but how to know/list all available extension so i can choose which one to install?

Just use php options in the virtual server and select from the drop down.

oh you mean this list?

There are hundreds of them. See PHP: Extension List/Categorization - Manual

thanks for your response… but that list is not same as downloadable extensions…

for example, there is only one downloadable extension named “xml” but in that list (which you have provided) has followings:

XML Parser
XMLDiff
XMLReader
XML-RPC
XMLWriter

thanks again for your reply though

best regards