Fedora 15 安装 Nginx (PHP

合集下载
  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

Fedora 15 安装Nginx (PHP
Nginx是一个免费、开源、高性能的HTTP服务器。

nginx以稳定性,丰盛的功能模块,容易的配置,资源低消耗。

本教程演示如何在Fora 15 上安装 。

这些设置可能会与你的服务器有所不同,所以你必需根据你的计算机实际IP和主机名举行更改。

2、首先安装mysql,终端输入以下。

yum install mysql mysql-server 然后配置MYSQL 随计算机启动而自动启动: --leve 235 mysqld
on/etc/init.d/mysqld start 现在,检查网络启用。

运行指令: mysql 显示如下信息,表示网络运行胜利:[root@server1 ~] netstat -tap | grep mysql t 0 0 *:mysql *:* LISTEN
1517/mysqld [root@server1 ~] 假如不是反馈的如上信息,你需要编辑/etc/f文件:vi /etc/f注释掉下面的信息:
skip-networking 然后重启Mysql:/etc/init.d/mysqld
restartmysql_secure_installation设置root密码: [root@server1 ~] mysql_secure_installation NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MySQLSERVERS IN PRODUCTION USE! PLEASE READ EACH STEP CAREFULLY! In order to log into MySQL to secure it, we’ll need the currentpassword for the root user. If you’ve
just installed MySQL, andyou haven’t the root password yet, the password will be blank,so you should just press enter here. Enter current password for root (enter for none): –回车OK, ccessfully u password, moving on… Setting the root password ensures that nobody can log into the MySQLroot user without the proper authorisation. Set root password? [Y/n] –回车New password: –设置你的root密码Re-enter new password: –再输入一次你的密码Password upd
第1页共3页。

相关文档
最新文档