curl -L get.rvm.io | bash -s stable
If the following error is reported, run the gpg2 -- recv-keys command in the error.
[Root @ kube-node-1 ~] # Curl-L get. rvm. io | bash-s stable % Total % Received % Xferd Average Speed Time Current Dload Upload Total Spent Left Speed100 194 100 194 0 0 335 0 --:--:----:--: --: -- 335100 24090 100 24090 0 0 17421 0 0:00:01 --: -- 44446 Downloading https://github.com/rvm/rvm/archive/1.29.3.tar.gzDownloading commit: The signature created by CST at on Monday 10,
I use the method one, successful configuration, method two has not been tested, can be used as a reference
Method One:
1. Ensure that the Yum is installed in the RHEL5
[Root@lvs-master ~]# rpm-qa |grep yum
yum-metadata-parser-2-el5 yum-updatesd-9-el5 yum-22-el5 Yum-security-16-el5
2. Modify the source configuration file #vim/etc/yum.repos.d/centos-base.repo
(If there is no. repo file in the directory, create one yourself)
[Base] name=centos-5-base #mirrorlist =http://mirr
Referenced from: http://blog.chinaunix.net/u/19895/showart_232861.html
Linux on file encryption two ways and detailed:
First, use GnuPG to encrypt files.
GnuPG software package (Gnu privacy Guard,gnu privacy bodyguard), the name of the package is GPG.
GPG uses the public key encryption method when encrypting files.
1. The first step is to create a key that will be used to send encrypted data and decrypt d
RehatEnterpriseLinux5: configure the local yum source. The test is normal. Configure local yum source local source preferred use DVD Mount Disk 1. Mount the image mount-tiso9660/dev/cdrom/media/command to mount the image to the/media/folder. 2 edit repository settings edit/etc/yum. repos. d/rhel-debuginfo.repo, delete the original content, add the following content: [C
Rehat Enterprise Linux 5: configure the local yum source. The test is normal.
Configure local yum Source
First select a local so
of one-way encryption can be viewed in man dgst. Some common options for one-way encryption:-md5# encryption algorithm, encryption algorithm and SHA1,sha224,sha256each algorithm has a corresponding tool sha1sum,sha224sum,sha256sumtwoSymmetric encryptionSymmetric encryption means that data encryption and decryption use the same key, similar to the locks we normally use, and the same key is used to open and close the door. Method of implementation:OPENSSLENC-E-des3-a-salt-in file-out FILE. S #使用这
163 source configuration file for CentOS7 (7.1.1503)
The 163 source of centos 7 was not found for a long time on the Internet, most of which only had 6 configurations. Write a code that can be used in 7. Pay attention to the next version. Replace it with your own version.
[base]name=CentOS-$releasever - Base - 163.com#mirrorlist=http://mirrorlist.centos.org/?release=$releaseverarch=$basearchrepo=osbaseurl=http://mirrors.163.com/centos/7.1.1503/updates/x86_64gpgcheck=0gpgkey=file:///etc/pki/rpm-
163 source configuration file of CentOS 7 (7.1.1503), centos7.1.1503
The 163 source of centos 7 was not found for a long time on the Internet, most of which only had 6 configurations. Write a code that can be used in 7. Pay attention to the next version. Replace it with your own version.
[base]name=CentOS-$releasever - Base - 163.com#mirrorlist=http://mirrorlist.centos.org/?release=$releaseverarch=$basearchrepo=osbaseurl=http://mirrors.163.com/centos/7.1.1503/updates/x86_64gpgcheck=0gpgkey=file
rhel5.4 machines and use rpm for installation.
# rpm -ivh *.rpm# service salt-minion status|restart|stop
Appendix 1: epel. repo
[root@el5-test salt]# cat /etc/yum.repos.d/epel.repo [epel]name=Extra Packages for Enterprise Linux 5 - $basearchmirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=epel-5arch=$basearchfailovermethod=priorityenabled=1gpgcheck=0#gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY
the use of this for CentOS updates# Unless you is manually picking other mirrors.## If The mirrorlist= does not work for you, as a fall back to you can try the# remarked out Baseurl= line instead.##[Base]name=centos-$releasever-base-163.commirrorlist=http://mirrorlist.centos.org/?release= $releasever arch= $basearch repo=osbaseurl=http://mirrors.163.com/centos/$releasever/os/$basearch/Gpgcheck=1Gpgkey=file:///etc/pki/rpm-gpg/rpm-
Preparatory work-----------------------------------------------------------------------------1. Loading the optical drivePlacing the ISO image file in the optical drive# Mount/dev/cdrom/mnt/mount:block Device/dev/sr0 is write-protected, mounting read-only 2. Installing the Createrepo package # cd/mnt/packages/ -ivh deltarpm-3.5-0.5. 20090913git.el6.x86_64.rpm -IVH python-deltarpm-3.5-0.5-ivh createrepo-0.9. 9-el6.noarch.rpm.3. Installing from the CD-ROM CP package to the systemmkdir/app/-r/m
Rehat Enterprise Linux 5: configure the local yum source. The test is normal.
Configure local yum Source
First select a local source and use a DVD to install the disk.
1. Mount the image
Mount-t iso9660/dev/cdrom/media/Command to mount the image to the/media/folder.
2. Edit repository settings
Edit/etc/yum. repos. d/rhel-debuginfo.repo, delete the original content, add the following content:
[Cluster]Name = Red Hat Enterprise Linux $ releasever-$ basearch-ClusterBaseurl = file: // media/ClusterE
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.