This tutorial continues from previous one
Configuring virtualmin:
Configuring virtualmin is a bit confusing. Just follow the
following step by step tutorial to configure it properly
.
1. Login in your webmin control panel by going this ip
https://<your-ip-address-here>:10000 Your browser may show security warning about certificate. Just ignore it. Now, use your root username and password to
login.
(If you are facing problem to access this link, then you
have to use proxy to temporary fix this problem. You can also fix this problem
permanently by changing port 10000 to other. We will discuss about this fix
later.)
2. In the introduction page, click cancel button to use
default settings of virtualmin.
3. You'll see a error regarding configuration. Click
"Re-check and refresh configuration" button. It'll recheck your
configuration based on your server.
4. You'll see some errors. Let's fix these one by one.
Error 1:
The ClamAV program clamscan does not appear to be working
properly :
LibClamAV Error: cli_loaddb(): No supported database files found in /var/lib/clamav/ ERROR: Can't open file or directory
LibClamAV Error: cli_loaddb(): No supported database files found in /var/lib/clamav/ ERROR: Can't open file or directory
Fix
Simply, run this command in your SSH client as root.
freshclam
Go to Virtualmin -> System Settings -> click "Re-Check Configuration". Now you may see this error
Error 2:
MySQL is installed and running, but does not have any root
password set! This should be changed immediately in the MySQL Database module.
Fix:
Click on "MySQL Database" and select a password to
protect MySQL database.
Again go to Virtualmin -> System Settings -> click "Re-Check Configuration". Now you may see this error
Error 3:
Default IP address is set to 127.0.0.2, but the detected
external address is actually xxx.xxx.xxx.xxx. This is typically the result of
being behind a NAT firewall, and should be corrected on the module
configuration page.
Fix:
You'll get this error on OpenVZ VPS. To fix this, follow the
following steps.
a. Click on "module configuration"
b. Under "Configuring category" dropdown, select
"Network settings"
c. In "network interface virtual address, write
"venet0:0" instead of "venet0".
d. Also set "venet0:0" in "Default virtual
server IPv6 address" filed
e. Click save.
f. Now you'll face this error after save.
Your system's primary IP address appears to have changed
from 127.0.0.2 to <your-server-ip-address>. Virtual servers using the old
address may be unreachable or serve the wrong web content.
g. Click "Update Incorrect IP Addresses"
h. In the next page, just click "Change Now".
Leave everything as default.
Go to Virtualmin -> System Settings -> click "Re-Check Configuration". Now you may see this
error.
Error 4:
"The module could not find the mount point for your home directories filesystem /home. Quotas editing has been disabled."
Or
Quotas are
not enabled on the filesystem / which contains home directories under /home and
email files under /home. Quota editing has been disabled.
Fix:
Actually, there is nothing to fix. It's normal for OpenVZ
VPS. There is nothing wrong.
Also, you'll see this messageat the end of the page:
.. your system is ready for use by Virtualmin.
You have successfully configured Virtualmin for NGINX.
No comments:
Post a Comment