[root@localhost ~]# ls
anaconda-ks.cfg yum-3.4.3-158.el7.centos.noarch.rpm yum-updateonboot-1.1.31-45.el7.noarch.rpm
initial-setup-ks.cfg yum-metadata-parser-1.1.4-10.el7.x86_64.rpm yum-utils-1.1.31-45.el7.noarch.rpm
python-urlgrabber-3.10-8.el7.noarch.rpm yum-plugin-fastestmirror-1.1.31-45.el7.noarch.rpm
[root@localhost ~]# rpm -ivh yum-3.4.3-158.el7.centos.noarch.rpm
warning: yum-3.4.3-158.el7.centos.noarch.rpm: Header V3 RSA/SHA256 Signature, key ID f4a80eb5: NOKEY
error: Failed dependencies:
rpm >= 0:4.11.3-22 is needed by yum-3.4.3-158.el7.centos.noarch
yum-metadata-parser >= 1.1.0 is needed by yum-3.4.3-158.el7.centos.noarch
yum-plugin-fastestmirror is needed by yum-3.4.3-158.el7.centos.noarch
[root@localhost ~]# LS
bash: LS: command not found...
Similar command is: 'ls'
[root@localhost ~]# ls
anaconda-ks.cfg yum-3.4.3-158.el7.centos.noarch.rpm yum-updateonboot-1.1.31-45.el7.noarch.rpm
initial-setup-ks.cfg yum-metadata-parser-1.1.4-10.el7.x86_64.rpm yum-utils-1.1.31-45.el7.noarch.rpm
python-urlgrabber-3.10-8.el7.noarch.rpm yum-plugin-fastestmirror-1.1.31-45.el7.noarch.rpm
[root@localhost ~]# ls |grep yum
yum-3.4.3-158.el7.centos.noarch.rpm
yum-metadata-parser-1.1.4-10.el7.x86_64.rpm
yum-plugin-fastestmirror-1.1.31-45.el7.noarch.rpm
yum-updateonboot-1.1.31-45.el7.noarch.rpm
yum-utils-1.1.31-45.el7.noarch.rpm
[root@localhost ~]# ls |grep yum |xargs rpm -ivh
warning: yum-3.4.3-158.el7.centos.noarch.rpm: Header V3 RSA/SHA256 Signature, key ID f4a80eb5: NOKEY
error: Failed dependencies:
rpm >= 0:4.11.3-22 is needed by yum-3.4.3-158.el7.centos.noarch        rpm >= 0:4.11.3-22,这句话意思是需要rpm-4.11.3-22的包。为了理解这句话,查阅了一个小时资料。
[root@localhost ~]# wget http://mirrors.163.com/centos/7/os/x86_64/Packages/rpm-4.11.3-32.el7.x86_64.rpm
--2018-07-10 05:17:15-- http://mirrors.163.com/centos/7/os/x86_64/Packages/rpm-4.11.3-32.el7.x86_64.rpm
Resolving mirrors.163.com (mirrors.163.com)... 59.111.0.251
Connecting to mirrors.163.com (mirrors.163.com)|59.111.0.251|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1217728 (1.2M) [application/x-redhat-package-manager]
Saving to: ‘rpm-4.11.3-32.el7.x86_64.rpm’

100%[============================================================================================================>] 1,217,728 2.40MB/s in 0.5s

2018-07-10 05:17:16 (2.40 MB/s) - ‘rpm-4.11.3-32.el7.x86_64.rpm’ saved [1217728/1217728]

[root@localhost ~]# ls
anaconda-ks.cfg rpm-4.11.3-32.el7.x86_64.rpm yum-plugin-fastestmirror-1.1.31-45.el7.noarch.rpm
initial-setup-ks.cfg yum-3.4.3-158.el7.centos.noarch.rpm yum-updateonboot-1.1.31-45.el7.noarch.rpm
python-urlgrabber-3.10-8.el7.noarch.rpm yum-metadata-parser-1.1.4-10.el7.x86_64.rpm yum-utils-1.1.31-45.el7.noarch.rpm
[root@localhost ~]# rpm -ivh rpm-4.11.3-32.el7.x86_64.rpm      安装是不行的。。需要升级
warning: rpm-4.11.3-32.el7.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID f4a80eb5: NOKEY
Preparing... ################################# [100%]
file /bin/rpm from install of rpm-4.11.3-32.el7.x86_64 conflicts with file from package rpm-4.11.1-16.el7.x86_64
file /usr/bin/rpm2cpio from install of rpm-4.11.3-32.el7.x86_64 conflicts with file from package rpm-4.11.1-16.el7.x86_64
file /usr/bin/rpmdb from install of rpm-4.11.3-32.el7.x86_64 conflicts with file from package rpm-4.11.1-16.el7.x86_64
file /usr/bin/rpmkeys from install of rpm-4.11.3-32.el7.x86_64 conflicts with file from package rpm-4.11.1-16.el7.x86_64
file /usr/lib/rpm/macros from install of rpm-4.11.3-32.el7.x86_64 conflicts with file from package rpm-4.11.1-16.el7.x86_64
file /usr/lib/rpm/platform/aarch64-linux/macros from install of rpm-4.11.3-32.el7.x86_64 conflicts with file from package rpm-4.11.1-16.el7.x86_64
file /usr/lib/rpm/platform/alpha-linux/macros from install of rpm-4.11.3-32.el7.x86_64 conflicts with file from package rpm-4.11.1-16.el7.x86_64
file /usr/lib/rpm/platform/alphaev5-linux/macros from install of rpm-4.11.3-32.el7.x86_64 conflicts with file from package rpm-4.11.1-16.el7.x86_64
file /usr/lib/rpm/platform/alphaev56-linux/macros from install of rpm-4.11.3-32.el7.x86_64 conflicts with file from package rpm-4.11.1-16.el7.x86_64
file /usr/lib/rpm/platform/alphaev6-linux/macros from install of rpm-4.11.3-32.el7.x86_64 conflicts with file from package rpm-4.11.1-16.el7.x86_64
file /usr/lib/rpm/platform/alphaev67-linux/macros from install of rpm-4.11.3-32.el7.x86_64 conflicts with file from package rpm-4.11.1-16.el7.x86_64
file /usr/lib/rpm/platform/alphapca56-linux/macros from install of rpm-4.11.3-32.el7.x86_64 conflicts with file from package rpm-4.11.1-16.el7.x86_64
file /usr/lib/rpm/platform/amd64-linux/macros from install of rpm-4.11.3-32.el7.x86_64 conflicts with file from package rpm-4.11.1-16.el7.x86_64
file /usr/lib/rpm/platform/armv3l-linux/macros from install of rpm-4.11.3-32.el7.x86_64 conflicts with file from package rpm-4.11.1-16.el7.x86_64
file /usr/lib/rpm/platform/armv4b-linux/macros from install of rpm-4.11.3-32.el7.x86_64 conflicts with file from package rpm-4.11.1-16.el7.x86_64
file /usr/lib/rpm/platform/armv4l-linux/macros from install of rpm-4.11.3-32.el7.x86_64 conflicts with file from package rpm-4.11.1-16.el7.x86_64
file /usr/lib/rpm/platform/armv5tejl-linux/macros from install of rpm-4.11.3-32.el7.x86_64 conflicts with file from package rpm-4.11.1-16.el7.x86_64
file /usr/lib/rpm/platform/armv5tel-linux/macros from install of rpm-4.11.3-32.el7.x86_64 conflicts with file from package rpm-4.11.1-16.el7.x86_64
file /usr/lib/rpm/platform/armv6l-linux/macros from install of rpm-4.11.3-32.el7.x86_64 conflicts with file from package rpm-4.11.1-16.el7.x86_64
file /usr/lib/rpm/platform/armv7hl-linux/macros from install of rpm-4.11.3-32.el7.x86_64 conflicts with file from package rpm-4.11.1-16.el7.x86_64
file /usr/lib/rpm/platform/armv7hnl-linux/macros from install of rpm-4.11.3-32.el7.x86_64 conflicts with file from package rpm-4.11.1-16.el7.x86_64
file /usr/lib/rpm/platform/armv7l-linux/macros from install of rpm-4.11.3-32.el7.x86_64 conflicts with file from package rpm-4.11.1-16.el7.x86_64
file /usr/lib/rpm/platform/athlon-linux/macros from install of rpm-4.11.3-32.el7.x86_64 conflicts with file from package rpm-4.11.1-16.el7.x86_64
file /usr/lib/rpm/platform/geode-linux/macros from install of rpm-4.11.3-32.el7.x86_64 conflicts with file from package rpm-4.11.1-16.el7.x86_64
file /usr/lib/rpm/platform/i386-linux/macros from install of rpm-4.11.3-32.el7.x86_64 conflicts with file from package rpm-4.11.1-16.el7.x86_64
file /usr/lib/rpm/platform/i486-linux/macros from install of rpm-4.11.3-32.el7.x86_64 conflicts with file from package rpm-4.11.1-16.el7.x86_64
file /usr/lib/rpm/platform/i586-linux/macros from install of rpm-4.11.3-32.el7.x86_64 conflicts with file from package rpm-4.11.1-16.el7.x86_64
file /usr/lib/rpm/platform/i686-linux/macros from install of rpm-4.11.3-32.el7.x86_64 conflicts with file from package rpm-4.11.1-16.el7.x86_64
file /usr/lib/rpm/platform/ia32e-linux/macros from install of rpm-4.11.3-32.el7.x86_64 conflicts with file from package rpm-4.11.1-16.el7.x86_64
file /usr/lib/rpm/platform/ia64-linux/macros from install of rpm-4.11.3-32.el7.x86_64 conflicts with file from package rpm-4.11.1-16.el7.x86_64
file /usr/lib/rpm/platform/noarch-linux/macros from install of rpm-4.11.3-32.el7.x86_64 conflicts with file from package rpm-4.11.1-16.el7.x86_64
file /usr/lib/rpm/platform/pentium3-linux/macros from install of rpm-4.11.3-32.el7.x86_64 conflicts with file from package rpm-4.11.1-16.el7.x86_64
file /usr/lib/rpm/platform/pentium4-linux/macros from install of rpm-4.11.3-32.el7.x86_64 conflicts with file from package rpm-4.11.1-16.el7.x86_64
file /usr/lib/rpm/platform/ppc-linux/macros from install of rpm-4.11.3-32.el7.x86_64 conflicts with file from package rpm-4.11.1-16.el7.x86_64
file /usr/lib/rpm/platform/ppc32dy4-linux/macros from install of rpm-4.11.3-32.el7.x86_64 conflicts with file from package rpm-4.11.1-16.el7.x86_64
file /usr/lib/rpm/platform/ppc64-linux/macros from install of rpm-4.11.3-32.el7.x86_64 conflicts with file from package rpm-4.11.1-16.el7.x86_64
file /usr/lib/rpm/platform/ppc64iseries-linux/macros from install of rpm-4.11.3-32.el7.x86_64 conflicts with file from package rpm-4.11.1-16.el7.x86_64
file /usr/lib/rpm/platform/ppc64p7-linux/macros from install of rpm-4.11.3-32.el7.x86_64 conflicts with file from package rpm-4.11.1-16.el7.x86_64
file /usr/lib/rpm/platform/ppc64pseries-linux/macros from install of rpm-4.11.3-32.el7.x86_64 conflicts with file from package rpm-4.11.1-16.el7.x86_64
file /usr/lib/rpm/platform/ppc8260-linux/macros from install of rpm-4.11.3-32.el7.x86_64 conflicts with file from package rpm-4.11.1-16.el7.x86_64
file /usr/lib/rpm/platform/ppc8560-linux/macros from install of rpm-4.11.3-32.el7.x86_64 conflicts with file from package rpm-4.11.1-16.el7.x86_64
file /usr/lib/rpm/platform/ppciseries-linux/macros from install of rpm-4.11.3-32.el7.x86_64 conflicts with file from package rpm-4.11.1-16.el7.x86_64
file /usr/lib/rpm/platform/ppcpseries-linux/macros from install of rpm-4.11.3-32.el7.x86_64 conflicts with file from package rpm-4.11.1-16.el7.x86_64
file /usr/lib/rpm/platform/s390-linux/macros from install of rpm-4.11.3-32.el7.x86_64 conflicts with file from package rpm-4.11.1-16.el7.x86_64
file /usr/lib/rpm/platform/s390x-linux/macros from install of rpm-4.11.3-32.el7.x86_64 conflicts with file from package rpm-4.11.1-16.el7.x86_64
file /usr/lib/rpm/platform/sh-linux/macros from install of rpm-4.11.3-32.el7.x86_64 conflicts with file from package rpm-4.11.1-16.el7.x86_64
file /usr/lib/rpm/platform/sh3-linux/macros from install of rpm-4.11.3-32.el7.x86_64 conflicts with file from package rpm-4.11.1-16.el7.x86_64
file /usr/lib/rpm/platform/sh4-linux/macros from install of rpm-4.11.3-32.el7.x86_64 conflicts with file from package rpm-4.11.1-16.el7.x86_64
file /usr/lib/rpm/platform/sh4a-linux/macros from install of rpm-4.11.3-32.el7.x86_64 conflicts with file from package rpm-4.11.1-16.el7.x86_64
file /usr/lib/rpm/platform/sparc-linux/macros from install of rpm-4.11.3-32.el7.x86_64 conflicts with file from package rpm-4.11.1-16.el7.x86_64
file /usr/lib/rpm/platform/sparc64-linux/macros from install of rpm-4.11.3-32.el7.x86_64 conflicts with file from package rpm-4.11.1-16.el7.x86_64
file /usr/lib/rpm/platform/sparc64v-linux/macros from install of rpm-4.11.3-32.el7.x86_64 conflicts with file from package rpm-4.11.1-16.el7.x86_64
file /usr/lib/rpm/platform/sparcv8-linux/macros from install of rpm-4.11.3-32.el7.x86_64 conflicts with file from package rpm-4.11.1-16.el7.x86_64
file /usr/lib/rpm/platform/sparcv9-linux/macros from install of rpm-4.11.3-32.el7.x86_64 conflicts with file from package rpm-4.11.1-16.el7.x86_64
file /usr/lib/rpm/platform/sparcv9v-linux/macros from install of rpm-4.11.3-32.el7.x86_64 conflicts with file from package rpm-4.11.1-16.el7.x86_64
file /usr/lib/rpm/platform/x86_64-linux/macros from install of rpm-4.11.3-32.el7.x86_64 conflicts with file from package rpm-4.11.1-16.el7.x86_64
file /usr/lib/rpm/rpmrc from install of rpm-4.11.3-32.el7.x86_64 conflicts with file from package rpm-4.11.1-16.el7.x86_64
file /usr/share/locale/br/LC_MESSAGES/rpm.mo from install of rpm-4.11.3-32.el7.x86_64 conflicts with file from package rpm-4.11.1-16.el7.x86_64
file /usr/share/locale/ca/LC_MESSAGES/rpm.mo from install of rpm-4.11.3-32.el7.x86_64 conflicts with file from package rpm-4.11.1-16.el7.x86_64
file /usr/share/locale/cs/LC_MESSAGES/rpm.mo from install of rpm-4.11.3-32.el7.x86_64 conflicts with file from package rpm-4.11.1-16.el7.x86_64
file /usr/share/locale/da/LC_MESSAGES/rpm.mo from install of rpm-4.11.3-32.el7.x86_64 conflicts with file from package rpm-4.11.1-16.el7.x86_64
file /usr/share/locale/de/LC_MESSAGES/rpm.mo from install of rpm-4.11.3-32.el7.x86_64 conflicts with file from package rpm-4.11.1-16.el7.x86_64
file /usr/share/locale/el/LC_MESSAGES/rpm.mo from install of rpm-4.11.3-32.el7.x86_64 conflicts with file from package rpm-4.11.1-16.el7.x86_64
file /usr/share/locale/eo/LC_MESSAGES/rpm.mo from install of rpm-4.11.3-32.el7.x86_64 conflicts with file from package rpm-4.11.1-16.el7.x86_64
file /usr/share/locale/es/LC_MESSAGES/rpm.mo from install of rpm-4.11.3-32.el7.x86_64 conflicts with file from package rpm-4.11.1-16.el7.x86_64
file /usr/share/locale/fi/LC_MESSAGES/rpm.mo from install of rpm-4.11.3-32.el7.x86_64 conflicts with file from package rpm-4.11.1-16.el7.x86_64
file /usr/share/locale/fr/LC_MESSAGES/rpm.mo from install of rpm-4.11.3-32.el7.x86_64 conflicts with file from package rpm-4.11.1-16.el7.x86_64
file /usr/share/locale/is/LC_MESSAGES/rpm.mo from install of rpm-4.11.3-32.el7.x86_64 conflicts with file from package rpm-4.11.1-16.el7.x86_64
file /usr/share/locale/it/LC_MESSAGES/rpm.mo from install of rpm-4.11.3-32.el7.x86_64 conflicts with file from package rpm-4.11.1-16.el7.x86_64
file /usr/share/locale/ja/LC_MESSAGES/rpm.mo from install of rpm-4.11.3-32.el7.x86_64 conflicts with file from package rpm-4.11.1-16.el7.x86_64
file /usr/share/locale/ko/LC_MESSAGES/rpm.mo from install of rpm-4.11.3-32.el7.x86_64 conflicts with file from package rpm-4.11.1-16.el7.x86_64
file /usr/share/locale/ms/LC_MESSAGES/rpm.mo from install of rpm-4.11.3-32.el7.x86_64 conflicts with file from package rpm-4.11.1-16.el7.x86_64
file /usr/share/locale/nb/LC_MESSAGES/rpm.mo from install of rpm-4.11.3-32.el7.x86_64 conflicts with file from package rpm-4.11.1-16.el7.x86_64
file /usr/share/locale/nl/LC_MESSAGES/rpm.mo from install of rpm-4.11.3-32.el7.x86_64 conflicts with file from package rpm-4.11.1-16.el7.x86_64
file /usr/share/locale/pl/LC_MESSAGES/rpm.mo from install of rpm-4.11.3-32.el7.x86_64 conflicts with file from package rpm-4.11.1-16.el7.x86_64
file /usr/share/locale/pt/LC_MESSAGES/rpm.mo from install of rpm-4.11.3-32.el7.x86_64 conflicts with file from package rpm-4.11.1-16.el7.x86_64
file /usr/share/locale/pt_BR/LC_MESSAGES/rpm.mo from install of rpm-4.11.3-32.el7.x86_64 conflicts with file from package rpm-4.11.1-16.el7.x86_64
file /usr/share/locale/ru/LC_MESSAGES/rpm.mo from install of rpm-4.11.3-32.el7.x86_64 conflicts with file from package rpm-4.11.1-16.el7.x86_64
file /usr/share/locale/sk/LC_MESSAGES/rpm.mo from install of rpm-4.11.3-32.el7.x86_64 conflicts with file from package rpm-4.11.1-16.el7.x86_64
file /usr/share/locale/sl/LC_MESSAGES/rpm.mo from install of rpm-4.11.3-32.el7.x86_64 conflicts with file from package rpm-4.11.1-16.el7.x86_64
file /usr/share/locale/sr/LC_MESSAGES/rpm.mo from install of rpm-4.11.3-32.el7.x86_64 conflicts with file from package rpm-4.11.1-16.el7.x86_64
file /usr/share/locale/sr@latin/LC_MESSAGES/rpm.mo from install of rpm-4.11.3-32.el7.x86_64 conflicts with file from package rpm-4.11.1-16.el7.x86_64
file /usr/share/locale/sv/LC_MESSAGES/rpm.mo from install of rpm-4.11.3-32.el7.x86_64 conflicts with file from package rpm-4.11.1-16.el7.x86_64
file /usr/share/locale/te/LC_MESSAGES/rpm.mo from install of rpm-4.11.3-32.el7.x86_64 conflicts with file from package rpm-4.11.1-16.el7.x86_64
file /usr/share/locale/tr/LC_MESSAGES/rpm.mo from install of rpm-4.11.3-32.el7.x86_64 conflicts with file from package rpm-4.11.1-16.el7.x86_64
file /usr/share/locale/uk/LC_MESSAGES/rpm.mo from install of rpm-4.11.3-32.el7.x86_64 conflicts with file from package rpm-4.11.1-16.el7.x86_64
file /usr/share/locale/zh_CN/LC_MESSAGES/rpm.mo from install of rpm-4.11.3-32.el7.x86_64 conflicts with file from package rpm-4.11.1-16.el7.x86_64
file /usr/share/locale/zh_TW/LC_MESSAGES/rpm.mo from install of rpm-4.11.3-32.el7.x86_64 conflicts with file from package rpm-4.11.1-16.el7.x86_64
file /usr/share/man/man8/rpm.8.gz from install of rpm-4.11.3-32.el7.x86_64 conflicts with file from package rpm-4.11.1-16.el7.x86_64
[root@localhost ~]# ls |grep yum |xargs rpm -ivh
warning: yum-3.4.3-158.el7.centos.noarch.rpm: Header V3 RSA/SHA256 Signature, key ID f4a80eb5: NOKEY
error: Failed dependencies:
rpm >= 0:4.11.3-22 is needed by yum-3.4.3-158.el7.centos.noarch
[root@localhost ~]# ls
anaconda-ks.cfg rpm-4.11.3-32.el7.x86_64.rpm yum-plugin-fastestmirror-1.1.31-45.el7.noarch.rpm
initial-setup-ks.cfg yum-3.4.3-158.el7.centos.noarch.rpm yum-updateonboot-1.1.31-45.el7.noarch.rpm
python-urlgrabber-3.10-8.el7.noarch.rpm yum-metadata-parser-1.1.4-10.el7.x86_64.rpm yum-utils-1.1.31-45.el7.noarch.rpm
[root@localhost ~]# rpm -Uvh rpm-4.11.3-32.el7.x86_64.rpm --nodeps                 升级包
warning: rpm-4.11.3-32.el7.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID f4a80eb5: NOKEY
Preparing... ################################# [100%]
Updating / installing...
1:rpm-4.11.3-32.el7 ################################# [ 50%]
Cleaning up / removing...
2:rpm-4.11.1-16.el7 ################################# [100%]
[root@localhost ~]# ls |grep yum |xargs rpm -ivh         好了,,这样就能安装呢
warning: yum-3.4.3-158.el7.centos.noarch.rpm: Header V3 RSA/SHA256 Signature, key ID f4a80eb5: NOKEY
Preparing... ################################# [100%]
Updating / installing...
1:yum-metadata-parser-1.1.4-10.el7 ################################# [ 20%]
2:yum-plugin-fastestmirror-1.1.31-4################################# [ 40%]
3:yum-3.4.3-158.el7.centos ################################# [ 60%]
4:yum-updateonboot-1.1.31-45.el7 ################################# [ 80%]
5:yum-utils-1.1.31-45.el7 ################################# [100%]

小红帽安装centos的yum的一些坑!的更多相关文章

  1. redhat 7安装CentOS 7 yum源

    http://www.bubuko.com/infodetail-2004218.html http://www.bubuko.com/infodetail-2004218.html ******** ...

  2. redhat6下安装centos的yum源

    因为redhat中的yum是收费的,未注册时不允许使用的,下面是挂载光盘后的情况,未挂载是没有yum命令.但是下面即便挂载了也是需要验证的 [root@localhost /]# yum instal ...

  3. Nginx 安装(CentOS )非yum安装

    Nginx 安装(CentOS ) 一.安装编译工具及库文件 yum -y install make zlib zlib-devel gcc-c++ libtool openssl openssl-d ...

  4. [转载]Redhat Enterprise 6.1 如何使用免费的CentOS的yum源

    Redhat Enterprise 6.1 如何使用免费的CentOS的yum源 graybull posted @ 2013年2月18日 22:29 in Unix/Linux with tags  ...

  5. CentOS使用yum源中自带的rpm包安装LAMP环境

    CentOS使用yum源中自带的rpm包安装LAMP环境.这是Linux下安装LAMP的环境一种最基本最简便的方式.新手可以从容安装使用. 1. 安装基础包(可选安装)yum install -y w ...

  6. Centos下Yum安装PHP5.5,5.6,7.0

    默认的版本太低了,手动安装有一些麻烦,想采用Yum安装的可以使用下面的方案: 1.检查当前安装的PHP包 yum list installed | grep php 如果有安装的PHP包,先删除他们 ...

  7. centos'的yum安装php的memcache扩展

    centos'的yum安装php的memcache扩展 博客分类: linux   让php能使用memcached服务的扩展有两种:memcache 和 memcached 1. 先安装libmem ...

  8. CentOS 7 yum安装Zabbix

    一.Zabbix简介 zabbix是一个基于WEB界面的提供分布式系统监视以及网络监视功能的企业级的开源解决方案.zabbix能监视各种网络参数,保证服务器系统的安全运营:并提供灵活的通知机制以让系统 ...

  9. centos下yum搭建安装linux+apache+mysql+php环境

    一.脚本YUM源安装: 1.yum install wget                                                     #安装下载工具wget 2.wge ...

随机推荐

  1. border-radius给元素加圆角边框

    border-radius给元素加圆角边框 例: border-radius:20px; /*所有角都使用半径为20px的圆角*/ 实心圆: 把宽度(width)与高度(height)值设置为一致(也 ...

  2. JavaEE权限管理系统的搭建(三)--------springmvc和mabatis整合环境搭建

    本节介绍如何环境的搭建和配置: 首先要在父工程引入jar包依赖: <!-- 通过属性定义指定jar的版本 --> <properties> <spring.version ...

  3. 刚学不久的python,自己稍微加工了一点,影响不大,因为博主很懒,所以格式什么的,就没有太在意了!

    本人初学python,之前因为有接触过其他语言,但是并没有接触的太深,出于对一个hacker的向往,学习一下Linux和python再说,当然,也是为了高工资啦,啊哈哈哈! 一开始就是一个蛮有意思的小 ...

  4. mongoose查询数据库步骤

    建立dumall数据库,创建goods集合,导入数据文件,也可以自己手动插入. mongodb安装与环境搭建: http://www.cnblogs.com/ccyinghua/p/7887713.h ...

  5. 6.安装使用vue-quill-editor

    前言: 在vue项目中,因为涉及到使用文本编辑器, 恰恰vue-quill-editor就是一个简单实用的富文本编辑器. 参考文档:vue中使用vue-quill-editor富文本编辑器,自定义to ...

  6. JavaWeb-拦截器,过滤器,监听器的区别和执行顺序

    一:拦截器 :是在面向切面编程的就是在你的service或者一个方法,前调用一个方法,或者在方法后调用一个方法比如动态代理就是拦截器的简单实现,springmvc的aop中的前置通知和后置通知. 二: ...

  7. cursor 在某一操作之前打开 fetch cursorname into var1

    工作中遇到这样一个问题,在一个存储过程中,我想让一个游标在某一操作之前打开,说白了操作会影响我游标中已定义好的数据,这里我们用到游标的第二种用法,代码如下 cursor c_relation is s ...

  8. udp重发java实现

    最近在处理框架通讯方面的问题,通过积累的开发经验,其实在很多情况(尤其是实时大数据量),udp是占有很多优势的:不需要连接,只管发送,理论上要快很多; 另外在穿墙上占有很大优势: 但是最大的一个问题就 ...

  9. 爬虫学习(十四)——xpath项目实践

    import osimport timeimport urllib.requestimport urllib.parsefrom lxml import etree # 构建面向对象的代码方式clas ...

  10. php-5.6.26源代码 - opcode处理器,“函数调用opcode”处理器,如何调用扩展模块的函数

    // opcode处理器 --- ZEND_DO_FCALL_SPEC_CONST_HANDLER实现在 php-5.6.26\Zend\zend_vm_execute.h static int ZE ...