![]() You can use root as a username with your root password, or as any user who can use sudo. Or, you can install an SSL certificate for a domain hosted on your server, and access Webmin using “ “. You can ignore the warning, accept the self-signed SSL certificate provided by the control panel, and proceed to the login screen. It’s likely that when you access Webmin like this, your browser will output a message about the connection being insecure. Make sure to replace the “server_IP_Address” in the URL with your actual server IP address. With this info, you can open your favorite browser web browser, type your server IP address followed by :10000, and you should be able to see the ‘Login to Webmin interface’ message. The default port on which the Webmin service listens is port 10000. With this method, unlike the previous one, all dependencies should be resolved automatically. Now we can install Webmin with these commands: sudo apt install apt-transport-https ![]() With the following commands, we will fetch and install the GPG key with which the repository is signed: cd /root Open the /etc/apt/sources.list with your favorite editor (in this example we will use nano): sudo nano /etc/apt/sources.listĪdd the following line to the end of the file: deb sarge contrib With this method, we will use the Webmin APT repository to install the Webmin control panel.įirst, we need to add the Webmin repository. Using the Webmin APT Repository (Method 2) Webmin will automatically be installed in the /usr/share/webmin directory, and by default, the installation will set an administrator username and password. Once this is done, we then have to install several dependencies: sudo apt install perl libnet-ssleay-perl openssl libauthen-pam-perl libpam-runtime libio-pty-perl apt-show-versions pythonĪfter downloading the Webmin package and after all dependencies are properly installed, we can continue installing Webmin with the following command: sudo dpkg -install webmin_1.900_all.deb We will use the wget command to download the Webmin package: wget With this method, we will install Webmin by using the Debian package -this is suitable for Debian, Ubuntu, or other Debian-based Linux distributions. Webmin Installation from a Package (Method 1) The first thing to do once you are logged in is to make sure that all of the installed OS packages are up to date: sudo apt update Log in via SSH to the server as the root user (or as a user with sudo privileges): ssh -p Port_number 2. Webmin gives you access to many things you normally need to access through the console, and organizes them in an intuitive way. You now have a secured instance of Webmin and have used the user interface to create a user and update packages. We hope you like this article on How to install Webmin 2.0 on Ubuntu Server 22.04. $ sudo systemctl status webmin Final Words Lastly, check the status of the Webmin service before accessing it on the browser: So, we have to open the port “1000” in the Firewall to make the Webmin accessible from the Internet: ![]() This complete address will be used for accessing Webmin.īy default, Webmin listens for the connection on the port “10000”. Wait for a few minutes as the installation of Webmin will take some time to complete.Īlso, note the server URL/IP address with the port specified in the output. If you have carefully followed the previously given steps, then at this point, your Ubuntu 22.04 is all set for the installation of Webmin: $ sudo add-apt-repository “deb sarge contrib” Utilize the below-given command for adding the Webmin repository to the Ubuntu 22.04 system software sources: $ wget cat jcameron-key.asc | gpg –dearmor | sudo tee /etc/apt//jcameron-key.gpg >/dev/null Now it’s time to import the Webmin GPG key for signing the packages in the repository:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |