Webmin and the Standard Module Choice: Difference between revisions
mNo edit summary |
mNo edit summary |
||
| Line 6: | Line 6: | ||
==== Solution ==== | ==== Solution ==== | ||
* Download: <code><nowiki>https://github.com/webmin/webmin/archive/refs/tags/2.020.tar.gz</nowiki></code> | |||
* Copy: <code>webmin/edit_mods.cgi</code>, <code>webmin/install_mod.cgi</code>, <code>webmin/standard_chooser.cgi</code> → <code>/usr/local/webmin/webmin/</code> | |||
* Edit: <code>/usr/local/webmin/webmin/install_mod.cgi</code> → save downloads as <code>module.wbm.gz</code>, not full URL string. | |||
* Create/Edit: <code>/usr/local/webmin/webmin/standard-local.txt</code> → paste alphabetized module catalog. | |||
* Edit: <code>/usr/local/webmin/webmin/webmin-lib.pl</code> → make <code>list_standard_modules()</code> read <code>/usr/local/webmin/webmin/standard-local.txt</code>. | |||
* Edit: <code>/usr/local/webmin/webmin/lang/en</code> → add/fix <code>mods_standard=Standard module</code> and <code>mods_standard2=Standard module</code>. | |||
* Edit: <code>/etc/webmin/webmin/config</code> → remove <code>standard_url=</code>. | |||
* Delete: <code>/www/webmin-standard.txt</code>. | |||
* Chmod: <code>755</code> on <code>edit_mods.cgi</code>, <code>install_mod.cgi</code>, <code>standard_chooser.cgi</code>. | |||
* Restart: service webmin restart | |||
And the code that'll do everything automatically;<syntaxhighlight lang="text"> | And the code that'll do everything automatically;<syntaxhighlight lang="text"> | ||