linux help needed
mctrivia
Posts: 3,772
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
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.
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
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
- Stephen
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"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!"
Also, do you know where phpMyAdmin installed? /var/www/html/ or /usr/local/apache/htdocs? (I'm not a Debianite)
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.
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.
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.