1、配置防火墙,开启80端口、3306端口 vi /etc/sysconfig/iptables -A INPUT -m state --state NEW -m tcp -p tcp --dport 80 -j ACCEPT -A INPUT -m state --state NEW -m tcp...
分类:
数据库 时间:
2015-05-31 18:11:35
阅读次数:
180
安装完apache之后,下面来安装mysql解压mysql-5.6.25-linux-glibc2.5-x86_64.tar.gz到/usr/local/tarxfmysql-5.6.25-linux-glibc2.5-x86_64.tar.gz-C/usr/local链接mysql-5.6.25-linux-glibc2.5-x86_64到mysqlln-svmysql-5.6.25-linux-glibc2.5-x86_64mysql
cdmysql
添加mysql..
分类:
其他好文 时间:
2015-05-31 11:03:38
阅读次数:
151
#!/bin/bash##httpdStartupscriptfortheApacheHTTPServer##chkconfig:-8515#description:ApacheisaWorldWideWebserver.Itisusedtoserve\#HTMLfilesandCGI.#processname:httpd#config:/etc/httpd/conf/httpd.conf#config:/etc/sysconfig/httpd#pidfile:/var/run/httpd.pid#Sourc..
分类:
其他好文 时间:
2015-05-31 01:33:31
阅读次数:
128
Ubuntu 一条命令安装LAMP操作方法如下:1. 在Ubuntu 10.10的Ubuntu software center中找不到LAMP安装包了。以前的Ubuntu是有打好包的LAMP的安装包的,不需要自己一个一个的去安装apache/mysql/php...2. Google了一下,可以这样...
分类:
系统相关 时间:
2015-05-30 22:25:40
阅读次数:
156
lamp全源码安装1.zlib-1.2.8./configure--prefix=/usr/local/lamp/zlib&make&&makeinstall2.libxml2-2.6.30./configure--prefix=/usr/local/lamp/libxml2--with-zlib=/usr/local/lamp/zlib&&make&&makeinstall3.libmcrypt-2.5.8./configure--prefi..
分类:
其他好文 时间:
2015-05-30 18:30:25
阅读次数:
209
配置HA的前提:搭建的环境:部署wordpress#yuminstallnet-snmp-libslibnetPyXML#yuminstalllibnet#rpm-ivhheartbeat-2.1.4-12.el6.x86_64.rpmheartbeat-pils-2.1.4-12.el6.x86_64.rpmheartbeat-stonith-2.1.4-12.el6.x86_64.rpm这里的heartbeat已经做出了rpm包,libnet包在eprl..
分类:
其他好文 时间:
2015-05-30 18:27:39
阅读次数:
137
1.问题描述--what 准备在虚拟机的linux(Centos)系统上搭建LAMP环境,使用:sudo yum install httpd;提示需要转换为管理员模式才能进行。 于是我使用sudo命令切换为root身份,发现提示:lms is not in the sudoers f...
分类:
系统相关 时间:
2015-05-30 16:41:17
阅读次数:
150
http://lightoj.com/volume_showproblem.php?problem=1348
Finally the Great Magical Lamp was in Aladdin's hand. Now he wanted to return home. But he didn't want to take any help from the Genie because...
分类:
其他好文 时间:
2015-05-29 15:53:19
阅读次数:
111
本文主要讲了如何在docker上部署一个apache服务器的镜像,并在外部电脑访问这个服务器...
分类:
Web程序 时间:
2015-05-29 14:06:29
阅读次数:
289
需求说明搭建LAMP平台部署应用discuz,要求如下:1、为了减轻单个服务器压力,部署两台WEB服务器,使用LVS-DR模式对服务器实现负载均衡。2、将MySQL服务器和AP进行分离,两台AP访问同一台Mysql服务器,实现数据库数据一致性。3、AP的网页文件都存储在NFS共享存储上,实现网页文..
分类:
其他好文 时间:
2015-05-29 06:16:03
阅读次数:
375