How to Set Up Your Own SWMP – Server Web Monitor Page

Jul 21, 2023 | Programming

Looking for a way to visualize and monitor the performance of your Linux server? SWMP (Server Web Monitor Page) is a fantastic solution! Despite not being actively maintained, you can still fork and use this project under the MIT license. In this guide, we will walk you through the requirements, installation process, customizable settings, and some troubleshooting tips to ensure everything works smoothly.

Requirements

To get started with SWMP, ensure your server meets the following requirements:

  • Linux Operating System
  • A Web Server (Nginx, Apache, etc.)
  • PHP with shellexec() and exec() enabled

Installation

Installing SWMP can be done either the easy way or manually. Let’s explore both methods.

The Easy Way

Simply run the installation script from the following repository:

https://github.com/fuzzymannerz/swmp/blob/gh-pages/install.sh

The Manual Way

  1. Download the Zip file.
  2. Extract the files to your web server. It’s wise to secure access, perhaps with .htpasswd.
  3. And that’s it! You’re all set!

Settings

SWMP offers a customizable settings page where you can:

  • Select from various themes
  • Choose the desired language
  • Change the window title
  • Show or hide elements on the main page
  • Access debugging options

All theme stylesheets are located in ~css/themes/.

Language Support

SWMP is versatile and can be translated into any language. On the settings page, you will find a dropdown box that selects from the available language files in the locale tag format (e.g., en_GB.php), stored in the lang folder.

Show Some Love

If you find SWMP useful, consider showing some appreciation!

BTC: 1DUJH2kqccDpTHHSCXDkRGhxtvXm9PdnkN

Troubleshooting

While setting up SWMP, you may encounter a few hiccups. Here are some steps you can take to resolve common issues:

  • Ensure that your PHP settings for shellexec() and exec() are enabled. If they’re not, you’ll need to adjust your php.ini file.
  • If the dashboard does not display correctly, double-check that the theme files are appropriately placed in the ~css/themes/ directory.
  • If you cannot see the language options, verify that the language files are present in the lang folder.

For more insights, updates, or to collaborate on AI development projects, stay connected with fxis.ai.

Contributions and Credits

SWMP owes its functionality to numerous contributors and projects, including:

At fxis.ai, we believe that such advancements are crucial for the future of AI, as they enable more comprehensive and effective solutions. Our team is continually exploring new methodologies to push the envelope in artificial intelligence, ensuring that our clients benefit from the latest technological innovations.

Stay Informed with the Newest F(x) Insights and Blogs

Tech News and Blog Highlights, Straight to Your Inbox