Koozali.org: home of the SME Server
Obsolete Releases => SME 8.x Contribs => Topic started by: jonash on June 27, 2012, 11:01:33 PM
-
Hi,
I try to install phpmyadmin on sem8
The page SME8.0_Contribs_QA it states
smeserver-phpmyadmin
PHPMyAdmin - install as per wiki, works as expected
I was able to intstall, but nothing more.
signal-event post-upgrade; signal-event reboot does not help
I tried:
expand-template /usr/share/phpmyadmin/config.inc.php
expand-template /etc/httpd/conf/httpd.conf
/usr/local/bin/svc -h /service/httpd-e-smith
but the first commad gives error:
[root@fs phpmyadmin]# expand-template /usr/share/phpmyadmin/config.inc.php
ERROR: No templates were found for /usr/share/phpmyadmin/config.inc.php.
at /sbin/e-smith/expand-template line 45
Any suggestions?
Thanks
Jonas
-
jonash
"no templates ....."
If you used this command
yum --enablerepo=smecontribs install smeserver-phpmyadmin
then it probably/possibly did not install, as you need to configure sme7contribs repo until all contribs are added to the sme8 contribs repo
Check if installed by doing
rpm -q smeserver-phpmyadmin
and show us the output here.
-
Hmm...
This is what I thought I did...
db yum_repositories set sme7contribs repository \
GPGCheck yes \
MirrorList http://distro.ibiblio.org/pub/linux/distributions/smeserver/mirrorlist/smecontribs-7 \
Name 'SME 7 - contribs' \
Visible no \
status disabled
signal-event yum-modify
yum clean all
yum --enablerepo=sme7contribs install smeserver-phpmyadmin
But I must have missed something along the way. I did it again and now it works! But the file /usr/share/phpmyadmin/config.inc.php was there when I did the "template command", that's why I didnt do rpm -q smeserver-phpmyadmin to check the installation.
Thanks Mary!
Jonas
-
I got these errors
smeserver-phpmyadmin-2.11.1.2-3.el4.sme.noarch from sme7contribs has depsolving problems
--> Missing Dependency: phpmyadmin is needed by package smeserver-phpmyadmin-2.11.1.2-3.el4.sme.noarch (sme7contribs)
Error: Missing Dependency: phpmyadmin is needed by package smeserver-phpmyadmin-2.11.1.2-3.el4.sme.noarch (sme7contribs)
after running
db yum_repositories set sme7contribs repository \ GPGCheck yes \ MirrorList http://distro.ibiblio.org/pub/linux/distributions/smeserver/mirrorlist/smecontribs-7 \ Name 'SME 7 - contribs' \ Visible no \ status disabled
signal-event yum-modify
yum clean all
yum --enablerepo=sme7contribs install smeserver-phpmyadmin
-
Did you try yum --enablerepo=sme7contribs --enablerepo=smecontribs install smeserver-phpmyadmin
-
Why would I try that when the contrib says
Installation
This contrib can be found in the smecontribs repository. To install this contrib you will have to get shell access as root user, and issue the following command:
yum --enablerepo=smecontribs install smeserver-phpmyadmin
and elsewhere to use sme7contribs, but I didn't encounter the double enable! I do appreciate the tip, perhaps the documentation can be updated too!
-
Neither repo works at present,
Error getting repository data for sme7contribs, repository not found
or
No package smeserver-phpmyadmin available.
-
I see the files in http://distro.ibiblio.org/pub/linux/distributions/smeserver/releases/ (http://distro.ibiblio.org/pub/linux/distributions/smeserver/releases/)
Worst case you could copy the files to your server and do a yum localinstall. I installed it this last weekend on a test server and if memory is correct you would need the smeserver-phpmyadmin from 7 contribs and phpmyadmin and php53-mcrypt from 8
-
I have the same, I tried PHPMyAdmin and Phpmyadminmulti. There is nothing at 192.168.3.2/phpmyadmin
login as: root
root@192.168.3.2's password:
Last login: Sun Aug 12 14:36:23 2012 from 192.168.1.35
[root@webbi ~]# db configuration show phpmyadmin
[root@webbi ~]#
-
[root@webbi ~]# yum --enablerepo=smecontribs install smeserver-phpmyadmin
Loaded plugins: fastestmirror, protect-packages, smeserver
Loading mirror speeds from cached hostfile
* base: centos.copahost.com
* smeaddons: mirror.hakkers.com
* smecontribs: mirror.hakkers.com
* smeextras: mirror.hakkers.com
* smeos: mirror.hakkers.com
* smeupdates: mirror.hakkers.com
* updates: centos.copahost.com
Excluding Packages from CentOS - os
Finished
Excluding Packages from CentOS - updates
Finished
Setting up Install Process
No package smeserver-phpmyadmin available.
Nothing to do
[root@webbi ~]# db configuration show phpmyadmin
[root@webbi ~]#
-
Did you read http://wiki.contribs.org/SME8.0_Contribs_QA (http://wiki.contribs.org/SME8.0_Contribs_QA)? You'll likely need to setup the sme7contribs repo. I would also use:
yum --enablerepo=sme7contribs --enablerepo=smecontribs install smeserver-phpmyadmin
to install
-
Hi John,
thank you for your answer. It seems not to work:
[root@webbi /]# yum --enablerepo=sme7contribs --enablerepo=smecontribs install smeserver-phpmyadmin
Loaded plugins: fastestmirror, protect-packages, smeserver
Error getting repository data for sme7contribs, repository not found
[root@webbi /]#
-
xinspirit
please re-read carefully and twice the page johnp suggested to you, thank you
-
xinspirit
please re-read carefully and twice the page johnp succested to you, thank you
And in particular:
"Create a repo named sme7contribs, which points at the SME7 smecontribs repo"
-
in fact the as per wiki need some adaptation :
first you need to do this :
http://wiki.contribs.org/SME8.0_Contribs_QA#Setup
then you need to follow the wiki with this minor adaptation :
http://wiki.contribs.org/PHPMyAdmin
yum --enablerepo=smecontribs install smeserver-phpmyadmin --enablerepo=sme7contribs
and either
signal-event post-upgrade; signal-event reboot
or
expand-template /usr/share/phpmyadmin/config.inc.php
expand-template /etc/httpd/conf/httpd.conf
/usr/local/bin/svc -h /service/httpd-e-smith
by the way, this is useless as the version available in sme7contribs and in centos 5 repos of phpmyadmin are not compatible with sme 8 and php 5.3. It seems to work, but there is a lot of deprecated command in it, and by experience it may issue bad mysql request ( introducing errors in your data)
An alternative would be to use this version http://rpms.famillecollet.com/el5.i386/phpMyAdmin-3.5.2.1-1.el5.remi.noarch.rpm as it will be ok with php 5.3 , but i do not know what need to be modified in smeserver-phpmyadmin or smeserver-phpmyadmin-multiuser to be compatible with this rpm.
I do not have enough time to to test currently, but if you have you should give a try on a test server.