Discuz!官方免费开源建站系统

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

[教程] 康盛创想 Linux(基于CentOS的LNMP) 服务器部署标准 白丁简明版

  [复制链接]
hellokai 发表于 2010-8-20 13:48:05 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽
回复

使用道具 举报

la367 发表于 2010-8-20 15:08:28 | 显示全部楼层
进来了解一下~~
回复

使用道具 举报

jhlqab 发表于 2010-8-20 15:17:45 | 显示全部楼层
老大说的对ftp不需要安装的,你安装了ssh之后自己会有一个文件传输模块的,用它就可以了。系统安装的东西越少,越安全,开放端口用linux自带的防火墙,iptables,注意修改的规则就可以。
回复

使用道具 举报

jhlqab 发表于 2010-8-20 15:59:09 | 显示全部楼层
做技术,就是需要不断的摸索,要有耐心。我自己搭建这个环境,全新的服务器托管在IDC机房的,也没有任何人指点,之前从来没有接触过linux 。也是一步步按照老大提供的教程和网上的一些资料完成的。
感受最深的是,要深刻理解linux的目录结构,还有编辑器VI的用法。

评分

1

查看全部评分

回复

使用道具 举报

carlkyo 发表于 2010-8-23 10:53:59 | 显示全部楼层
回复

使用道具 举报

wdlinux.cn 发表于 2010-8-27 16:50:30 | 显示全部楼层
回复

使用道具 举报

peterpan1704 发表于 2010-8-29 14:48:49 | 显示全部楼层
配置完了,但在启动PHP-FPM的时候报错

Starting php_fpm Error in argument 1, char 1: no argument for option -
Usage: php-cgi [-q] [-h] [-s] [-v] [-i] [-f <file>]
       php-cgi <file> [args...]
  -a               Run interactively
  -b <address:port>|<port> Bind Path for external FASTCGI Server mode
  -C               Do not chdir to the script's directory
  -c <path>|<file> Look for php.ini file in this directory
  -n               No php.ini file will be used
  -d foo[=bar]     Define INI entry foo with value 'bar'
  -e               Generate extended information for debugger/profiler
  -f <file>        Parse <file>.  Implies `-q'
  -h               This help
  -i               PHP information
  -l               Syntax check only (lint)
  -m               Show compiled in modules
  -q               Quiet-mode.  Suppress HTTP Header output.
  -s               Display colour syntax highlighted source.
  -v               Version number
  -w               Display source with stripped comments and whitespace.
  -z <file>        Load Zend extension <file>.
  -T <count>       Measure execution time of script repeated <count> times.
................................... failed

请问如何解决?
回复

使用道具 举报

 楼主| 老谁家的小谁 发表于 2010-8-30 09:45:31 | 显示全部楼层
peterpan1704 发表于 2010-8-29 14:48
配置完了,但在启动PHP-FPM的时候报错

Starting php_fpm Error in argument 1, char 1: no argument fo ...
  1. Error:

  2.     lamnk@lamnk:~% sudo php-fpm start

  3.     Starting php_fpm Error in argument 1, char 1: no argument for option -
  4.     Usage: php-cgi [-q] [-h] [-s] [-v] [-i] [-f ] php-cgi [args...]
  5.     -a Run interactively
  6.     -C Do not chdir to the script's directory
  7.     -c | Look for php.ini file in this directory
  8.     -n No php.ini file will be used
  9.     -d foo[=bar] Define INI entry foo with value 'bar'
  10.     -e Generate extended information for debugger/profiler
  11.     -f Parse . Implies `-q'
  12.     -h This help -i PHP information
  13.     -l Syntax check only (lint)
  14.     -m Show compiled in modules -q Quiet-mode. Suppress HTTP Header output.
  15.     -s Display colour syntax highlighted source.
  16.     -v Version number
  17.     -w Display source with stripped comments and whitespace.
  18.     -z Load Zend extension
  19.     ................................... failed

  20. Reason:

  21.     The old config file php-fpm.conf is located at /etc. However the new config file is moved to /usr/etc.

  22. I don’t know why is that. I’ve used the exact same old configuration directives …

  23. Fix:

  24.     Move or copy php-fpm.conf from /etc to /usr/etc. Problem solved.
复制代码
回复

使用道具 举报

peterpan1704 发表于 2010-8-30 15:33:35 | 显示全部楼层
回复 老谁家的小谁 的帖子

谢谢回答,已改配LAMP了,小网站,估计Nginx没啥优势可言,不过还是感谢LZ的帮助
回复

使用道具 举报

yeecool 发表于 2010-9-1 16:16:24 | 显示全部楼层


感谢分享虽然已经用上了.哪天可以再学习一下.单独安装也是相当不错滴.....
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|Discuz! 官方站 ( 皖ICP备16010102号 )star

GMT+8, 2024-3-28 17:26 , Processed in 0.106803 second(s), 16 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

快速回复 返回顶部 返回列表