How to Install and Configure Wordpress on Ubuntu
Krishna's TechInfo
In this video i have discussed about How to Install and Configure Wordpress on Ubuntu.
To setup LAMP Stack follow the below video link https://youtu.be/lDpwJf-XlFs
Installation Procedure mysql -u root -p
CREATE DATABASE wordpress DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci;
GRANT ALL ON wordpress.* TO 'wordpressuser'@'localhost' IDENTIFIED BY 'password';
FLUSH PRIVILEGES;
apt install php-curl php-gd php-mbstring php-xml php-xmlrpc php-soap php-intl php-zip
systemctl restart apache2
nano /etc/apache2/sites-available/wordpress.conf
VirtualHost *:80 ServerName www.wptest.com DocumentRoot /var/www/wordpress Directory /var/www/wordpress/ AllowOverride All /Directory /VirtualHost
a2enmod rewrite
apache2ctl configtest
systemctl restart apache2
cd /tmp
curl -O https://wordpress.org/latest.tar.gz
tar xzvf latest.tar.gz
cp /tmp/wordpress/wp-config-sample.php /tmp/wordpress/wp-config.php
mkdir /tmp/wordpress/wp-content/upgrade
cp -a /tmp/wordpress/. /var/www/wordpress
chown -R www-data:www-data /var/www/wordpress
find /var/www/wordpress/ -type d -exec chmod 750 {} ;
find /var/www/wordpress/ -type f -exec chmod 640 {} ;
curl -s https://api.wordpress.org/secret-key/1.1/salt/
nano /var/www/wordpress/wp-config.php
http://server_domain_or_IP ... https://www.youtube.com/watch?v=l-YvYEr7Q_A
25033453 Bytes