Koozali.org: home of the SME Server

Obsolete Releases => SME 7.x Contribs => Topic started by: arne on October 10, 2007, 10:27:27 PM

Title: How do I install phpmyadmin at the smeserver 7.2
Post by: arne on October 10, 2007, 10:27:27 PM
Just trying to do some documentation.

How do I install phpmyadmin at the smeserver 7.2

Title: Re: How do I install phpmyadmin at the smeserver 7.2
Post by: arne 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.
Title: Re: How do I install phpmyadmin at the smeserver 7.2
Post by: william_syd on October 12, 2007, 08:18:50 AM
Don't forget this one...

http://wiki.contribs.org/Phpmyadminmulti
Title: Re: How do I install phpmyadmin at the smeserver 7.2
Post by: rdtaylor 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
Title: Re: How do I install phpmyadmin at the smeserver 7.2
Post by: TrevorB 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 (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 (http://wiki.contribs.org/Phpmyadminmulti#Settings)

Trevor B
Title: Re: How do I install phpmyadmin at the smeserver 7.2
Post by: rdtaylor 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...