I have some questions, i will list them inside

October 28, 2013 2k views
I used hostgator for the hosting but since had some problems with them i decided to try a ubuntu 12.04 vps with 1gb and 1 cpu. Right now i want to install a script for a domain i own. The requisites for the script are as follows: Linux Server Apache or nginx Web Server MySQL (version 4 +) PHP 5.2.x Zend Optimizer 3.3 or higher GD2 Library or higher Apache mod_rewrite Enabled PHP5 - curl Enabled Zlib extension Register globals OFF Enabled PHP functions - fopen, fclose, fwrite What should i do so that the vps that i have meets these requirements. I already installed lamp. My second question is: How do i host more than 1 website? Actually i want to host at least 3 websites. Only one is a script the others will be wordpress based websites. Thank you
4 Answers
"... i want to host at least 3 websites."

Check out How To Set Up Apache Virtual Hosts on Ubuntu 12.04 LTS; although, you'll get significantly better performance from WordPress sites with Nginx w/caching (as opposed to Apache).

If you're interested in better performance, which translates, in part, to better page rank, check out How To Install Wordpress, Nginx, PHP, and Varnish on Ubuntu 12.04 and How To Set Up nginx Virtual Hosts (Server Blocks) on Ubuntu 12.04 LTS.
by Etel Sverdlov
This tutorial shows you how to set up a new directory, how to grant the correct permissions, how to add content to a new page, how to turn on virtual hosting, and how to, if needed, set up local hosts. Virtual Hosts are used to run more than one domain off of a single IP address and allows you to run multiple sites off of a single DigitalOcean droplet. This tutorial describes how to set up virtual hosts with Apache.
by Justin Ellingwood
WordPress is a popular content management system (CMS) that can be used to quickly launch blogs and websites. In this guide, we will discuss how to launch two separate blogs, each associated with their own domains, from one VPS.
Thank you very much. Very kind of you. As for the requirements for the script i will be using is there a way to see what i already havem and what i need to install configure?
Doesn't your script automatically install any needed dependencies? To get a list of all the currently installed packages on your server, execute: sudo dpkg –get-selections. However, the full list can be long and unwieldy.
Have another answer? Share your knowledge.