Koozali.org: home of the SME Server

I'm new and need some help

Offline gmschmitz

  • *
  • 19
  • +0/-0
Re: I'm new and need some help
« Reply #15 on: November 27, 2008, 04:07:46 AM »
tspoon,
  Thanks I was able to get to the command line now, I must have typed in something wrong earlier. I ran the command to see what is installed on the server and I see phpmyadmin. I'm not sure what the exact path is to run the yum localinstall /path/to/smeserver-phpmyadmin*.rpm. I tried to ftp in and find it but I don't see anything. Do you know what the path would be?

Offline tspoon1986

  • **
  • 33
  • +0/-0
Re: I'm new and need some help
« Reply #16 on: November 27, 2008, 05:55:49 AM »
You'd have to download the rpm first to do a local install. Try the following command instead:

I think the wiki page is a bit outdated though. If you need to install it, you can run:

Code: [Select]
yum install smeserver-phpmyadmin

Offline gmschmitz

  • *
  • 19
  • +0/-0
Re: I'm new and need some help
« Reply #17 on: November 27, 2008, 04:59:24 PM »
That didn't work either, I get this message:

Parsing package install arguments
No Match for argument: smeserver-phpmyadmin
Nothing to do

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: I'm new and need some help
« Reply #18 on: November 27, 2008, 05:09:17 PM »
That didn't work either, I get this message:

Parsing package install arguments
No Match for argument: smeserver-phpmyadmin
Nothing to do

hi

the right syntax is
Code: [Select]
yum --enablerepo=smecontribs install smeserver-phpmyadmin

HTH
ciao

Stefano

Offline gmschmitz

  • *
  • 19
  • +0/-0
Re: I'm new and need some help
« Reply #19 on: November 27, 2008, 05:46:08 PM »
Thanks that seemed to work. It said I should run this below:
signal-event post-upgrade; signal-event reboot

Should I or do I have to? Does this mean the server will reboot? Does it turn off and power back on by itself. I am not where the server is and I can't afford for it to not come back on line.

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: I'm new and need some help
« Reply #20 on: November 27, 2008, 05:52:57 PM »
I think that it's not necessary..

Ciao
Stefano

Offline gmschmitz

  • *
  • 19
  • +0/-0
Re: I'm new and need some help
« Reply #21 on: November 27, 2008, 05:56:53 PM »
Thanks nenonano,
 Now I guess my question is how to I access the PHPMyadmin. I tried to go to domainname.com/phpmyadmin and domainname.com/myadmin and got 404error pages. Thanks for all your help and Happy Thanksgiving !!

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: I'm new and need some help
« Reply #22 on: November 27, 2008, 06:19:34 PM »
Hi

AFAIK you have to use https.. so htpps://yourserver/myadmin should work

Ciao

Stefano

Offline e[nt]e

  • *
  • 172
  • +0/-0
Re: I'm new and need some help
« Reply #23 on: November 27, 2008, 06:25:42 PM »
AFAIK you have to use https.. so htpps://yourserver/myadmin should work
https://yourserver/phpmyadmin ;)
1984 wasn't meant to be a manual.

Offline gmschmitz

  • *
  • 19
  • +0/-0
Re: I'm new and need some help
« Reply #24 on: November 27, 2008, 06:39:20 PM »
hmmm that didn't work either

Offline Frank VB

  • ****
  • 127
  • +0/-0
Re: I'm new and need some help
« Reply #25 on: November 27, 2008, 06:57:14 PM »
If you install the phpmyadmin contrib you'll probably have to expand the template config.inc.php. I had this issue a couple of weeks ago and issueing this command at the command line solved the problem:

Code: [Select]
expand-template /opt/phpmyadmin/config.inc.phpand then
Code: [Select]
service httpd-e-smith restart
Use https://servername.domainname.toplevel/phpmyadmin for accessing phpmyadmin.
« Last Edit: November 27, 2008, 07:00:49 PM by frankvb »

Offline gmschmitz

  • *
  • 19
  • +0/-0
Re: I'm new and need some help
« Reply #26 on: November 27, 2008, 07:02:52 PM »
I tried that and got:
Code: [Select]
expand-template /opt/phpmyadmin/config.inc.php
ERROR: Cannot create output file //opt/phpmyadmin/config.inc.php.28576 No such file or directory
 at /sbin/e-smith/expand-template line 45

I looked at it and thought maybe to delete one of th/ in front of opt, but still got this:
Code: [Select]

[root@mml ~]# expand-template opt/phpmyadmin/config.inc.php
ERROR: Cannot create output file /opt/phpmyadmin/config.inc.php.28580 No such file or directory
 at /sbin/e-smith/expand-template line 45

My IP is set up in the server so I can remote in but the phpmyadmin is set to private right now. Should I be able to get in remotely if I can with everything else or do I need to set it to public?

I see that I can use the command
db configuration setprop phpmyadmin access (private|public)
signal-event ibay-modify

I'm assuming I need to put:
db configuration setprop phpmyadmin access public
signal-event ibay-modify

Is that correct or do I need to change any more of that?

Offline Frank VB

  • ****
  • 127
  • +0/-0
Re: I'm new and need some help
« Reply #27 on: November 27, 2008, 07:23:07 PM »
Code: [Select]

[root@mml ~]# expand-template opt/phpmyadmin/config.inc.php
ERROR: Cannot create output file /opt/phpmyadmin/config.inc.php.28580 No such file or directory
 at /sbin/e-smith/expand-template line 45
Could you verify (with Midnight Commander) if this file config.inc.php and directory (opt/phpmyadmin) exist at all. Just type:
Code: [Select]
mcat the command line and browse through your directory structure. They should be there.

Offline gmschmitz

  • *
  • 19
  • +0/-0
Re: I'm new and need some help
« Reply #28 on: November 27, 2008, 07:41:16 PM »
I do not see either one.

« Last Edit: November 27, 2008, 07:45:45 PM by gmschmitz »

Offline Frank VB

  • ****
  • 127
  • +0/-0
Re: I'm new and need some help
« Reply #29 on: November 27, 2008, 08:16:11 PM »
If you're in MC type:
Code: [Select]
cd /optWhat directories do you see in the /opt directory? If you see a phpmyadmin directory then type:
Code: [Select]
cd phpmyadminWhat files and directories do you see there? Do you see the config.inc.php file listed?