New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
CentOS OpenVZ with apache/nginx/mysql image/template
Does anyone know if there's a OpenVZ template with the following installed.
- Apache
- NginX
- MySQL
- PHP
I have always been using some sort of control panel so far, and now am trying to do it from command. Not going smooth, so many repos conflicting and what not. I just want to give up setting up this VPS. MySQL version and php mysql library version is different. Used the atomic repo to install nginx. After that, even MySQL came from that repo.
If the above isn't there, can anyone point me to where I can download a Centos 6 x64 minimal template for openvz.
Comments
@Drukpa try this bro LowEndScript
I have working repo list for that need.
I'd give @dmmcintyre3's LNMP script, it's literally one command.
It's 2
Well... that would have come in absurdly useful to me yesterday.
Instead of atomic repo, you can just use the official nginx repo:
http://nginx.org/en/linux_packages.html#stable
Like this:
rpm -Uvh http://nginx.org/packages/centos/6/noarch/RPMS/nginx-release-centos-6-0.el6.ngx.noarch.rpm
yum install nginx
And then get the rest (Apache, PHP, MySQL) from official CentOS repo.
Something like this:
yum install httpd mysql-server php php-mysql
Or whatever you need.
So thats just a few simple steps on a clean CentOS 6 and you got what you need.
The php version in atomic repo is a bit newer though... I don't know if thats a requirement for you.
And you didn't specify exactly how you're planning to setup apache and nginx. You could do that in different ways.
Personally, I'd get rid of apache and just go with nginx and php-fpm. But that would probably take more effort than you're willing/able to put in right now, considering what you said about being new at using the command line and that you're about to give up
Hang in there buddy. You'll get the hang of it.