---迁移wordpress
Posted bzhao
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了---迁移wordpress相关的知识,希望对你有一定的参考价值。
sudo tasksel install lamp-server
CREATE DATABASE WordPressDB DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci;
sudo cp /etc/apache2/sites-available/000-default.conf /etc/apache2/sites-available/mysite.conf
sudo a2ensite mysite
sudo a2enmod rewrite
mysql -u username -p new_database < data-dump.sql
/etc/apache2/apache2.conf:
<Directory /var/xwwwx/blogroot>
Options Indexes FollowSymLinks
AllowOverride None
Require all granted
</Directory>
mysql> CREATE DATABASE wordpress
utf8
DEFAULT COLLATE utf8_genercal_ci;
mysql> GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, INDEX, ALTER, CREATE TEMPORARY TABLES, LOCK TABLES ON wordpress.* TO ‘vamei‘@‘localhost‘ IDENTIFIED BY ‘vameiisgood‘;
apache2ctl -S
https://www.cnblogs.com/vamei/archive/2012/12/04/2799381.html
https://www.hostinger.com/tutorials/how-to-install-wordpress-on-ubuntu-using-lamp-stack/
以上是关于---迁移wordpress的主要内容,如果未能解决你的问题,请参考以下文章