Answers for "https://ubuntu.com/tutorials/install-and-configure-wordpress#3-install-wordpress"

0

https://ubuntu.com/tutorials/install-and-configure-wordpress#3-install-wordpress

sudo a2dissite 000-default
Posted by: Guest on September-24-2021
0

https://ubuntu.com/tutorials/install-and-configure-wordpress#3-install-wordpress

sudo -u www-data sed -i 's/database_name_here/wordpress/' /srv/www/wordpress/wp-config.php
sudo -u www-data sed -i 's/username_here/wordpress/' /srv/www/wordpress/wp-config.php
sudo -u www-data sed -i 's/password_here/<your-password>/' /srv/www/wordpress/wp-config.php
Posted by: Guest on September-24-2021
0

https://ubuntu.com/tutorials/install-and-configure-wordpress#3-install-wordpress

sudo a2ensite wordpress
Posted by: Guest on September-24-2021
0

https://ubuntu.com/tutorials/install-and-configure-wordpress#3-install-wordpress

$ sudo mysql -u root
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 7
Server version: 5.7.20-0ubuntu0.16.04.1 (Ubuntu)

Copyright (c) 2000, 2017, Oracle and/or its affiliates. All rights reserved.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

mysql> CREATE DATABASE wordpress;
Query OK, 1 row affected (0,00 sec)

mysql> CREATE USER wordpress@localhost IDENTIFIED BY '<your-password>';
Query OK, 1 row affected (0,00 sec)

mysql> GRANT SELECT,INSERT,UPDATE,DELETE,CREATE,DROP,ALTER
    -> ON wordpress.*
    -> TO wordpress@localhost;
Query OK, 1 row affected (0,00 sec)

mysql> FLUSH PRIVILEGES;
Query OK, 1 row affected (0,00 sec)

mysql> quit
Bye
Posted by: Guest on September-24-2021
0

https://ubuntu.com/tutorials/install-and-configure-wordpress#3-install-wordpress

<VirtualHost *:80>
    ServerName hostname.example.com
    ... # the rest of the VHost configuration
</VirtualHost>
Posted by: Guest on September-24-2021
0

https://ubuntu.com/tutorials/install-and-configure-wordpress#3-install-wordpress

sudo -u www-data nano /srv/www/wordpress/wp-config.php
Posted by: Guest on September-24-2021
0

https://ubuntu.com/tutorials/install-and-configure-wordpress#3-install-wordpress

sudo mkdir -p /srv/www
sudo chown www-data: /srv/www
curl https://wordpress.org/latest.tar.gz | sudo -u www-data tar zx -C /srv/www
Posted by: Guest on September-23-2021
0

https://ubuntu.com/tutorials/install-and-configure-wordpress#3-install-wordpress

sudo a2enmod rewrite
Posted by: Guest on May-25-2021
0

https://ubuntu.com/tutorials/install-and-configure-wordpress#3-install-wordpress

sudo -u www-data cp /srv/www/wordpress/wp-config-sample.php /srv/www/wordpress/wp-config.php
Posted by: Guest on September-24-2021
0

https://ubuntu.com/tutorials/install-and-configure-wordpress#3-install-wordpress

sudo service apache2 reload
Posted by: Guest on September-24-2021

Code answers related to "https://ubuntu.com/tutorials/install-and-configure-wordpress#3-install-wordpress"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language