WordPress博客WordPressWordPress先生

wordpress安装使用与插件推荐

2017-02-23  本文已影响88人  什么都值得
wordpress.jpg
原文链接

安装wordpress

CentOS 6.x安装wordpress

# 在已经安装了php运行环境的条件下
wget http://wordpress.org/latest.tar.gz
tar -xzvf latest.tar.gz 

# 建立数据库
mysql -u root -p
> CREATE DATABASE wordpress;
> CREATE USER wordpressuser@localhost;
> SET PASSWORD FOR wordpressuser@localhost= PASSWORD("password");
> GRANT ALL PRIVILEGES ON wordpress.* TO wordpressuser@localhost IDENTIFIED BY 'password';
> FLUSH PRIVILEGES;
> exit;

# 配置
cp ~/wordpress/wp-config-sample.php ~/wordpress/wp-config.php
vim ~/wordpress/wp-config.php
修改DB_NAME/DB_USER/DB_PASSWORD

sudo yum install php-gd  # 如果启动不了要安装这个

必备插件推荐

上一篇下一篇

猜你喜欢

热点阅读