In debian, if the public key is missing during apt-getupdate, The gpgerror-Linux Release Technology-Debian information is displayed. See the following for details. Sometimes, when an unofficial source is added, a gpg error message without a public key is displayed, indicating that there may be a backdoor program, which is annoying for frequent update.
The solution is to import the public key and use the following statement:
file to a directory in the following way, usually mounted to/media/cdrom:Mount-t iso9660-o loop/root/CentOS-6.4-x86_64-bin-DVD1.iso/media/cdrom/(2) install and start the vsftpd service.The vsftpd service is not installed by default because the installation of my server is minimized. Enter the mounted directory here. Use rpm-ivh to install the vsftpd service.[Root@centos6centos6.4] # cd/media/cdrom/[Root @ centos6cdrom] # llTotal usage 676-R -- 2 root root14 March 6 2013 CentOS_BuildTagDr-xr-xr-
The key import problem of fedora-general Linux technology-Linux technology and application information. The following is a detailed description. # Rpm -- import/etc/pki/rpm-gpg /*
Error:/etc/pki/rpm-gpg/RPM-GPG-KEY-adobe-linux: import failed.
Error:/etc/pki/rpm-gpg/RPM-GPG-K
The default centos comes with a lot of good software, so you need to add a third source1. Install the centos Yum source priority plug-in Yum-PrioritiesYum install yum-plugin-priorities.noarch2. Set the highest priority of the centos default Yum SourceCD/etc/yum. Repos. d/# enter the yum source directoryVI CentOS-Base.repo # Add priority = 1 under the [base], [updates], [extras] group, add priority = 2 under the [centosplus], [contrib] Group######################################## ###############
/yum.repos.d# mv Oracle-Base.repo Oracle-Base.repo.disabled# wget http://public-yum.oracle.com/public-yum-el4.repoOracle VM 2# cd /etc/yum.repos.d# wget http://public-yum.oracle.com/public-yum-ovm2.repo
Enable the appropriate repository by editing the Yum configuration file
Open the Yum configuration file in a text editor
Locate the section of the file for the repository you plan to update from, e.g.[el4_u6_base]
Change to enabled=0enabled=1
Begin using Yum, for
are manually other picking.
# # If The mirrorlist= does not work for your, as a fall back you can try the # remarked out Baseurl= line instead. # [Base] name=centos-$releasever-base mirrorlist=http://mirrorlist.centos.org/?release= $releasever arch=$ Basearchrepo=os #baseurl =http://mirror.centos.org/centos/$releasever/os/$basearch/gpgcheck=1 gpgkey=file:// /etc/pki/rpm-gpg/rpm-gpg-key-centos-5 #released U
simple too. This is my. offlineimaprc file. It checks one of Gmail account and one other IMAP account. Here are a fully commented config file with every option.
MsmtpMSMTP is a simpler alternative to sendmail. It sends mail. Mutt is a MUA (mail User agent) not a MTA (mail Transpot Agent) and as such does not send email; You are have to the set up something else to does it for Mutt. This isn ' t is bad, really (Ed:it is the hardest part for Greg, don ' t let him fool you). Although, I did have a
in numbersX: Indicates an executable, which can be represented by a number-: Indicates that no corresponding permission can be represented by a number ofchmod o+w File1chmod g-w File1chmod go-w File1chmod u=rwx File1which# U on behalf of owner (user)# G for the group where the owner resides# O stands for others, but not u and g (Other)# A for all people, including U,g and OPS Open Task Manager, small partsPs-aux Open all static task ManagerTop Open D
Modify etcyumreposdCentos-BaserepoCentOS-BaserepoThemirrorsys
Modify/etc/yum. repos. d/Centos-Base.repo
# CentOS-Base.repo## The mirror system uses the connecting IP address of the client and the# update status of each mirror to pick mirrors that are updated to and# geographically close to the client. You should use this for CentOS updates# unless you are manually picking other mirrors.## If the mirrorlist= does not work for you, as a fall back you can try the # remarked out baseurl= line inst
Modify/etc/yum.repos.d/centos-base.repo
# Centos-base.repo
#
# The Mirror system uses the connecting IP address of the client and the
# Update status of each mirror to pick mirrors, are updated to and
# Geographically close to the client. You are should use this for CentOS updates
# Unless you are manually picking the other mirrors.
#
# If The mirrorlist= does not work for your, as a fall back you can try the
# remarked out Baseurl= line instead.
#
#
[Base]
name=centos-$releasever-b
[[email protected] yum.repos.d]# rpm-e--nodeps MySQLError:package MySQL is not installed[[email protected] yum.repos.d]# rpm-qa |grep MySQL[[email protected] yum.repos.d]# yum install MySQL================================================================================Package Arch Version Repository Size================================================================================Installing:MySQL i386 5.0.95-5.el5_9 base 4.9 MMySQL x86_64 5.0.95-5.el5_9 base 4.9 MInstalling for dependencies:PE
There are two methods to configure yum. One is to directly configure Yum under the/etc directory. CONF file, the other is in/etc/yum. repos. d directory. repo file.
1. Yum configuration file
$ CAT/etc/yum. conf
[Main]Cachedir =/var/Cache/Yum # cache directory of the RPM package downloaded by yumKeepcache = 0 # Whether the cache is saved, 1 is saved, and 0 is not saved.Debuglevel = 2 # debug level (0-10). The default value is 2 (I do not know the specific debug level application ).Logfi
/cdrom/mnt/cdrom
Step 2: Edit repository settings to create a local. repo in/etc/yum. repos. d/and add the following content to [Cluster]
Name = Red Hat Enterprise Linux $ releasever-$ basearch-Cluster
Baseurl = file: // mnt/cdrom/Cluster
Enabled = 1
Gpgcheck = 1
Gpgkey = file: // etc/pki/rpm-gpg/RPM-GPG-KEY-RedHat-release
[ClusterStorage]
Name = Red Hat Enterprise Linux $ releasever-$ basearch-ClusterStora
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.