Flushing the swap file in Webmin without rebooting

Flushing the Swap file (Virtual Memory):

# swapoff -a && swapon -a

Disabling the Swap File:

# sudo swapoff -a

Permanently Disabling the Swap File:

# nano /etc/fstab

And # hash out the line indicated as swap then reboot:

/etc/fstab
/dev/mapper/centos-root / xfs defaults 0 0
UUID=5cd945c2-5ca7-48c5-b67b-0f3610534e8f /boot xfs defaults 0 0
/dev/mapper/centos-home /home xfs defaults 0 0
# /dev/mapper/centos-swap swap swap defaults 0 0

Remove Webmin Logo in Login Screen

Good day!

I am running the latest version: Webmin v1.932

I was searching for a while on how to remove the Webmin logo in the login screen and other stuff related to the Webmin admin page!

Here is the solution that worked for me.

Locate session_login.cgi” and edit it in here…,  /usr/libexec/webmin/authentic-theme/session_login.cgi and remove the Webmin heading and logo by taking out the code lines below:

Look for the line code: #114 to #119 and remove the code.

print '<i class="wbm-webmin"></i><h2 class="form-signin-heading">
<span>'
. (
&get_product_name() eq 'webmin'
? $Atext{'theme_xhred_titles_wm'}
: $Atext{'theme_xhred_titles_um'}
) . '</span></h2>' . "\n";

Enterprise HP server for reliable business performance and data management.

I removed the “must enter username and password…” text code by removing the line #126:

print '<p class="form-signin-paragraph">' .
&Atext('login_message') . '<strong> ' . $host .
'</strong></p>' . "\n";

High-performance HP server for data centers, enterprise applications, and virtualization. Reliable,.

Here is the semi-final result:

HP Server for Enterprise Data Management and Virtualization.

NOTE: After a Webmin update you will have to redo all steps!

We are not done yet!

Now let’s remove the “Login to Webmin” in the browser tab title.

Locate the file in /usr/libexec/webmin/authentic-theme/authentic-lib.pm

Comment out lines #1749 to #1755 to remove the page title.

HP server optimized for enterprise applications and data management. Reliable, scalable, and secure.

Now verified that the title is gone! You will see your *”domain name” instead of the “Login to Webmin” title.

HP server hardware for enterprise data centers and IT infrastructure.

We are almost done here!

Now let’s remove or change the Webmin favicon.ico

Navigate to /usr/libexec/webmin/ and locate the favicon.ico and rename it to favicon.ico-renamed. Upload your own favicon.ico in /usr/libexec/webmin/

Here is the final result:

Modern HP server optimized for enterprise data storage and processing.

My last suggestion would be to change your webmin port 10000 to another one.

Here you go!

7 Days to Die Alpha 18 Release

With over 2.5 million copies sold on PC (digital download), 7 Days to Die has redefined the survival genre, crafting and world-building content. Set in a brutally unforgiving post-apocalyptic world overrun by the undead, 7 Days to Die is an open-world game that is a unique combination of first person shooter, survival horror, building, and role-playing games.

The best update so far!

Deploy date to public : 10-07-2019 (12:45pm Est Time)

Enjoy!