New VPS LAMP install tips

laughingbuddha
Forum Regular
Forum Regular
Posts: 512
Joined: Mon Mar 10, 2008 9:12 pm
Location: Southampton, UK

New VPS LAMP install tips

Unread post by laughingbuddha »

Hi all,

I've just setup a cheap VPS at Digital Ocean, but this time to save money on licencing I'm not using Plesk, especially as it'll only host 1 domain anyway.

I'm being brave as a not very confident Linux user, and attempting to install a LAMP stack. CentOS 6 is on and the ART YUM channel is on, plus I've secured the SSH as recommended. Just wondering if there are any tips before I attempt Apache, PHP, and MySQL.

As a Plesk user on my other box this all gets installed for me, so to be going it alone like this is somewhat new ground for me. But I do want to replicate all the modules on my other box, as I've built a MVC web framework that works a charm on my Plesk 11 CentOS 6 server.

Any tips?
Matt

"Given that God is infinite, and that the universe is also infinite... would you like a toasted teacake?"

about.me/mattauckland
twitter.com/mattauckland
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8330
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Re: New VPS LAMP install tips

Unread post by scott »

Just dump your rpm db (rpm -qa) from the plesk box and duplicate all the php modules you see on that system to the new one.
laughingbuddha
Forum Regular
Forum Regular
Posts: 512
Joined: Mon Mar 10, 2008 9:12 pm
Location: Southampton, UK

Re: New VPS LAMP install tips

Unread post by laughingbuddha »

Oh right. So that command lists all the modules used, sweet. Thanks.

On another note, would ASL work on a VPS instance from Digital Ocean?
Matt

"Given that God is infinite, and that the universe is also infinite... would you like a toasted teacake?"

about.me/mattauckland
twitter.com/mattauckland
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8330
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Re: New VPS LAMP install tips

Unread post by scott »

Sure, unless its weird. Is it weird?
laughingbuddha
Forum Regular
Forum Regular
Posts: 512
Joined: Mon Mar 10, 2008 9:12 pm
Location: Southampton, UK

Re: New VPS LAMP install tips

Unread post by laughingbuddha »

Just in case anyone else wonders across this post, I found that the command php -m will also display a list of compiled modules.
Matt

"Given that God is infinite, and that the universe is also infinite... would you like a toasted teacake?"

about.me/mattauckland
twitter.com/mattauckland
Post Reply