centos配置web server
来源:互联网 发布:如何学好ps软件 编辑:程序博客网 时间:2024/04/28 02:36
1. 安装httpd, 使用iptables -F,清除所有规则,保证80端口通过.
增加如下VirtualHost:
NameVirtualHost *:80
<VirtualHost *:80>
DocumentRoot /var/www/html/xxx/
ServerName www.xxxxxxx.com
</VirtualHost>
要注意,保证DocumentRoot中的路径权限设置是 755, 否则,浏览器无法访问网站。
2. 安装mysql 数据库, mysql, mysql-server, php-mysql
设置数据库初始密码: mysqladmin -u root password 'xxxxxxx‘
之后,便可以连续进入数据库: mysql -u root -p
3. 安装php
0 0
- centos配置web server
- centos配置telnet server
- CentOS配置NFS server
- Office Web Server配置
- 配置web Server
- ipython web server 配置
- Web Server配置介绍
- CentOS 6.0 配置 tftp-server
- centos vnc server配置方法
- centos vnc server配置方法
- CentOS安装配置mysql-server
- CentOS 7.0 telnet-server 配置
- CentOS 7.0 telnet server 配置
- CentOS 6.5 Web环境配置
- 嵌入式Web Server --- BOA 配置
- eclipse web开发Server配置
- Virgo Web Server 日志配置
- 简单配置web server端
- 回顾经典Effective C++ 3 4
- java web Servlet 学习笔记 -3 会话管理技术
- Caused by: java.lang.ClassNotFoundException: com.mchange.v2.ser.Indirector
- 设计模式第三讲:抽象工厂
- 重构改善既有代码的设计--简化函数调用
- centos配置web server
- MySql安装最后一步start service失败,手动启动报1067错误
- Caused by: org.springframework.beans.NotWritablePropertyException
- sdfsdghffghfghfg
- Eclipse中清除记住的GitHub用户名和密码
- 快速删除超大文件夹
- wordpress Error establishing a database connection
- atitit.信息安全的控制总结o7
- 使用hibernate和bean来实现分页