顯示具有 linux yum 標籤的文章。 顯示所有文章
顯示具有 linux yum 標籤的文章。 顯示所有文章

2017年3月19日 星期日

YUM 6

RHEL6
使用CENTOS 安來裝
#!/bin/bash
# For YUM Packages Update From CentOS
mirrordir -v ftp://ftp.nsysu.edu.tw/Unix-like/CentOS/6.6/os/x86_64/ /var/www/html/yum/centos/6.6/os/x86_64
rpm --import /var/www/html/yum/centos/6.6/os/x86_64/RPM-GPG-KEY-CentOS-6
yum-arch /var/www/html/yum/centos/6.6/os/x86_64
createrepo /var/www/html/yum/centos/6.6/os/x86_64


2016年8月29日 星期一

YUM 5

RHEL5 YUM 光碟片

固定將光碟片mount /mnt/cdrom

#  mount CD 片
mount /dev/cdrw /mnt

in  VM
mount -o loop /mnt/hgfs/SOURSE/ISO/rhel-server-5.8-x86_64-dvd.iso  /mnt/cdrom



RHEL 5 安裝後基本該裝的軟體

yum install -y




rm -rf /etc/yum.repos.d/yum.repo/*
vi "/etc/yum.repos.d/yum.repo"

使用光碟片



[rpm]
name=RPM
baseurl=file:///mnt/cdrom/Server/
enabled=1
gpgcheck=0

YUM URL


[rpm]
name=RPM
baseurl=http://192.168.1.80:8080/rhel/rhel-5.11/Server/
enabled=1
gpgcheck=0



以下為Cluster 若需要才放

[vas-deploy-Cluster]
name=Red Hat Enterprise Linux 5.8 ISO Cluster
baseurl=http://192.168.1.80:8080/rhel/rhel-5.11/Cluster
enabled=1



yum groupinstall clustering -y

RHEL install EPEL

  https://www.linuxtechi.com/install-epel-repo-on-rhel-system/ EPEL dnf install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest...