Skip to content

Instantly share code, notes, and snippets.

@minazou67
Last active February 4, 2019 11:10
Show Gist options
  • Save minazou67/0cce3033bb02df557b51 to your computer and use it in GitHub Desktop.
Save minazou67/0cce3033bb02df557b51 to your computer and use it in GitHub Desktop.
How to remote access to phpMyAdmin on Bitnami Redmine Stack

How to remote access to phpMyAdmin on Bitnami Redmine Stack

Bitnami Redmine Stack の phpMyAdmin にリモート端末からアクセスする方法です。

Environment

  • Debian jessie
  • bitnami-redmine-3.1.0-0-linux-x64

How to remote access

Modify the configuration file

下記の設定ファイルを変更し、アクセス可能なアドレスを変更します。

$ sudo vi /opt/redmine-3.1.0-0/apps/phpmyadmin/conf/httpd-app.conf
<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>

Restart of apache

Apache を再起動します。

$ sudo /opt/redmine-3.1.0-0/ctlscript.sh restart apache

Browsing

Web ブラウザから下記のURLにアクセスします。

http://hostname/phpmyadmin/

Caution

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

@liborjelinek
Copy link

Thanks! You saved my day!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment