Help installing eAccelerator (wiki is not clear)

Help installing eAccelerator (wiki is not clear)

Posted by: basketmen
Posted on: 2008-07-28 17:14:00

i am this instruction in wiki, but the instruction is not clearly http://wiki.dreamhost.com/EAccelerator

Nb. i have custom php4 already






question 1. where i need to upload eacinstall.sh ?

is it in /home/username/ or in /home/username/domain.com







question 2. its says : making it executable from the shell (chmod +x eacinstall.sh), and then execute it ( ./eacinstall.sh )


so i need to ssh like this

chmod +x eacinstall.sh

and execute it like this right

/home/username/eacinstall.sh







please share your knowledge guys




Re: Help installing eAccelerator (wiki is not clear)

Posted by: sXi
Posted on: 2008-07-28 23:47:00

In reply to:

question 1. where i need to upload eacinstall.sh ?
is it in /home/username/ or in /home/username/domain.com


I usually run scripts from the user's "root" directory: /home/username/

In reply to:

question 2. its says : making it executable from the shell (chmod +x eacinstall.sh), and then execute it ( ./eacinstall.sh )
so i need to ssh like this
chmod +x eacinstall.sh
and execute it like this right
/home/username/eacinstall.sh


Assuming you upload the script into your root (username) directory, login to shell and issue the following:

$ cd ~/ <-- just to ensure you're at root
$ chmod +x eacinstall.sh <-- allow the script to be executable
$ ./eacinstall.sh <-- runs the script


Tags: php4wikishell