Web Hosting Talk







View Full Version : Where to input command


craper
08-15-2009, 10:19 AM
Hello
I would like to know where I should type the command? I haven't done it before.
I just can't find text input box for me to type command anywhere in WHM.


I want to install cURL in my VPS. I have VPS plan with WHM and Cpanel.
PHP 5.2.8.

CURL install steps in Mandrake 9.1:
==========================================================
cp -r /usr/src/php-devel/extensions/curl /tmp/curl
cd /tmp/curl
phpize
./configure
make install
echo "extension = curl.so" > /etc/php/90_curl.ini

Restart apache web server.
==========================================================
curl.so is in:
/usr/lib/php/extensions/

look in phpinfo, the string:
/etc/php/90_curl.ini

Needs these tools:
autoconf
automake
libtool
m4
php430-devel-430-11mdk.rpm

bear
08-15-2009, 10:21 AM
You will need to open a root shell to issue these commands.

craper
08-15-2009, 11:35 AM
how to open a root shell. I search this phrase on google. Can't find it.

tomozj
08-15-2009, 01:25 PM
You'll need an SSH client such as PuTTY (google it) to connect. Mac OSX / Linux has it's own shell and thus can ssh out of the box (Terminal).

You should type "ssh root@<IP of server>" without quotes to open a connection to the server, and enter a password (will not echo) when prompted. Be careful though when logged in as root user on your VPS if you don't know what you're doing - you could easily wipe the entire machine with one line.