Code in this video_How to Install and Configure WordPress on Ubuntu or Debian

Code in this video_How to Install and Configure WordPress on Ubuntu or Debian

📌 Replace the highlighted orange section with your information

	sudo apt install -y vim unzip wget php php-common php-mysql php-xml php-xmlrpc php-curl php-gd php-imagick php-cli php-dev php-imap php-mbstring php-opcache php-soap php-zip php-intl

	CREATE DATABASE wp_db;

	CREATE USER wp_user@localhost IDENTIFIED BY 'wp_PWD';

	GRANT ALL ON wp_db.* TO wp_user@localhost;

	sudo wget https://wordpress.org/latest.zip


<VirtualHost *:80>
	ServerAdmin [email protected]

	DocumentRoot /var/www/html/mysite
	ServerName totatca.local
	ServerAlias www.totatca.local

	<Directory /var/www/html/mysite/>
		Options FollowSymLinks
		AllowOverride All
		Require all granted
	</Directory>

	ErrorLog ${APACHE_LOG_DIR}/error.log
	CustomLog ${APACHE_LOG_DIR}/access.log combined

</VirtualHost>

Leave a Reply

Your email address will not be published. Required fields are marked *