phpMyAdmin on ViciBox v.9.0+
![Post Post](./styles/vicidial/imageset/icon_post_target.gif)
On ViciBox v.9.0 (and v.8.1+ I believe) phpMyAdmin is not setup by default even if you select it during the install. This was done deliberately because phpMyAdmin is a HUGE security hole. I cannot stress enough how much of a security problem phpMyAdmin is if it ever gets exposed to the public internet. It's very likely your box will be compromised within an hour if it is inadvertently exposed.
However, if after reading the above and accepting the potential risk should phpMyAdmin not be properly secured, here's how you enable it:
Once you run the above code, phpMyAdmin will just start working. The default apache configuration file for phpMyAdmin limits accessibility to local IPs only by default as well. To further secure or grant additional IP access you will need to edit /etc/apache2/conf.d/phpMyAdmin.conf and make the appropriate modifications.
However, if after reading the above and accepting the potential risk should phpMyAdmin not be properly secured, here's how you enable it:
- Code: Select all
ln -s /usr/share/phpMyAdmin /srv/www/htdocs/
Once you run the above code, phpMyAdmin will just start working. The default apache configuration file for phpMyAdmin limits accessibility to local IPs only by default as well. To further secure or grant additional IP access you will need to edit /etc/apache2/conf.d/phpMyAdmin.conf and make the appropriate modifications.