How to install php, phpmyadmin and apache and others in a VPS?

jiri2

Verified User
Joined
Jul 24, 2011
Messages
37
Hi,
I just bought a VPS with Linux CentOS 32 bit and Direct Admin.

I chose the Self Managed option, which means I don't get support, thinking it might make me more self subsistent in the long run. It's 10 bucks a month less.

I only had experience with a reseller before this, and thought things like php, phpmyadmin and apache would be installed already.

However, they're not, or at least it seems so.

I still want to do this on my own though, and would greatly appreciate your kind help.

So let's see if I have this right. I started to suspect I wouldn't have the phpmyadmin I was so accustomed on the reseller, when I went to User Level, Advanced features, clicked on phpMyAdmin and the user and password wasn't the same as my DA user and pw.

I checked and double checked, but perhaps rightly concluded even though DA was sending me to a user and password popup page, the issue was that I didn't have phpmyadmin.

So how to instal phpmyadmin?

That's when it came to me I hadn't installed php or apache. Am I right assuming these two things are probably not installed?

I do have ftp access of course, and there are certainly no folders with apache, php or phpmyadmin. Then again, these weren't available at my reseller either, but of course that's because I didn't have root access over there, whereas here clearly I do.

So as I come to terms with what it means to have root access, am I right in assuming these three things are what I need to install? Or am I missing anything out?

Any good tutorial out there to install them?

Perhaps somewhere on DirectAdmin, I can find how to install them?

Also, reading tutorials like this one http://www.eukhost.com/forums/f15/how-install-phpmyadmin-pma-linux-vps-dedicated-server-4234/ is starting to dispel the notion in me that thought I could just ftp the php, phpmyadmin and apache files. They seem to be using something that's probably called SSH access. Is this a must or will my ftp do?

And when these tutorials talk about /usr/share/ wouldn't they mean I can just create a folder called 'share' inside my root- I understand root to be the / that's above all the other subfolders-, and ftp it all to the 'share' folder?
 
http://www.directadmin.com/installguide.html

Just login to SSH and run the following commands.

wget http://www.directadmin.com/setup.sh
chmod 755 setup.sh
./setup.sh

And follow the instructions

IoxHost Limited

I'm not sure what you mean.

First, I believe I already have DirectAdmin installed.

Second of all, how can I login into SSH?

I believe installing DirectAdmin doesn't by default install phpmyadmin. Am I right?

I'm looking for a way to install php, phpmyadmin, apache. Things I think are not in my install of directadmin.
 
To access phpmyadmin as superuser you should use username "da_admin", and admin's password (that one to login into directadmin). To access phpmyadmin as a regular user, you should first create a database, and then with its credentials login into phpmyadmin.
 
Secondly, if you want to manage your copy of directadmin, you should realy make friends with Google and http://help.directadmin.com/

Thirdly, an answer regarding using SSH can be found here

p.s. if you have directadmin running, in most cases php, phpmyadmin and apache should be installed with directadmin itself.
 
I've deleted that other thread, and I've moved zEitEr's reply to this thread.

DirectAdmin comes with apache, ssh, phpmyadmin, etc. But there are things you will need to do, including firewalling, updating, etc. That $10/month could have been a bargain.

Jeff
 
Back
Top