使用树莓派安装wordpress
首先,搭建LNMP环境 参考
在安装mysql时遇到问题,wordpress无法建立数据库,最后参考别人的解决办法
sudo service mysql stop
sudo mysqld_safe --skip-grant-tables &
mysql -u root
select user, plugin from mysql.user;
update mysql.user set authentication_string=PASSWORD('newPwd'), plugin='mysql_native_password' where user='root';
sudo service mysql restart
wordpress剪裁图片发生错误
sudo apt-get install php5-gd