Shop OBEX P1 Docs P2 Docs Learn Events
linux help needed — Parallax Forums

linux help needed

mctriviamctrivia Posts: 3,772
edited 2010-06-04 13:12 in General Discussion
I have sucesfully installed debian on a PIII 700Mhz machine.
I sucessfully setup ssh so I could use the computer headless.
I have sucessfully mounted a USB hard drive and setup apache2 to use /mnt/sda1/http/ as the default web page folder
I added an index.php with

<?php
  echo 'test' . (1+2) . '
';
?>




and going to http://192.168.0.100/
returns back

test3


as expected.

Now to wear I fail. During the setup of debian it asked if i wanted to set up mySQL database which I said yes. I am now trying to get phpmyAdmin running so I can have an easy editing platform to work on and I can't seem to get it to work.

http://www.debianhelp.co.uk/phpmyadmin.htm says I just have to type in:
#apt-get install phpmyadmin

it downloads a bunch of stuff and says it is installing it but when i do the next step in the instructions go to

http://192.168.0.100/phpmyadmin/

I get a 404 Not Found error.


Anyone have any advice on how to get it up and running?

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Lots of propeller based products in stock at affordable prices.

Comments

  • FranklinFranklin Posts: 4,747
    edited 2010-06-04 01:54
    forums.debian.net sorta like parallax but different

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    - Stephen
  • BradCBradC Posts: 2,601
    edited 2010-06-04 03:22
    or #debian on freenode

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    "I mean, if I went around sayin' I was an emperor just because some moistened bint had lobbed a scimitar at me they'd put me away!"
  • Martin HodgeMartin Hodge Posts: 1,246
    edited 2010-06-04 04:24
    404 means Apache can't find the php scripts. Did you try "localhost" in place of the ip address? or "127.0.0.1" (assuming you're trying this on the same box) Try putting a simple "hello world" in a test.html file in the same directory and see if you can pull it up.

    Also, do you know where phpMyAdmin installed? /var/www/html/ or /usr/local/apache/htdocs? (I'm not a Debianite)
  • mctriviamctrivia Posts: 3,772
    edited 2010-06-04 04:27
    i am not trying from the same machine. the server is headless.

    I know 404 means it can't find which means phpmyadmin did not get installed correctly. the web server does work though any html or php files i write will work.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Lots of propeller based products in stock at affordable prices.
  • rosco_pcrosco_pc Posts: 468
    edited 2010-06-04 07:22
    mctrivia said...

    setup apache2 to use /mnt/sda1/http/ as the default web page folder
    mctrivia said...

    #apt-get install phpmyadmin

    You have used a none 'standard' path for your www root-directory. Installing php-myadmin most likely used Debian's standard location (most likely /var/www). Check if this is the case and if yes, either move you php-myadmin directory to your www root directory or add a <directory> section in your apache config pointing to php-myadmin.
  • mctriviamctrivia Posts: 3,772
    edited 2010-06-04 13:12
    i misunderstood the instructions.

    When i got up this morning i downloaded http://sourceforge.net/projects/phpmyadmin/files/phpMyAdmin/3.3.3/phpMyAdmin-3.3.3-english.zip/download#!md5!4659ab73216ff015bc740505b15fdcd0

    unzipped it then copied it over to my /home/matthew folder (since i have yet figured out how to give myself ftp access to the /mnt/sda1 folder

    i then executed

    mv /home/matthew/phpmyadmin /mnt/sda1/http/

    and vwola it works.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Lots of propeller based products in stock at affordable prices.
Sign In or Register to comment.