PDA

View Full Version : installing in another dir ..ware is it


babawillis
07-03-2005, 07:58
hello i am a new dedicated user and not too sure bout a coule things i was looking into installing modernbill for my site and sais that i got to configure some php.ini file but with my dedi i got ftp account for it that all i c is a normal /home/admin and dont see noware ware the files would be my phpadmin can not be set up without pw and the 1 i go from fdc for my ddi account will not enable that eather ...so my question is how do i get elsware other then just seeing my normal user directory


plez help

mikron15
07-03-2005, 12:54
I didn't follow 100 % from what you said... Based on what i understood , to edit ur php.ini file, login to ur box using SSh ( Putty is a common windows client for it) and then type
updatedb ( will take 1-9 mins to return back to prompt)
locate php.ini

You can't rely on ftp to do everything, learn to use the *nix editors ( such as jed, pico, nano, vi). Quick tutorial on pico found at http://cirt.unm.edu/howtos/ht410.html

After finding the location, type:
pico /path/to/ur/php.ini ( if u have pico installed)

As for your phpadmin, i am guessing your talking about the MYSQL root passwd. If you have CPanel installed, login into WHM and under MYSQL category, click on MySQL Root Password. IF you have Cpanel installed, you don't need to install PHPAdmin , as Cpanel installs it for yah.

Now, if you don't have Cpanel, then its another story....

faqall
07-03-2005, 15:37
can someone please move all the off topic threads in the how to section to where they belong!

babawillis
07-03-2005, 23:28
thankyoiu mikron15 for your reply to my post i was able to locate the file but i cant get to that dir with my ftp account and i dont have pico installed onn my box so what do i do now...how to i make a ftp account in my main dir of the so i can go through all my files the default dir that my direct admin made me just shows me a folder called domains and mail ...can you sugest anything for me to do now
thankyou for all your help :hey:

mikron15
07-04-2005, 13:33
I still forbid you to use ftp acct to do editing lol

To install pico, u need to install the package called 'pine'
If you have apt installed try this at ur ssh prompt:
apt-get install pine

OR If you have yum installed, type this:
yum install pine

OR the manual way:
Based on ur OS,
Follow this http://www.washington.edu/pine/getpine/linux.html

The ftpd jails u to that use home dir only. You can't browse other ppl homedir. You could disable that, but its a pain in the ass. Instead, learn some linux editing!!