problem installing a php plugin (need root access)

Status
Not open for further replies.

flieks

New member
Mar 8, 2008
2
0
0
Hi,

i want to install php plugin zend optimizer on my dedi server.

i can login to shell via putty.exe and try to install it via "./install.sh" and it says: "you need root privileges".

if i login as root then i'm at the root and can't go to www or public_htm of a certain account at my server..there are other directories there like "install log" and "tmp".

can someone help?
thanks
 


if i login as root then i'm at the root and can't go to www or public_htm of a certain account at my server..there are other directories there like "install log" and "tmp".

Sounds like your in the root directory, and not logged in as the root user?

Try this command at the prompt:

whoami

This should return 'root' to indicate that you're logged in as root. If it doesn't return 'root', then type:

su -

and then enter the root password when you're prompted for a password.

Once you are logged in as root, you will be able to move around your file system with god like privileges. You will find your users accounts in /home. So you can do something like

cd /home
ls -la

You should get a list of user account directories for your machine. cd to the appropriate directory, and you know the rest I guess...

Good luck.
 
thanks. it was the /home i needed (folder is invisible). installed succesfully.
thanks again for the help
 
Status
Not open for further replies.