Mediawiki Fix Internal Server Host Names / Redirection In shared Hosting or Proxy Setup

If you have a MediaWiki installation in a shared hosting environment or behind a proxy, you may encounter issues with internal server host names and redirection. Here are some steps you can take to resolve these issues: Modify the $wgServer setting in your LocalSettings.php file: $wgServer = “http://your.server.name”; This should be set to the fully … Read more

Linux / UNIX: Bash Loop Forever

In a Linux or Unix shell, you can create an infinite loop using the while loop. The syntax for the while loop is as follows: while true; do [command1] [command2] … done Here, true is a command that always returns a successful exit status (0), so the loop will continue to execute indefinitely until it … Read more

OpenBSD Command: See PCI Device Information

In OpenBSD, you can see information about the PCI devices on your system by using the “pcictl” command. This command provides information about the PCI buses, PCI devices, and PCI functions present on the system. To display information about all PCI devices on the system, run the following command: pcictl dump You can also display … Read more