Setting up PHPMyAdmin to Usermin Module Rumi, June 12, 2008 Webmin and Usermin are simply great- but it lacks the most widely used PhpMyadmin support! However, after googling for a while I got a solution for this. First need to download and setup the usermin module- here’s the URL for wbm package- http://awstats.sourceforge.net/files/phpmyadmin-1.0.wbm How to install PHPMyAdmin Module ? Go to Usermin > usermin Module insert the above URL to the text box- “From ftp or http URL” Click “Install module from file”. The module will be installed Then go Usermin > Usermin module configuration section Select “Mysql Database (PHPMyAdmin)” PHPMyAdmin URL to open- enter your full server name (default fqdn name such as http://ns4.geospacehosting.com/phpadmin) It’s done! Next to configure Apache Go to Webmin > Servers > Apache Webserver Click “Default Server” Click “Alias and Redirects” In “Document Directory Aliases” section- enter From “/phpadmin” To “/etc/phpadmin”. This actually means- http://ns4.geospacehosting.com/phpadmin or any virtual hosted domain such as https://tweenpath.net/phpadmin (here tweenpath.net is the vhosted server) Click “Apply Changes” It’s done! Most important but the core PHPMyAdmin upload and configuration You need to upload the PHPMyAdmin utility software package to “/etc/phpadmin”, i.e. to the target hosting server Open “config.inc.php” file with a text editor like emacs find [‘auth_type’] and enter “http” as authentication It’s done! Related Configurations (Linux)
Install and configure fail2ban January 4, 2015 Servers do not exist in isolation, and those servers with only the most basic SSH configuration can be vulnerable to brute force attacks. fail2ban provides a way to automatically protect the server from malicious signs. The program works by scanning through log files and reacting to offending actions such as… Read More
Varnish sample vcl for rtmp / m3u8 stream March 18, 2023 vcl 4.0; import std; backend default { .host = “127.0.0.1”; .port = “8090”; } acl purge { “127.0.0.1”; } sub vcl_recv { if(req.method == “PURGE”){ if (!client.ip ~ purge) { return(synth(405,”Not allowed.”)); } return (purge); } return (hash); } sub vcl_backend_response { if (bereq.url ~ “m3u8”) { # assuming chunks… Read More
Install ionCube Loader on a CentOS 7 December 8, 2019 1. Log in to your CentOS 7 VPS via SSH as user root # ssh root@IP_Address and update all installed services # yum update 2. Run the ‘arch’ command in the terminal to check if your system is 32-bit (i686) or 64-bit (x86_64) # arch x86_64 3. In our case… Read More