How to install Webmin via Repo with different Port?

SYSTEM INFORMATION
OS type and version Debian and Ubuntu
Webmin version Nothing

Hi,

i tried to install webmin with the standard Installation Guide: Downloading and Installing | Webmin

My Problem is, i cant install webmin with apt-get, cause the Port 10000 is already used.
The packagemanager give me this error.

How i can solve it without manual installation? Can i add an argument or set the config before?

Thanks

@corin.corvus,

Perhaps temporarily disable whatever is using the port, install Webmin, then change the port within Webmin, then re-enable the service using port 10000.

1 Like

Another way is not possible?

You only need to do that once. Once you install it, you can configure Webmin to listen on a different port, and then subsequent upgrades should be fine.

That said, I assume Webmin is an unconfigured state (because there’s no way for the package manager to know what port it uses, so it has to be the postinstall script that is failing), so it is already partially installed (the files are there but the postinst script failed). If so, you can edit /etc/webmin/miniserv.conf to change the port from 10000 to something else, and then run dpkg --configure -a to trigger the postinstall script again, which will try to start Webmin again and will presumably succeed.

1 Like

This topic was automatically closed 8 days after the last reply. New replies are no longer allowed.