How do you install LAMP ON your VPS

GswHosting

Well-known member
Registered
Joined
Aug 23, 2016
Messages
233
Points
0
There is a lot of blogs with tutorials how to install LAMP or LEMP using repo like remi, webtatic etc.
Some of them use other scripts or CP's.
But what if you have VPS with 1GB RAM how then you install LAMP or LEMP.

I wonder how do you install LAMP or LEMP on your VPS's.
Do you use repo's like remi etc or do you compile Apache and PHP?
Why do you install that way?
And is there any advantages or disadvantages using repos or compiling like security or any other kind?

My thoughts is this will be very useful information for all visitors of forumweb.hosting

Update
Can you share some of your steps or your preferred tutorial?
 

LJSHost

Well-known member
Hosting Provider
Registered
Joined
Jul 5, 2016
Messages
1,031
Points
63
You can get a lot of auto install scripts etc but I've always preferred to installed all the required parts manually.
I use supported distributions from the official repo packages but have compiled MySQL and Apache from source before for specific setups.

Package installations are a little easier to managed compared with software compiled and installed from source imo.
 

BillEssley

Well-known member
Registered
Joined
Feb 19, 2013
Messages
358
Points
28
There is a lot of blogs with tutorials how to install LAMP or LEMP using repo like remi, webtatic etc.
Some of them use other scripts or CP's.
I have seen websites shared their script on how to install LEMP or LAMP quickly on VPS but I don't believe in these scripts, they can include tracking script or codes into their scripts that we can not know?

But what if you have VPS with 1GB RAM how then you install LAMP or LEMP.
I wonder how do you install LAMP on your VPS's.
Do you use repo's like remi etc or do you compile Apache and PHP?

If this is the difference between LAMP and LEMP you are mentioning to, then I would go with LEMP because I heard more good things about Nginx over Apache. But it's a bit difficult if I switch to Nginx web server because I am familiar with Apache in years and rarely use Nginx on my hosting.

Why do you install that way?
I think LAMP and LEMP will consume less RAM than using a control panel.

And is there any advantages or disadvantages using repos or compiling like security or any other kind?
I have no experience about security with LAMP or LEMP. Perhaps I will wait other answers
 

EcommIndiaCloudIT

Member
Registered
Joined
Dec 28, 2016
Messages
64
Points
0
Installing LAMP, this is honestly once of the most simplest and straight forward things to do on a fresh VPS. This is how you do it on a CentOS system:

Step One—Install Apache
# sudo yum install httpd

Step Two—Install MySQL
# sudo yum install mysql-server


Step Three—Install PHP
# sudo yum install php php-mysql

For the detailed guide, refer this link: https://www.digitalocean.com/commun...linux-apache-mysql-php-lamp-stack-on-centos-6
 
Latest Threads
Recommended Threads
Replies
4
Views
3,773
Replies
0
Views
1,305

Latest Hosting OffersNew Reviews

Sponsors

Tag Cloud

You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an alternative browser.

Top