Wednesday 22 May 2019

Bitnami - For security reasons, this URL is only accessible using localhost (127.0.0.1) as the hostname.

For security reasons, this URL is only accessible using localhost (127.0.0.1) as the hostname.

  1. login into your server using ssh or from lightsail ssh
  2. get default password
  • Username: root(it’s default)
  • Password: MnQERJ8dwswsdgcHkQ(Like this) .Connect to Bitnami Lightsail through SSH on Lightsail Dashboard to access the command line tool. Using cat bitnami_application_passwordto get the password, this is the same with the password you access to Wordpress (based on Lightsail) in the first time.
3. ### Modify the configuration file
Goto /opt/bitnami/apps/phpmyadmin/conffile
sudo nano/opt/bitnami/apps/phpmyadmin/conf/httpd-app.conf
changes are =
(a).
#Allow from 127.0.0.1
 Allow from all
(b).
#Require local
 Require all granted
------------------------------somthing like this------------------
<IfVersion < 2.3 >
 Order allow,deny
#Allow from 127.0.0.1
 Allow from all
 Satisfy all
</IfVersion>
<IfVersion >= 2.3>
#Require local
 Require all granted
</IfVersion>
4. ### Restart of apache
sudo /opt/bitnami/ctlscript.sh restart apache
5. ### Browsing
http://hostname/phpmyadmin/

## Caution

For security reasons, phpMyAdmin are accessible only when using 127.0.0.1 as the hostname.

No comments:

Post a Comment

Bitnami - For security reasons, this URL is only accessible using localhost (127.0.0.1) as the hostname.

For security reasons, this URL is only accessible using localhost (127.0.0.1) as the hostname. login into your server using ssh or from ...