Some friends often get confused when learning Linux because of poor software. Many people have mentioned the problem of installing the source in Fedora, here I will provide some Fedora8 and Fedora9 yum sources for reference: General yum installation Source: rpm-Uvhhttp: // others :*
Some friends often get confused when learning Linux because of poor software. Many people have mentioned the problem of installing the source in Fedora, here I will provide some yum sources of Fedora 8 and Fedora 9 f
in yum.
1. Configure and use the yum local source
A: mount your CD to a directory: mount-t iso9660/dev/cdrom/mnt/cdrom
B: Modify your yum configuration file: edit the/etc/yum. repos. d/rhel-debuginfo.repo file, which has
[Rhel-debuginfo]
Name = Red Hat Enterprise Linux $ releasever-$ basearch-Debug
Baseurl = file: // mnt/cdrom/Server
Enabled = 1
Gpgcheck = 0
Gpgkey = file: // etc/pki/rpm-gpg/RPM-GPG-KEY-re
, we often encounter the HTTPS protocol, using the same mechanism.
Use: Since PGP is a commercial application, in Centos/linux, the same function is GPG (i.e.: GnuPG), the same adherence to the OPENPGP Data Encryption Standard (RFC 4880), no installation can be used toyum install gnupginstall, the command is:gpg
Code
Because the process is relatively complicated and there are many verifications in actual use, only
/java. Installing Elasticsearch
Elasticsearch can be installed with the package Manager by adding a elastic package warehouse.
Run the following command to import the Elasticsearch public gpg key into RPM:
# https://www.elastic.co/guide/en/elasticsearch/reference/current/rpm.html
rpm--import https:// Artifacts.elastic.co/gpg-key-elasticsearch
Create a file named Elasticsearch.repo in the/etc/yum.repos.d/d
=red Hat Enterprise Linux $releasever-$basearch-debugBaseurl=file:///mnt/redhat5.5/serverEnabled=1Gpgcheck=1Gpgkey=file:///etc/pki/rpm-gpg/rpm-gpg-key-redhat-release[[email protected] yum.repos.d]$ lsEl5u5.repo El5u8.repo Rhel-debuginfo.repo[email protected] yum.repos.d]$ cat El5u8.repo[Server]name=red Hat Enterprise Linux 5 Update 8Baseurl=ftp://192.168.0.212/pub/src/rhel5u8/x64/serverEnabled=1Gpgcheck=1Gp
. Therefore, the latest version must be installed on the official website.
10gen provides a mongodb-10gen package that includes the latest MongoDB stable version and also provides the mongodb-clients package.
Iii. Installation
1. Configure the package management system
Ubuntu's package management tools (such as dpkg or apt) Ensure package consistency and authorization.
$ Sudo apt-key adv -- keyserver keyserver.ubuntu.com -- recv 7F0CEB10
[Sudo] password for chszs:
Executing:
to solve the problem. However, there is a point that needs to be mentioned. The solutions written by many experts on the internet end with an upgrade using the configured source, such as # Yum update.
What I want to say is, if you like the RHEL interface and appearance, don't try it lightly. Otherwise, you will regret it, this will make your system the same as centos, but keep the original kernel, but it is not used as the default startup item... That is, it is equivalent that you have installe
First, enter the terminal to open and enter the Su, password, and administrator permission;
Enter gedit/etc/yum. Repos. d/163. Repo, and press Enter.
Copy the following content to the opened 163. Repo:
Fedora-mirrors.163.comName = fedora 12-i386Base url = http://mirrors.163.com/fedora/updates/12/i386/Enabled = 1Gpgcheck = 0Gpgkey = file: // etc/pki/rpm-GPG-key-fedora file: // etc/pki/rpm-GPG/RPM-
=2.57ms64bytesfrom192.168.1.100:icmp_seq=2ttl=64time=0.396ms64bytesfrom192.168.1.100:icmp_seq=3ttl=64time=0.400ms
Yum repo configuration file path:
Specify the available Yum repository/etc/yum. conf,/etc/yum. Repo. d/*. RepoConfiguration File Format: consists of two segments, similar to the Windows ini configuration file[Main]: Main configuration segment[Repo]: Repository configuration section
Structure of the yum repo configuration file:
1234567
[reop_ID]# Note that the repo_
Go to the/etc/yum. Repos. D folder, create a new SJTU. Repo file, copy the following content, and update yum
Fedora-ftp.sjtu.edu.cnName = fedora 15-i386Base url = http://ftp.sjtu.edu.cn/fedora/linux/releases/15/Fedora/i386/ OS/Enabled = 1Gpgcheck = 0Gpgkey = file: // etc/pki/rpm-GPG-key-fedora file: // etc/pki/rpm-GPG/RPM-GPG-KEYEverything-ftp.sjtu.edu.cnName = e
packages 1, 2, and 3, 3 of them have been installed before. If you set it to 1, the Linux YUM configuration will not contain the error message. The default value is 0.
In addition to the above, there are also some options that can be added, such as exclude =, excluding some software in the upgrade list, you can use wildcards, each project in the list should be separated by a space, this is especially useful for those who have installed beautification packages and Chinese patches. Gpgchkeck = th
hundred kb, you will find that it is not as simple as you want. You need to install this one. After the installation is completed, dozens of MB are found.
Next let's take a look at what the RPM package looks like
Prerequisites: I mounted the system disk to/Media/CDROM IN THE centos6.5 environment.
[[Email protected] CDROM] # llTotal 682
-R -- 2 root Root 14 Nov 29 2013 centos_buildtagDr-XR-x 3 Root 2048 Nov 29 2013 EFI-R -- 2 root Root 212 Nov 28 2013 EULA-R -- 2 root Root 18009 Nov 28 2013 GP
Redhat: set local ISO to yum Source
The redhat system needs to be registered when you want to directly pass the yum conditions online. Generally, users are not registered. If you want to install new software through yum, you can set the ISO file of the installation disk image to the yum source. Generally, the following steps are taken:
Step 1: Upload the installation entry file to the server. For example, I upload a rhel-server-6.4-x86_64-dvd.iso to the/home Directory
Step 2: mount the iso file.
Redhat sets the local ISO as the yum source and redhatisoyum Source
The redhat system needs to be registered when you want to directly pass the yum conditions online. Generally, users are not registered. If you want to install new software through yum, you can set the ISO file of the installation disk image to the yum source. Generally, the following steps are taken:
Step 1: Upload the installation entry file to the server. For example, I upload a rhel-server-6.4-x86_64-dvd.iso to the/home Direc
Install Xmms-mp3Install MPlayer and automatically install related software#yum Install MPlayerDelete the Licq package and delete the package that is dependent on the package#yum Remove LicqNote: At the same time will be prompted to delete licq-gnome,licq-qt,licq-text, very convenientSystem Update (update all RPM packages that can be upgraded, including kernel)#yum-y UpdatePerform periodic system updates on a daily basis#chkconfig Yum on#service Yum StartSeven. Secure update of Freshrpms.net RPM
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.