Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save hnuzhoulin/fdc2c9b80ec06adff20d05d10cb1aa4a to your computer and use it in GitHub Desktop.
Save hnuzhoulin/fdc2c9b80ec06adff20d05d10cb1aa4a 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.

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