Page 1 of 1

Apache default directory or Phpmyadmin

Posted: 07 Nov 2010, 08:04
by Mediahuone
Hi,

I'm trying to install phpmyadmin on B3 so I need the htdocs-directory to install phpmyadmin though the SSH.

If Phpmyadmin is installed, could you give me a address to get into the main page of phpmyadmin.

Best regards,
Matti

Re: Apache default directory or Phpmyadmin

Posted: 07 Nov 2010, 08:30
by Mediahuone
Hi,

Now I've another concern. I installed webmin but I really don't know how the heck I can get in to it?

I'm sorry that I'm bothering with noob questions but I'm really a newbie in Linux :)

Matti

Re: Apache default directory or Phpmyadmin

Posted: 07 Nov 2010, 13:40
by Ubi
Did you bother to read through the documentation that came with webmin (or phpmyadmin for that matter)?
try
http://b3:10000

Ubi

Re: Apache default directory or Phpmyadmin

Posted: 07 Nov 2010, 16:45
by Mediahuone
Hi,

Yes, I tried b3:10000 on winxp and b3.local:10000 on my Mac. Neither worked. While installing it says:

Code: Select all

root@b3:/home/web# dpkg -i webmin_1.520_all.deb
(Reading database ... 38672 files and directories currently installed.)
Unpacking webmin (from webmin_1.520_all.deb) ...
Port 10000 is already in use
dpkg: error processing webmin_1.520_all.deb (--install):
 subprocess new pre-installation script returned error exit status 2
Errors were encountered while processing:
 webmin_1.520_all.deb
What should I do? :?

Re: Apache default directory or Phpmyadmin

Posted: 08 Nov 2010, 00:36
by DanielM
Mediahuone wrote:Port 10000 is already in use
This is because Excitos own ftd (the file transfer daemon used for downloading files) uses port 10000-14000. I guess the easiest solution would be to edit the file /etc/ftd/ftdconfig.ini and change the variable listenportstart from 10000 to 10001 to free the port (might need a "/etc/init.d/filetransferdaemon restart" to re-read the settings).

After that you should probably run a "dpkg-reconfigure webmin" to try again.

/Daniel

Re: Apache default directory or Phpmyadmin

Posted: 09 Nov 2010, 12:48
by Mediahuone
Hi. I changed the port (and refreshed) and deleted all files that were installed uncorrectly and tried to install it, but linux is complaining:

Code: Select all

dpkg: dependency problems prevent configuration of webmin:
 webmin depends on libnet-ssleay-perl; however:
  Package libnet-ssleay-perl is not installed.
 webmin depends on libauthen-pam-perl; however:
  Package libauthen-pam-perl is not installed.
 webmin depends on apt-show-versions; however:
  Package apt-show-versions is not installed.
dpkg: error processing webmin (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 webmin
root@b3:/home/web# 
I've gotten very frustrated with this because my client is waiting. Please and help me.

/Matti

Re: Apache default directory or Phpmyadmin

Posted: 09 Nov 2010, 13:29
by DanielM
Mediahuone wrote:

Code: Select all

dpkg: dependency problems prevent configuration of webmin:
 webmin depends on libnet-ssleay-perl; however:
  Package libnet-ssleay-perl is not installed.
 webmin depends on libauthen-pam-perl; however:
  Package libauthen-pam-perl is not installed.
 webmin depends on apt-show-versions; however:
  Package apt-show-versions is not installed.
dpkg: error processing webmin (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 webmin
root@b3:/home/web# 
Since you're installing using dpkg no dependencies are taken care of, like they do when installing using apt-get. So if you first install the packages mentioned (apt-get install libnet-ssley-perl libauthen-pam-perl apt-show-versions) and then try again I think it would work better.

/Daniel

Re: Apache default directory or Phpmyadmin

Posted: 09 Nov 2010, 14:42
by Mediahuone
Hi! Now I managed to install webmin with success. Thanks for help!

Now I've problem with going to admin page of Webmin. I've tried to put b3:10000/b3.local:10000 (on Mac) and the IP instead of b3/b3.local with no change.

Can this have something to do with modem/router?

/Matti R.