摘要: [1] 首先备份/etc/yum.repos.d/CentOS-Base.repo cp /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup [2] 进入yum源配置文件所在文件夹 [root@loca 阅读全文
posted @ 2017-09-22 05:43 wujunbin 阅读(135) 评论(0) 推荐(0) 编辑
摘要: 0,关闭规则 iptables -F 清除防火墙规则,临时关闭 setenforce 0 临时关闭selinux 1,依赖库安装 Yum -y install libxml2 yum -y install libxml2-devel Yum -y install openssl yum -y ins 阅读全文
posted @ 2017-09-22 05:36 wujunbin 阅读(92) 评论(0) 推荐(0) 编辑
摘要: 由于工作需要,需要学习PHP,本来想安装LAMP的,但是考虑到现在Nginx服务器有良好的性能且应用广泛。这里我决定搭建Linux(CentOS7+Nginx+MySQL+PHP)下的web服务器。 一、安装httpd。 yum install -y httpd 安装完成之后使用以下命令启动http 阅读全文
posted @ 2017-09-22 05:19 wujunbin 阅读(299) 评论(0) 推荐(0) 编辑
摘要: 1,根据综述 本机 注意,现在apache2.2不能和5.5php, 2.4apache和5.5php就可以 window10 64位 vc14 apache 2.4.23 注意,虚拟主机有些配置已经更改 php5.4.8 mysql5.5.28 2,apache http://www.apache 阅读全文
posted @ 2017-09-22 05:09 wujunbin 阅读(197) 评论(0) 推荐(0) 编辑
摘要: CentOS7的yum源中默认好像是没有mysql的。为了解决这个问题,我们要先下载mysql的repo源。 1. 下载mysql的repo源 $ wget http://repo.mysql.com/mysql-community-release-el7-5.noarch.rpm 2. 安装mys 阅读全文
posted @ 2017-09-22 04:54 wujunbin 阅读(154) 评论(0) 推荐(0) 编辑
摘要: 一、网络方面的知识 2 ①-网络常见的命令 2 ②-网卡相关 2 ③-防火墙相关 2 ④-selinux相关 3 二、上传amp源代码包 5 三、linux下软件安装-vsftpd安装 6 ①-rpm包安装 6 ②-使用镜像文件来安装vsftpd的rpm包 6 ③-源码安装 12 ④-yum安装 1 阅读全文
posted @ 2017-09-22 04:36 wujunbin 阅读(199) 评论(0) 推荐(0) 编辑