小红帽安装centos的yum的一些坑!
[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的一些坑!的更多相关文章
- redhat 7安装CentOS 7 yum源
http://www.bubuko.com/infodetail-2004218.html http://www.bubuko.com/infodetail-2004218.html ******** ...
- redhat6下安装centos的yum源
因为redhat中的yum是收费的,未注册时不允许使用的,下面是挂载光盘后的情况,未挂载是没有yum命令.但是下面即便挂载了也是需要验证的 [root@localhost /]# yum instal ...
- Nginx 安装(CentOS )非yum安装
Nginx 安装(CentOS ) 一.安装编译工具及库文件 yum -y install make zlib zlib-devel gcc-c++ libtool openssl openssl-d ...
- [转载]Redhat Enterprise 6.1 如何使用免费的CentOS的yum源
Redhat Enterprise 6.1 如何使用免费的CentOS的yum源 graybull posted @ 2013年2月18日 22:29 in Unix/Linux with tags ...
- CentOS使用yum源中自带的rpm包安装LAMP环境
CentOS使用yum源中自带的rpm包安装LAMP环境.这是Linux下安装LAMP的环境一种最基本最简便的方式.新手可以从容安装使用. 1. 安装基础包(可选安装)yum install -y w ...
- Centos下Yum安装PHP5.5,5.6,7.0
默认的版本太低了,手动安装有一些麻烦,想采用Yum安装的可以使用下面的方案: 1.检查当前安装的PHP包 yum list installed | grep php 如果有安装的PHP包,先删除他们 ...
- centos'的yum安装php的memcache扩展
centos'的yum安装php的memcache扩展 博客分类: linux 让php能使用memcached服务的扩展有两种:memcache 和 memcached 1. 先安装libmem ...
- CentOS 7 yum安装Zabbix
一.Zabbix简介 zabbix是一个基于WEB界面的提供分布式系统监视以及网络监视功能的企业级的开源解决方案.zabbix能监视各种网络参数,保证服务器系统的安全运营:并提供灵活的通知机制以让系统 ...
- centos下yum搭建安装linux+apache+mysql+php环境
一.脚本YUM源安装: 1.yum install wget #安装下载工具wget 2.wge ...
随机推荐
- Entity Framework 6事务回滚
使用EF6你有新的事务处理可以使用类似于: 复制代码 using (var context = new PostEntityContainer()) { using (var dbcxtransact ...
- css术语和概念
.vocabulary{ height:99px; color:transparent; } 属性 上面示意css代码中的height和color就是属性. 值 上面的99px就是值 整数值: ...
- 转:SSM框架——详细整合教程(Spring+SpringMVC+MyBatis)
转:https://www.cnblogs.com/zyw-205520/p/4771253.html 1.基本概念 1.1.Spring Spring是一个开源框架,Spring是于2003 年 ...
- 抽象类和final
抽象类: 概念:在继承过程中,形成一个继承金字塔,位于金字塔底部的类越来越具体(强大),位于塔顶的越来越抽象(简单). 关键字 :abstract 抽象类特性: [1]抽象类过于抽象,实例化后无语义 ...
- 某寺庙,有小和尚、老和尚若干。有一水缸,由小和尚用水桶从井中提水入缸,老和尚用水桶从缸里取水饮用。水缸可容10桶水,水取自同一井中。水井径窄,每次只能容一个水桶取水。水桶总数为3个。每次入、取缸水仅为1桶,且不可以同时进行。试用P、V操作给出小和尚、老和尚动作的算法描述。
寺庙和尚打水 设信号量mutex_gang, mutex_jing, gang_empty, gang_full, count分别表示使用缸互斥, 使用井互斥, 缸空, 缸满, 水桶总个数 semap ...
- 2017.11.12 web中JDBC 方式访问数据库的技术
JavaWeb------ 第四章 JDBC数据库访问技术 在JavaWeb应用程序中数据库访问是通过Java数据库连接(JavaDateBase Connectivity简称JDBC)数据库的链接一 ...
- django中的auth模块以及分页器
1.auth模块 auth模块是Django提供的标准权限管理系统,可以提供用户身份认证,和权限管理 auth可以和admin模块配合使用, 快速建立网站的管理系统 在INSTALLED_APPS中添 ...
- javascript入门笔记5-事件
1.继续循环continue; continue的作用是仅仅跳过本次循环,而整个循环体继续执行. 语句结构: for(初始条件;判断条件;循环后条件值更新) { if(特殊情况) { continue ...
- Kiwi,BDD行为测试框架--iOS攻城狮进阶必备技能
简介 Kiwi 是一个适用于iOS开发的行为驱动测试框架,旨在提供一个足够简单易用的BDD库. 项目主页: https://github.com/kiwi-bdd/Kiwi 示例下载: https:/ ...
- ElasticSearch 集群原理
节点 一个运行中的EasticSearch 被称为一个节点,而集群是由多个用于拥有相同cluster.name配置的节点组成,它们共同承担数据和负载的压力,当有新的节点加入或移除,集群会重新平均分布所 ...