本文介绍如何在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
401阅读
#!/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
1130阅读
准备篇: 1、配置防火墙,开启80端口、3306端口 vi /etc/sysconfig/iptables -A INPUT -m state --state NEW -m tcp -p tcp --dport 80 -j ACCEPT &nbsp
转载 精选 2015-08-17 10:55:46
488阅读
准备工作:虚拟机要能上网systemctlstopfirewalld//关闭防火墙setenforce0//关闭监控安装wgetyuminstall-ywget2、部署apache:yuminstall-yhttpdsystemctlstarthttpdsystemctlenablehttpd查看apache版本:httpd-v3、部署mysql(mariadb)yum-yinstallwget获
原创 2019-01-02 16:17:10
539阅读
3点赞
配置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
463阅读
1点赞
程序下载链接: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
887阅读
systemctlstopfirewalld//关闭防火墙seteforce0//关闭监控yuminstallwget-y//安装wgetyuminstallhttpd-y//安装httpdsystemctlstarthttpd//开启httpdsystemctlenablehttpd//关闭httpdhttpd-v//查看apache版本wgethttp://dev.mysql.com/get/
原创 2019-01-07 18:48:59
608阅读
3点赞
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
553阅读
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
434阅读
1、准备工作:虚拟机要能上网systemctlstopfirewalld//关闭防火墙seteforce0安装wget(如下图)yuminstall-ywget2、部署apache:yuminstall-yhttpdsystemctlstarthttpd//启动httpdsystemctlenablehttpd//设为开机自启netstat-anpt|grephttpd//查看httpd是否在工作
原创 2019-02-09 23:53:43
668阅读
1点赞
如果使用编译安装的方式来安装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
647阅读
首先安装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包管理器
原创 3月前
24阅读
            一:先添加下yum源:           #sh centostweak.sh      &nbs
原创 2011-12-16 16:53:34
847阅读
1. 用yum安装Apache,Mysql,PHP. 1.1安装Apache yum install httpd httpd-devel 安装完成后,用/etc/init.d/httpd start 启动apache 设为开机启动:chkconfig httpd on 1.2 安装mysql 1.2.1 yu
转载 精选 2015-08-12 07:14:26
415阅读
安装APACHEyum -y install httpd   安装PHPyum -y install php   安装MYSQLyum install -y mysql-server   让PHP支持MYSQLyum install -y php-mysql   安装gdyum install -y php-gd   重启apa
原创 2009-12-16 12:16:22
1092阅读
2评论
yum 安装lamp架构yum install httpd mysql mysql-server php php-mysql -y 
原创 2014-10-16 23:41:33
465阅读
LAMP:用yum安装Table of Contents1 什么是LAMP1.1 L1.2 A1.3 M1.4 P2 什么是yum3 如何使用yum3.1 基本的yum命令3.1.1 yum list 列出在所有软件仓库李的和系统安装的所有软件包,也可指定某软件3.1.2 yum list available 列出在所有可用的软件仓库里可以安装的软件包3.1.3 yum list installed 列出系统已经安装的软件 和rpm -qa效果一样3.1.4 yum list updates 列出已经安装的可升级的软件包列表3.1.5 yum info 查看软件包信息3.1.6 yum rem
转载 2013-08-03 23:50:00
111阅读
2评论
1、 yum -y install mysql mysql-server  /*yum安装MySQL*/2、chkconfig --levels 235 mysqld on  /*设置开机启动*/3、以MySQL用户root登陆:  mysql -u root  登陆后设置root密码:set password for root@localhost=pass
原创 2013-07-08 21:11:42
935阅读
1点赞
2评论
==++++++++++先配置 yum*****将 redhat -yum  改为 CentOS -yumwget http://mirrors.163.com/centos/6.4/os/i386/Packages/python-iniparse-0.3.1-2.1.el6.noarch.rpmwget http://mirrors.163.com/centos/6.4/os/i386
原创 2014-01-16 15:52:47
514阅读
  • 1
  • 2
  • 3
  • 4
  • 5