How To Install WordPress With LAMP/LEMP In Ubuntu 18.04


(Gopal) #40

Security guidelines by PCI DSS, HIPAA and NIST are written in pure technical language it requires some practical interaction with servers to fully understand the security practices and implement this to servers.

That’s why “Cloudways” like companies are running now a days…

(Gopal) #41

These are bad assumptions…


People who go for managed platform are kind of scared to manage it! Even I was when i started! But after knowing the facts, how to manage, it is kid’s stuff!


I challenge anyone to hack my server! I will pay that guy, who can hack my server!


If these are bad assumptions, then tell me the right assumptions! Be practical!

(Gopal) #45

You are in a wrong assumptions.

In a dark world, this is a pretty easy task…

First ask question yourself no one can secure 100% in digital world.

Bigger companies spend billions for their security…

Amazon Web Service:

They perform regular security audit of their servers…


Then, tell me the right assumptions dude, which can be practically implemented. No rhetoric, please!

Hack my wordpress website, i can send the website link in PM! I am ready to pay also anyone!

Whole world knows that!

Most of the people in this forum are running WordPress! Stick with that, please!

(Gopal) #48

Telling all possible security practices is not possible here. It is a too lengthy process…


I deserve to know at least couple of it! Except, SSH keys, Cloudflare, Ubuntu Firewall!

(Myil Raj) #52

Awesome Tutorial… I am surely going to try this as I was travelling with cPanel based servers, it’s time to take diversion for the faster track.

(Rishi) #55

Update:- Don’t forget to increase upload_max_filesize to avoid any trouble (like uploading big theme).


This guide is missing one little thing.

  1. moving wp-config-sample.php to wp-config.php
  2. updating db user, db name and password
  3. updating salt key (recommended)

Without this, WordPress cannot finish installation. :thinking:

(Rishi) #58

When we run WordPress installation, Wp-config.php get generated automatically using content of wp-config-sample.php

We updated it, please check here.

It also get generated randomly while installation.


Thanks for clarifying.

(Rishi) #60

Update:- Added configurations for virtual hosts. :grinning:

(Myil Raj) #61

Can anyone please explain, what are the important points to note when installing LAMP for WordPress?

Apache v2
MySql 10 or MariaDB
PHP Above 7.0
Enable HTTP2

Like these terms.


It’s written with clear steps. Can you please check tutorial again?

(Induction Motor) #63

Which is more faster and secure, Serverpilot or Lemp?


I would recommend LEMP.

(Gopal) #66

For PHP based site : NGINX is best

For JAVA based site : Apache is best

Web hosting