Replace yourpassword with your preferred password. sudo /usr/share/webmin/ /etc/webmin root yourpassword.To change Webmin’s root password, use the following command: This process won’t change the system root password it’ll just tell Webmin to use the password you specify for the login. Let’s tell Webmin to use a different password for its web interface. If you log in to your server using an SSH key, you may not have the system root password, or may not feel comfortable using it to log in remotely through a browser. Virtualmin is an add-on to Webmin, and by default, Webmin uses the system root user and password for the web interface login. Step 3 - Configuring Webmin’s Root Password Once the script completes, you can configure the root password. The script will take some time to complete all the steps as it installs various software packages and components. Press y to confirm that you want to continue the installation. ![]() The script will display a warning message about existing data and compatible operating systems. ![]() Once you’re comfortable with the contents of the script, use it to install Virtualmin and its prerequisites: While this script comes from the official Virtualmin website, you may want to open the script in your editor and review the contents before running it. To install Virtualmin, download and run the official Virtualmin installation script, which will install Virtualmin, and Webmin, along with a LAMP stack, BIND, and Postfix. You have prepared the server by setting the hostname, FQDN, and the network configuration. Make sure there is a space before 127.0.0.1. To change the hostname for your server, open the file /etc/hostname in your editor:ĭelete the current hostname and replace it with your hostname: To check the current server hostname, run this command: Next, change the hostname to match the FQDN you’ve pointed to the server in the prerequisites. Then install any necessary updates and packages to ensure you start with a stable and up-to-date system. Once you have logged in, update the package database: your_, where your_ is your domain name.įor Virtualmin to work properly, you need to configure the hostname and FQDN on the server itself by editing the /etc/hostname and /etc/hosts files, as well as update your DNS settings so DNS lookups resolve properly.įirst, log in to your server as your non-root user.
0 Comments
Leave a Reply. |