Koozali.org: home of the SME Server

Installing phpMyadmin Issue

Offline howardr

  • *
  • 20
  • +0/-0
Installing phpMyadmin Issue
« on: July 12, 2012, 12:48:46 AM »
Greetings all,

I’ve been trying for the past several days to install phpMyAdmin in SMEServer 8.0 with no success.  Let me state for the record that I’m a newbie at this.

I downloaded the tar file for the 3.5.2 English version and place the untared files in the following path:

/home/e-smith/files/ibays/mycom/html/phpMyAdmin

No matter how I try to access the setup/index.php in phpMyAdmin directory using my Firefox browser it doesn’t work.  I’ve followed directions from various php docs and nothing has worked.

I.E. www.mycom.com/phpMyAdmin/setup/index.php and all sort of variations thereof and still nothing is working.

I've tried my internal and external IP addresses instead of the www. also.

Any help in getting this setup so at least I know I can get to the setup screens will be appreciated.

Thanks.

Offline chris burnat

  • *****
  • 1,135
  • +2/-0
    • http://www.burnat.com
Re: Installing phpMyadmin Issue
« Reply #1 on: July 12, 2012, 08:10:06 AM »
Greetings all,

I’ve been trying for the past several days to install phpMyAdmin in SMEServer 8.0 with no success.  Let me state for the record that I’m a newbie at this.

I downloaded the tar file for the 3.5.2 English version and place the untared files in the following path:

/home/e-smith/files/ibays/mycom/html/phpMyAdmin

No matter how I try to access the setup/index.php in phpMyAdmin directory using my Firefox browser it doesn’t work.  I’ve followed directions from various php docs and nothing has worked.

I.E. www.mycom.com/phpMyAdmin/setup/index.php and all sort of variations thereof and still nothing is working.

I've tried my internal and external IP addresses instead of the www. also.

Any help in getting this setup so at least I know I can get to the setup screens will be appreciated.

Thanks.

Have you checked the available contribution for this package?  I have not tried it on SME8, however, according to the Wikis, it works.
Check:

Code: [Select]
http://wiki.contribs.org/PHPMyAdmin
and

Code: [Select]
http://wiki.contribs.org/SME8.0_Contribs_QA#smeserver-phpmyadmin
Moving to Contribs section of the forums, this is not a core issue.
- chris
If it does not work out of the box, please fill in a Bug Report @ Bugzilla (http://bugs.contribs.org)  - check: http://wiki.contribs.org/Bugzilla_Help .  Thanks.

Offline TerryF

  • grumpy old man
  • *
  • 1,847
  • +6/-0
Re: Installing phpMyadmin Issue
« Reply #2 on: July 12, 2012, 10:49:31 AM »
Have you checked the available contribution for this package?  I have not tried it on SME8, however, according to the Wikis, it works.
Check:
Code: [Select]
http://wiki.contribs.org/PHPMyAdmin
Code: [Select]
http://wiki.contribs.org/SME8.0_Contribs_QA#smeserver-phpmyadmin

It does, work that is..
--
qui scribit bis legit

Offline howardr

  • *
  • 20
  • +0/-0
Re: Installing phpMyadmin Issue
« Reply #3 on: July 13, 2012, 02:48:11 AM »
Thanks for the reply.

The yum command in the following link:
http://wiki.contribs.org/SME8.0_Contribs_QA#smeserver-phpmyadmin

does not work, as it appears and states that:

No package smeserver-phpmyadmin available.

Could this be caused by the fact that the repository is wrong, not updated etc.???


Offline chris burnat

  • *****
  • 1,135
  • +2/-0
    • http://www.burnat.com
Re: Installing phpMyadmin Issue
« Reply #4 on: July 13, 2012, 03:02:33 AM »
Thanks for the reply.

The yum command in the following link:
http://wiki.contribs.org/SME8.0_Contribs_QA#smeserver-phpmyadmin

does not work, as it appears and states that:

No package smeserver-phpmyadmin available.

Could this be caused by the fact that the repository is wrong, not updated etc.???

Chances are this contrib has not yet been ported to sme8 contribs section of the repos.  You need to enable sme7 contribs repo to access this package. If not sure how to do this, ask.
- chris
If it does not work out of the box, please fill in a Bug Report @ Bugzilla (http://bugs.contribs.org)  - check: http://wiki.contribs.org/Bugzilla_Help .  Thanks.

Offline TerryF

  • grumpy old man
  • *
  • 1,847
  • +6/-0
Re: Installing phpMyadmin Issue
« Reply #5 on: July 13, 2012, 03:11:48 AM »
Chances are this contrib has not yet been ported to sme8 contribs section of the repos.  You need to enable sme7 contribs repo to access this package. If not sure how to do this, ask.

Correct, the sme7contrib setting that is.
--
qui scribit bis legit

Offline howardr

  • *
  • 20
  • +0/-0
Re: Installing phpMyadmin Issue
« Reply #6 on: July 13, 2012, 03:33:49 AM »
Being a newbie, would you be kind enough to advise how to set up the repository mentioned above.

Thanks

Offline TerryF

  • grumpy old man
  • *
  • 1,847
  • +6/-0
Re: Installing phpMyadmin Issue
« Reply #7 on: July 13, 2012, 03:41:08 AM »
Being a newbie, would you be kind enough to advise how to set up the repository mentioned above.

Thanks

http://wiki.contribs.org/SME8.0_Contribs_QA
--
qui scribit bis legit

Offline chris burnat

  • *****
  • 1,135
  • +2/-0
    • http://www.burnat.com
Re: Installing phpMyadmin Issue
« Reply #8 on: July 13, 2012, 07:13:08 AM »
Being a newbie, would you be kind enough to advise how to set up the repository mentioned above.

Thanks

Actually, I suspect that it is a little more involved...

First of all, you need to provide access to sme7contribs.
From command line as root do (copy the whole of the 6 lines of commands below and paste in your terminal, i.e. putty):

Code: [Select]
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

Next do:
Code: [Select]
signal-event yum-modify
#Next check results:
Code: [Select]
/sbin/e-smith/audittools/repositoriesaddons: disabled
base: enabled
centosplus: disabled
contrib: disabled
extras: disabled
sme7contribs: disabled <----HERE!
smeaddons: enabled
smecontribs: disabled
smedev: disabled
smeextras: enabled
smeos: enabled
smetest: disabled
smeupdates: enabled
smeupdates-testing: disabled
updates: enabled

Note: if you cannot see sme7contribs:disabled, you may have to perform:
Code: [Select]
yum clean all
#check again using /sbin/e-smith/audittools/repositories

# Then follow http://wiki.contribs.org/PHPMyAdmin using following initial command:

Code: [Select]
yum --enablerepo=smecontribs --enablerepo=sme7contribs install smeserver-phpmyadminNote: we need to enable both the sme7contribs and sme8 contribs (referred as smecontribs) Repos for deps.
[snip]
Install       4 Package(s)
Upgrade       0 Package(s)

Total download size: 4.4 M
Is this ok [y/N]: y
Downloading Packages:
[snip]
Installed:
  smeserver-phpmyadmin.noarch 0:2.11.1.2-3.el4.sme                                                                                                             

Dependency Installed:
  libmcrypt.x86_64 0:2.5.8-4.el5.centos                php53-mcrypt.x86_64 0:5.3.3-1.el5                phpmyadmin.noarch 0:2.11.11.3-2.el5.rf               

Complete!

==============================================================
WARNING: You now need to run BOTH of the following commands
to ensure consistent system state:

Code: [Select]
signal-event post-upgrade; signal-event reboot#Note: ensure that the server enters reboot stage before closing your terminal.

#Then follow the rest of the instructions in the Wikis.  I have installed on my test server as above and it is looking OK:
Code: [Select]
[root@test864 ~]# db configuration show phpmyadmin
phpmyadmin=configuration
    access=private

No warranty
- chris
If it does not work out of the box, please fill in a Bug Report @ Bugzilla (http://bugs.contribs.org)  - check: http://wiki.contribs.org/Bugzilla_Help .  Thanks.

Offline mealogav

  • *
  • 27
  • +0/-0
Re: Installing phpMyadmin Issue
« Reply #9 on: March 01, 2013, 10:22:54 AM »
I've tried to follow these instructions for installing phpMyAdmin on SME7 and after the
yum --enablerepo=smecontribs --enablerepo=sme7contribs install smeserver-phpmyadmin

I get this error "Cannot find a valid baseurl for repo: base".  Any help or ideas please?

[root@databox2 ~]# yum --enablerepo=smecontribs --enablerepo=sme7contribs install smeserver-phpmyadmin
Loading "installonlyn" plugin
Loading "protect-packages" plugin
Loading "fastestmirror" plugin
Loading "smeserver" plugin
Setting up Install Process
Setting up repositories
sme7contribs              100% |=========================| 2.3 kB    00:00
not using ftp, http, or file for repos, skipping - 4 is not a valid release or hasnt been released yet
Cannot find a valid baseurl for repo: base
Error: Cannot find a valid baseurl for repo: base
[root@databox2 ~]#

Offline chris burnat

  • *****
  • 1,135
  • +2/-0
    • http://www.burnat.com
Re: Installing phpMyadmin Issue
« Reply #10 on: March 02, 2013, 12:41:26 AM »
- chris
If it does not work out of the box, please fill in a Bug Report @ Bugzilla (http://bugs.contribs.org)  - check: http://wiki.contribs.org/Bugzilla_Help .  Thanks.