| 1 | = Webmin |
| 2 | |
| 3 | Webmin is a program that provides a web user interface (webUI) for Linux and Unix systems. Using this interface a wide range of different tasks can be performed such as console access, viewing system information, managing the network interfaces or a firewall, along with many others. |
| 4 | |
| 5 | For more details see the offical Webman Wiki introduction page: |
| 6 | |
| 7 | https://doxfer.webmin.com/Webmin/Introduction |
| 8 | |
| 9 | <Venicewebui.png> |
| 10 | |
| 11 | |
| 12 | == Video Overview |
| 13 | |
| 14 | A video overview of the contents of this page can be found here: |
| 15 | |
| 16 | https://youtu.be/_gZPoB-k6dg |
| 17 | |
| 18 | == Requirements: |
| 19 | |
| 20 | * A Gateworks SBC with Ubuntu Focal installed. Ventana, Newport, and Venice are all acceptable choices. |
| 21 | * A Desktop workstation on the same subnet as the SBC. |
| 22 | * An internet connection. |
| 23 | * Optionally a browser that supports Java (some modules require this). |
| 24 | |
| 25 | = Installation for Focal Ubuntu: |
| 26 | |
| 27 | Copy these commands into your serial console, this can be done as one full block. |
| 28 | {{{ |
| 29 | wget -qO - http://www.webmin.com/jcameron-key.asc | sudo apt-key add - |
| 30 | sudo sh -c 'echo "deb http://download.webmin.com/download/repository sarge contrib" > /etc/apt/sources.list.d/webmin.list' |
| 31 | sudo apt update |
| 32 | sudo apt install webmin -y |
| 33 | }}} |
| 34 | |
| 35 | == Connecting to the Web User Interface |
| 36 | |
| 37 | On your workstation navigate to !https://<HOSTNAME>:10000/ |
| 38 | |
| 39 | '' |
| 40 | For example !https://focal-newport:10000/'' |
| 41 | |
| 42 | The default login credentials are, username "root", password "root" |
| 43 | |
| 44 | == Troubleshooting |
| 45 | |
| 46 | If the webmin webUI is not available check the service manager: |
| 47 | {{{ |
| 48 | systemctl status webmin |
| 49 | }}} |
| 50 | |
| 51 | Error output can be accessed by executing: |
| 52 | {{{ |
| 53 | /etc/webmin/start |
| 54 | }}} |
| 55 | |
| 56 | = Navigating the UI |
| 57 | |
| 58 | On the top left side there are two tabs "Webmin" and "Dashboard". "Dashboard" displays system information, the "Webmin" tab contains selections for accessing modules, you will see the tab automatically switch when a submenu is selected. The "Webmin > Webmin" menu contains options for configuring Webmin, such as menus to update the password, change the theme, or use a different language. Other Webmin servers can be added and accessed through the "Webmin Servers Index". |
| 59 | |
| 60 | ** Note: ** To add a server the "hostname" field should only contain the $HOSTNAME not "http" or any other superfulous information. |
| 61 | |
| 62 | = Webmin Modules |
| 63 | |
| 64 | Webmin has over 100 modules that can be used, for more details please reverence the Webmin wiki: |
| 65 | |
| 66 | https://doxfer.webmin.com/Webmin/Webmin_Modules |
| 67 | |
| 68 | If you would like to add a module select "Unsused Modules" then the module you would like to install. For example, to add "Samba Windows File Sharing" got to "Webmin > Un-used Modules > Samba Windows File Sharing", then select "Install Now". Allow time for the package list to populate, you will be prompted "Are you sure you wish to install the 38 packages listed below? This may include dependencies of packages that you selected.", select "Install Now" the UI will display the console output so it's clear what's being installed, once complete select "Return To Samba Windows File Sharing". Now you're presented with a host of options for configuring Samba. |
| 69 | |
| 70 | == Firewall |
| 71 | |
| 72 | <webminfirewall.png> |
| 73 | |
| 74 | To configure the firewall from within the webUI select "Webmin > Networking > Linux Firewall", "Activate at boot" "Yes", then "Reset Firewall". Select options approprate for your use case, then "Setup Firewall", add the rules you would like then "Apply Configuration" |
| 75 | |
| 76 | For more information: |
| 77 | |
| 78 | https://doxfer.webmin.com/Webmin/Linux_Firewall |
| 79 | |
| 80 | |
| 81 | == Terminal |
| 82 | |
| 83 | When connected to the webUI press the key combination "Alt + K" to open a terminal shell. |
| 84 | |
| 85 | == Package management |
| 86 | |
| 87 | === Updates |
| 88 | |
| 89 | If you would like to update packages through the webUI select "Webmin > System > Software Package Updates", here you can see what packages can be updated, also which packages are security updates. "Select all" or whatever your preference is, "Update Selected Packages", then "Install Now". The UI will display the console output so it's clear what's occurring during the update process. Once the update is completed select "Return to package list". |
| 90 | |
| 91 | === Installing Packages |
| 92 | |
| 93 | To install a package navigate to "Webmin > System > Software Packages", select "Search APT .." then type the package name, a list of packages will be displayed in a manner similar to "apt cache search", click the hyperlink for the package, this will populate the "Package from APT" field, select the bubble then "install". You will be presented with a page stating "Are you sure you wish to install the ## packages listed below? This may include dependencies of packages that you selected.", then select "Install Now". |
| 94 | |
| 95 | |
| 96 | = Official Wiki |
| 97 | |
| 98 | Please visit the official Webmin pages: |
| 99 | |
| 100 | * http://www.webmin.com/ |
| 101 | * https://doxfer.webmin.com/Webmin/Main_Page |
| 102 | |
| 103 | For support: |
| 104 | |
| 105 | * http://www.webmin.com/mailing.html |