Skip to content

Instantly share code, notes, and snippets.

@DevOpsEvangelist
Created December 29, 2020 16:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save DevOpsEvangelist/c7d13d0a7ee9f7d15aacabded2ae4a07 to your computer and use it in GitHub Desktop.
Save DevOpsEvangelist/c7d13d0a7ee9f7d15aacabded2ae4a07 to your computer and use it in GitHub Desktop.
I Will Do WordPress Setup LAMP Satck
If you need any LAMP stack related project service contact with me:
Email: linuxdevopsevangelist@gmail.com
Skype: https://join.skype.com/Ur93Fwzse5gD
Telegram: linuxdevopsevangelist
WhatsApp: +880 1818342085
Imo: +8801818342085
---------------------------------------------------------------------------------------------
sudo apt update
sudo apt upgrade
sudo apt install apache2
sudo ufw allow in "Apache Full"
apache2 -v
sudo apt install mysql-server
sudo mysql_secure_installation
mysql --version
sudo apt-get install software-properties-common
sudo add-apt-repository ppa:ondrej/php
sudo apt install php7.2-fpm php7.2-common php7.2-mbstring php7.2-xmlrpc php7.2-soap php7.2-gd php7.2-xml php7.2-intl php7.2-mysql php7.2-cli php7.2-zip php7.2-curl
php --version
sudo apt install mlocate
locate php
whereis php
cd /var/www/
git clone https://github.com/WordPress/WordPress.git
rm -rf html
mv WordPress html
cd html
# Include generic snippets of statements
IncludeOptional conf-enabled/*.conf
# Include the virtual host configurations:
IncludeOptional sites-enabled/*.conf
# vim: syntax=apache ts=4 sw=4 sts=4 sr noet
Include /etc/phpmyadmin/apache.conf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment