Fastest way to setup your Wordpress blog

> wget -qO ee && sudo bash ee
> sudo ee site create --wp

How to setup your own Wordpress blog, for beginners, step by step, with photos, the right way, in easy way, from scratch, in under 15 minutes, bla bla bla…

Servers gonna serve…
> cd
> curl -L -o wordpress.tar.gz
> tar -xvf wordpress.tar.gz
> mv wordpress
> mysql -u root -pmysql> CREATE DATABASE myawesomeblog;
mysql> CREATE USER 'myawesomeblog'@'localhost' IDENTIFIED BY 'mysecretpassword';
mysql> GRANT ALL PRIVILEGES ON myawesomeblog.* TO 'myawesomeblog'@'localhost';
> cd /etc/nginx/sites-available
> sudo touch
> sudo ln -s ../sites-available/ ../sites-enabled
server {
# domain name of your website
# the folder of your wordpress files
root /home/ubuntu/;
index index.php; access_log /var/log/nginx/;
error_log /var/log/nginx/;
location = /favicon.ico {
log_not_found off;
access_log off;
location = /robots.txt {
allow all;
log_not_found off;
access_log off;
location ~ /\. {
deny all;
location ~* /(?:uploads|files)/.*\.php$ {
deny all;
location / {
try_files $uri $uri/ /index.php?$args;
# pass all the php scripts to php-fpm
location ~ \.php$ {
include fastcgi.conf;
# enter the socket address of your php-fpm process below
fastcgi_pass server unix:/run/php/php7.0-fpm.sock;
location ~* \.(js|css|png|jpg|jpeg|gif|ico)$ {
expires max;
log_not_found off;
> sudo nginx -t
> sudo service nginx restart
Devops… Yeah!



Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store