安装epel
su -c 'rpm -Uvh http://mirrors.hust.edu.cn/epel/beta/7/x86_64/epel-release-7-0.2.noarch.rpm'
su -c 'yum install epel-release-7-0.2'
安装mariadb,php,nginx
su -c 'yum install mariadb mariadb-server php php-cli php-fpm php-pdo nginx'
创建数据库账户
CREATE USER 'th'@'%' IDENTIFIED BY '***';
GRANT ALL PRIVILEGES ON * . * TO 'th'@'%' IDENTIFIED BY '***';
flush privileges;
本条目发布于[2014年8月5日](https://c4ys.com/archives/294 "09:37")。属于[Database](Linux(PHP(Tools(https://c4ys.com/archives/category/tools)分类,被贴了 [CentOS](epel(mariadb(nginx(https://c4ys.com/archives/tag/nginx) 标签。