&n
转载
精选
2013-03-18 17:06:55
349阅读
配置yum仓库,sohu的相当好用。
1、备份CentOS-Base.repo
cd /etc/yum.repos.d/ cp CentOS-Base.repo CentOS-Base.repo.bak 2、替换源
用vim打开CentOS-Base.repo,并将内容清空,然后将下面的内容复制进去,并保存
[b
原创
2012-09-25 12:02:33
481阅读
点赞
Quick 'n' Easy LAMP Server For CentOS/RHEL
This tutorial shows a quick way of installing a LAMP server (Linux + Apache + MySQL + PHP/Perl together commonly known as LAMP Server.) on CentOS
转载
精选
2012-06-17 22:32:10
926阅读
systemctlstopfirewalld//关闭防火墙seteforce0//关闭监控yuminstallwget-y//安装wgetyuminstallhttpd-y//安装httpdsystemctlstarthttpd//开启httpdsystemctlenablehttpd//关闭httpdhttpd-v//查看apache版本wgethttp://dev.mysql.com/get/
原创
2019-01-07 18:48:59
623阅读
点赞
程序下载链接:http://pan.baidu.com/s/1eSEgGM2 密码:t8xl 安装LAMP运行环境yum install httpd,php,php-mysql,mysql-server,mysql查看是否有php模块httpd -M 查看php安装信息rpm -ql php &n
原创
2017-08-30 16:28:11
912阅读
本文介绍如何在CentOs6.2下面使用YUM配置安装LAMP环境,
Step1. 为centos配置rpmforge及epel源。centos官方的源其实也够用,不过像php的一些扩展如php-mcrypt在官方源中并没有。
rpmforge源可以在 http://pkgs.repoforge.org/rpmforge-release/中下载安装,名为rpmforge-rel
原创
2013-01-24 14:31:24
428阅读
#!/bin/bash
#
#Time:2013/07/23-13:37:03
#
#OS:Centos_6.4
#This is through the method of yum to install the LAMP!
#yum update -y #If this is the first time to update, that will take you for a lo
原创
2013-07-23 14:11:38
1188阅读
准备篇:
1、配置防火墙,开启80端口、3306端口
vi /etc/sysconfig/iptables
-A INPUT -m state --state NEW -m tcp -p tcp --dport 80 -j ACCEPT  
转载
精选
2015-08-17 10:55:46
499阅读
准备工作:虚拟机要能上网systemctlstopfirewalld//关闭防火墙setenforce0//关闭监控安装wgetyuminstall-ywget2、部署apache:yuminstall-yhttpdsystemctlstarthttpdsystemctlenablehttpd查看apache版本:httpd-v3、部署mysql(mariadb)yum-yinstallwget获
原创
2019-01-02 16:17:10
542阅读
点赞
rpm --import http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5Apacheyum install httpd httpd-devel
etc/init.d/httpd start
chkconfig httpd onMySQLyum install mysql mysql-sever mysql-devel
/etc/ini
原创
2013-06-10 20:04:31
651阅读
点赞
1评论
yum install -y httpd php php-mysql mysql mysql-server mysql-devel php-gd libjpeg libjpeg-devel libpng libpng-develsetenforce 0 临时关闭防火墙/etc/init.d/httpd start 启动http
原创
2015-08-26 11:10:22
317阅读
rpm -Uvh https://mirror.webtatic.com/yum/el6/latest.rpmyum install php54w php54w-xml php54w-pear php54w-gd php54w-mbstring php54w-ldap php54w-xmlrpc php54w-mysql mod_auth_mysql mod_perl mod_ssl elinks
原创
2015-11-25 14:28:05
585阅读
1. 准备篇1.1 添加第三方的源 wget -O /etc/yum.repos.d/epel.repo http://mirrors.aliyun.com/repo/epel-6.repo1.2 清除当前yum缓存yum clean all1.3 缓存yum源中的软件包信息yum makecache1.4 列出yum源中可用的
原创
2016-06-03 13:45:00
446阅读
1、准备工作:虚拟机要能上网systemctlstopfirewalld//关闭防火墙seteforce0安装wget(如下图)yuminstall-ywget2、部署apache:yuminstall-yhttpdsystemctlstarthttpd//启动httpdsystemctlenablehttpd//设为开机自启netstat-anpt|grephttpd//查看httpd是否在工作
原创
2019-02-09 23:53:43
678阅读
点赞
如果使用编译安装的方式来安装LAMP构架的服务器,就算你对编译的过程了如指掌,那夜需要两个小时或更多的时间,如果不是对编译的软件特别的熟悉,那么建议大家使用YUM的方式来进行安装。 安装vsftp[root@Server Server]# rpm -ivh vsftpd-2.0.5-10.el5.i386.rpmwarning: vsftpd-2.0.5-10.el5.i386.rpm: Head
原创
2010-03-25 20:17:32
657阅读
首先安装httpd 相关软件包yum install httpd httpd-devel httpd-manual httpd-tools -y启动httpd服务service httpd restart将httpd服务添加到开机自启动chkconfig httpd on此时在浏览器中输入本机ip已经能打开apache测试网站,注意修改防火墙策略安装mysql yum install m
原创
2015-08-28 13:12:10
477阅读
在Linux系统中,LAMP是一种非常常见的Web服务器架构,它由Linux操作系统、Apache Web服务器、MySQL数据库和PHP编程语言组成。对于使用Linux系统的用户来说,使用YUM包管理器安装LAMP是一种非常便捷的方式。
YUM是一种在Linux系统中用于管理软件包的工具,通过简单的命令就可以轻松安装、更新、删除软件包。在安装LAMP之前,首先要确保系统已经安装了YUM包管理器
原创
2024-05-15 10:53:22
37阅读
一:先添加下yum源:
#sh centostweak.sh &nbs
原创
2011-12-16 16:53:34
880阅读
yum -y update
yum install httpd httpd-devel mysql mysql-server mysql-devel php php-mysql php-common php-gd php-mbstring php-mcrypt php-devel php-xml
/etc/init.d/httpd start
chkconfig httpd o
原创
2012-05-15 23:38:34
330阅读
点赞
原文:http://www.361way.com/lampremove/822.html
由于目前使用的是lamp环境,目前为实验需要想把apache更换为litespeed web服务器。因为之前是通过yum安装的。
通过
rpm -qa|grep http
rpm -qa|grep php
rpm -qa|grep mysql
查看目前安装的包后,通过
yum rem
转载
精选
2012-08-31 10:55:17
1220阅读