Koozali.org: home of the SME Server

How do I install phpmyadmin at the smeserver 7.2

Offline arne

  • *****
  • 1,116
  • +0/-4
How do I install phpmyadmin at the smeserver 7.2
« on: October 10, 2007, 10:27:27 PM »
Just trying to do some documentation.

How do I install phpmyadmin at the smeserver 7.2

......

Offline arne

  • *****
  • 1,116
  • +0/-4
Re: How do I install phpmyadmin at the smeserver 7.2
« Reply #1 on: October 10, 2007, 10:28:37 PM »
Install via yum did not work, but fount this info page:

http://wiki.contribs.org/PHPMyAdmin

1. Downloaded from here:

http://distro.ibiblio.org/pub/linux/distributions/smeserver/contribs/dmay/smeserver/7.x/

2. Downloaded the rpm and issued this command from the download directory:

yum localinstall ./smeserver-phpmyadmin*

3. And then logged into the server on this link:

https://10.0.0.1/phpmyadmin/

Where 10.0.0.1 is the address of ny sme gateway. Useraccount "admin" and password as for the server-manager panel.

worked ok. No problems.
« Last Edit: October 10, 2007, 11:00:43 PM by arne »
......

Offline william_syd

  • *****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
Re: How do I install phpmyadmin at the smeserver 7.2
« Reply #2 on: October 12, 2007, 08:18:50 AM »
Regards,
William

IF I give advise.. It's only if it was me....

Offline rdtaylor

  • **
  • 26
  • +0/-0
Re: How do I install phpmyadmin at the smeserver 7.2
« Reply #3 on: October 18, 2007, 08:57:52 AM »
Thank you for the contrib!

I have installed it and it is running, however, it seems to be accessible from the external interface (ie. from the internet).

I want the wiki to be only accessible to the LAN hanging off our SME server.

How do I go about adding this restriction?

Thanks

Offline TrevorB

  • *
  • 259
  • +0/-0
    • http://www.batley.id.au
Re: How do I install phpmyadmin at the smeserver 7.2
« Reply #4 on: October 18, 2007, 01:21:38 PM »
I have installed it and it is running, however, it seems to be accessible from the external interface (ie. from the internet).

I want the wiki to be only accessible to the LAN hanging off our SME server.

How do I go about adding this restriction?
I guess it depends on which contrib you used?

If using the one from Darrell (http://wiki.contribs.org/PHPMyAdmin), you will have to hack the templates
Code: [Select]
cp /etc/e-smith/templates/etc/httpd/conf/httpd.conf/86PhpmyadminAlias /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/86PhpmyadminAlias
nano /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/86PhpmyadminAlias
(do whatever changes are needed & then ctrl+o & ctrl+x)
expand-template /etc/httpd/conf/httpd.conf
sv r /etc/init.d/httpd-e-smith

If using the PHPAdminMulti, use the settings from the wiki

Trevor B

Offline rdtaylor

  • **
  • 26
  • +0/-0
Re: How do I install phpmyadmin at the smeserver 7.2
« Reply #5 on: October 18, 2007, 02:30:47 PM »
ooops!

Crikey! I must have had a blank mind moment!

I thought I was posting this in the forum topic for the MediaWiki contrib.

It's Media Wiki which I have installed and want to avoid being access from outside our LAN...

sorry...and thanks for the advice anyway...