Install_WordPress_In_CentOS_7
1 – Install Apache Http Server
# yum install httpd.x86_64
2 – Install php
# yum install php.x86_64
3 – Modify file /etc/httpd/conf/httpd.conf, add php mime type for mime_module.
<IfModule mime_module>
AddType application/x-httpd-php .php
</IfModule>
4 – Download WordPress and place it on /var/www/html/, the default document root directory.
$ tar -xvf wordpress-4.9.4-zh_CN.tar.gz
# cp -r wordpress/ /var/www/html/
5 – Install mysql extension module for php
# yum install php-mysql.x86_64
6 – Create database for WordPress
> CREATE DATABASE wordpress;
7 – Startup apache, visit WordPress and config infos for WordPress
a) I will input the info about mysql database follow tips.
You also can create a config file name wp-config.php, it’s sample file is wp-config-sample.php.
b) Input basic info for WordPress
note: If you can not visit the website, check the database info, firewall config and selinux config.
Install_WordPress_In_CentOS_7的更多相关文章
随机推荐
- excle中如何将一串数字前后加上单引号
1.新建excle表 2.构造如下一串字母加数字的字符串: 3.在B1栏中输入="“"&A1&"”",展示效果如下:
- C#的发展历程 -- 系列介绍
C#的发展历程第五 - C# 7开始进入快速迭代道路 C#与C++的发展历程第四 - C#6的新时代 C#与C++的发展历程第三 - C#5.0异步编程巅峰 C#与C++的发展历程第二 - C#4.0 ...
- YAML 知识点
YAML:Ain't Markup Language 的缩写 YAML文件定义了一系列带有约束说明的任务,这些任务都是以任务名开始并且至少要包含script部分. 任务是由Runners接管并且由服务 ...
- Ubuntu 12.04图形界面不能登录问题
问题描述: Ubuntu 12.04进入到登录界面,输入用户名和密码无法登录, 输出密码后又跳回到登录界面, 执行快捷键Ctrl+Alt+F1, 可以进入tty1命令行, 可以root或者普通用 ...
- DHCP Option43配置
在配置Option 43之前,需要保证:1. AP与DHCP服务器之间路由可达,即AP可以获取到IP地址.2. AP与AC之间路由可达,保证AP获取到AC地址后,能够与AC交互信息,建立CAPWAP隧 ...
- chrome's developer console
原文链接: https://medium.freecodecamp.org/10-tips-to-maximize-your-javascript-debugging-experience-b69a7 ...
- svn安装和使用
https://www.cnblogs.com/webStyle/p/3696003.html
- word文档内容如何防止被复制
word2016 审阅->限制编辑->1格式设置编辑 and 2编辑限制->3是,启动强制保护->输入秘密
- 干掉hao123劫持浏览器主页
原因可能是安装某个软件流氓捆绑了IE主页导致的,建议这样尝试: 一.如果安装有三方安全防护类软件,排查流氓软件,建议运行系统自带的Windows Defender或者MSE程序扫描系统. 二.如果有检 ...
- .net mvc 分页
1.分页实体类 public class PageDto { public int PageIndex { get; set; } public int PageSize { get; set; } ...