虚拟机:192.168.2.21【停止防火墙】sudosystemctlstopfirewalld.service--停止防火墙sudosystemctldisablefirewalld.service--开机关闭防火墙【安装apachehttpd服务】cat/etc/yum.repos.d/CentOS-Media.repo-----查看镜像配置yum--disablerepo=\*--enablerepo=c7-media,offlin..
分类:
Web程序 时间:
2017-03-16 22:33:12
阅读次数:
517
配置两台虚拟机的邮件环境虚拟机nm-connection-editor//配置虚拟机1.ip为146虚拟机2.ip为246更改两台主机名分别为mailwestos.westos.com和maillinux.linux.com配置yum源[rhel_dvd]gpgcheck=0enabled=1baseurl=http://172.25.254.46/hzy安装dns服务yuminstallbind-ysystemctlsta..
分类:
其他好文 时间:
2017-03-16 03:36:57
阅读次数:
271
RHEL 7.0 本地配置yum源 yum简介 yum = Yellow dog Updater, Modified 主要功能是更方便的添加/删除/更新RPM包. 它能自动解决包的倚赖性问题. 它能便于管理大量系统的更新问题 当前linux版本 rhel7.0 前提mount DVD光盘到/mnt ...
分类:
其他好文 时间:
2017-03-15 18:47:16
阅读次数:
257
首先配置yum源 追加CentOS 6.5的epel及remi源 # rpm -Uvh http://ftp.iij.ad.jp/pub/linux/fedora/epel/6/x86_64/epel-release-6-8.noarch.rpm # rpm -Uvh http://rpms.fam ...
分类:
其他好文 时间:
2017-03-11 23:10:35
阅读次数:
240
我们在介绍yum本地源的时候先给大家谈谈RPM安装。RPM(RedhatPackageManager)解决源码包安装的众多依赖关系,,旨在校验安装卸载查询升级等管理软件操作。安装:rpm-ivhfilename.rpm升级:rpm-Uvhfilename.rpm卸载:rpm-efilename.rpm查询软件的描述信息:rpm-qpifilename列出..
分类:
其他好文 时间:
2017-03-09 16:00:16
阅读次数:
231
1.首先删除redhat原有的yum,因为redhat原本的yum没有注册为redhat用户是用不了的,输入如下命令行:rpm-eyum--nodeps2.下载163的yum安装wgethttp://mirrors.163.com/centos/7.3.1611/os/x86_64/Packages/yum-3.4.3-150.el7.centos.noarch.rpmwgethttp://mirrors.163.com/cento..
分类:
其他好文 时间:
2017-03-07 14:28:14
阅读次数:
738
安装数据库,用maraidbyumgroupinstallmariadb-y在/etc/my.cnf添加下面两行innodb_file_per_table=1skip_name_resolve=1安装zabbix配置yum源为阿里云的zabbix源,下载源,并且安装。安装后会在/etc/yum.repos.d/下多一个zabbix.repo源wgethttps://mirrors.aliyun.com/zabbix/zab..
分类:
其他好文 时间:
2017-02-28 14:22:11
阅读次数:
193
一、环境说明准备 本次使用CentOS5.5、Centos6.5,编译安装Apache2.4.20、Mysql-5.5.48、PHP-5.5.30。编译PHP以Apache模块方式运行。编译PHP前需要先编译好Apache和Mysql。1.关闭SELINUX,配置yum源。setenforce0
sed-i‘s/SELINUX=enforcing/SELINUX=permissive/g‘/etc/selinux..
分类:
其他好文 时间:
2017-02-27 14:13:30
阅读次数:
254
jenkins服务器的安装安装环境centos7系列安装方式yum安装安装jenkins需要首先配置jdk配置yum源wget-O/etc/yum.repos.d/jenkins.repohttp://jenkins-ci.org/redhat/jenkins.repo导入公钥rpm--importhttp://pkg.jenkins-ci.org/redhat/jenkins-ci.org.key安装yuminstalljenkins-y..
分类:
其他好文 时间:
2017-02-27 14:06:09
阅读次数:
1167
首先上传源码包到linux中(本人上传到根目录中),随意上传能找到即可 一、配置YUM源(如果已经配好就不许要重新配置) 挂载光驱要挂载到/mnt下 Mount /dev/cdrom /mnt 1.备份yum源目录 [root@nage ~]# cp /etc/yum.repos.d /etc/yu ...
分类:
其他好文 时间:
2017-02-24 12:40:25
阅读次数:
242