By referring to Better Alternative to phpMyAdmin post, some might ask why did RunCloud be too restrictive? Is there any other way to easily install phpMyAdmin on RunCloud? Or it just can’t?
The answer is, you can easily install phpMyAdmin but you have to understand one thing, each system is a Web Application. The previous post was the best practice for a better server management. It is a good practice not to have a public facing Web Application to manage your database. But it’s a personal preference.
Creating A Web Application
As usual, create your Web Application for phpMyAdmin. You can either choose a bogus domain or real domain which pointed to your server’s IP Address.
If you are using a bogus domain, you need to modify your hosts file located inside /etc/hosts for both Mac or Linux. You also need to attach self-signed SSL certificate to the Web Application because without a proper SSL implementation, your data can be easily sniffed.
But if you are using a real domain name, the best is to use LetsEncrypt because it is free. Yeah!
You may upload phpMyAdmin using SFTP or using wget command inside the server. But the perks of using RunCloud, there is a better way to do the job.
The Script Installer function inside RunCloud is not just there to be fancy. It is a great tool to easily install your script inside your Web Application. By choosing phpMyAdmin inside Script Installer, you can easily install phpMyAdmin under five seconds.
That’s it! If you are opening your browser and pointing to your Web Application domain, you will have a phpMyAdmin login page waiting for you to log in.