Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save cloudybdone/079a614a2f0bb7768ee193d4b5da9c6b to your computer and use it in GitHub Desktop.

Select an option

Save cloudybdone/079a614a2f0bb7768ee193d4b5da9c6b to your computer and use it in GitHub Desktop.
I Will Install WordPress on Ubuntu with LEMP Stack
If you need anything related with WordPress Installation on Ubuntu with a LEMP stack setup contact:
Telegram: https://t.me/Cloudybdone
WhatsApp: https://wa.link/3j794g
Skype: https://join.skype.com/invite/vLFaKHxboQrc
Email: cloudybdone@gmail.com
Linkedin: https://www.linkedin.com/in/cloudybdone/
Facebook: https://www.facebook.com/cloudybdone/
About Me: https://about.me/cloudybdone
YouTube Video: https://www.youtube.com/watch?v=J98qdv3I22w&list=PLiveDaEySXe9fZDLghweuuLaFCaaeqsEw
sudo -i
apt update
apt install nginx
chown -R $USER:......
chmod -R 755 /var......
nginx -t
ufw app list
ufw allow....
ufw status
systemctl start nginx
systemctl daemon....
systemctl .....
systemctl.....
systemctl status nginx
curl -4 ......
apt update
apt install mariadb-server.....
mysql
CREATE DATABASE....
use wordpress;
FLUSH....
quit
systemctl daemon....
systemctl status mariadb
systemctl is-enabled mariadb
# Install PHP & check version
sudo apt-get install....
sudo add-apt.....
apt autoremove
sudo apt install php7.4-fpm php7.4-common.....
php --version
cd /var..
wget https://wordpress.org...
rm -rf latest.tar.gz
chown -R www-data......
cp -r wp-config-sample....
define( );
/** MySQL database username */
define( 'DB_USER...
/** MySQL database password */
snap install crul
curl -s https://api.wordpress.org....
# add salt
nano /etc/nginx/sites....
server {
listen 80;
root /var/www/wordpress;
index index.php
server_name example.com
location / {
try_files $uri ....
}
location
include snippet....
fastcgi_pass unix:/var/run...
fastcgi_param SCRIPT_FILENAME....
}
}
nginx -t
systemctl reload nginx
systemctl mysql restart
@cloudybdone

Copy link
Copy Markdown
Author

Screenshot from 2022-01-05 23-08-42

@cloudybdone

Copy link
Copy Markdown
Author

Screenshot from 2022-01-05 23-07-50

@AnythingLinux

Copy link
Copy Markdown

good

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment