centos7.5安装VirtualBox
centos7.5安装minikube时要求先安装VirtualBox
1.准备repo文件
[root@localhost yum.repos.d]# pwd
/etc/yum.repos.d
[root@localhost yum.repos.d]# wget http://download.virtualbox.org/virtualbox/rpm/rhel/virtualbox.repo
---- ::-- http://download.virtualbox.org/virtualbox/rpm/rhel/virtualbox.repo
Resolving download.virtualbox.org (download.virtualbox.org)... 104.85.68.249
Connecting to download.virtualbox.org (download.virtualbox.org)|104.85.68.249|:... connected.
HTTP request sent, awaiting response... OK
Length: [text/plain]
Saving to: ‘virtualbox.repo’ %[==================================================================================================================================>] --.-K/s in 0s -- :: (33.8 MB/s) - ‘virtualbox.repo’ saved [/] [root@localhost yum.repos.d]# ll
total
-rw-r--r--. root root Nov : CentOS-Base.repo
-rw-r--r--. root root Nov : CentOS-CR.repo
-rw-r--r--. root root Nov : CentOS-Debuginfo.repo
-rw-r--r--. root root Nov : CentOS-fasttrack.repo
-rw-r--r--. root root Nov : CentOS-Media.repo
-rw-r--r--. root root Nov : CentOS-Sources.repo
-rw-r--r--. root root Nov : CentOS-Vault.repo
-rw-r--r--. root root Mar : kubernetes.repo
-rw-r--r--. root root Sep virtualbox.repo
2.查看virtualbox.repo
[root@localhost yum.repos.d]# cat virtualbox.repo
[virtualbox]
name=Oracle Linux / RHEL / CentOS-$releasever / $basearch - VirtualBox
baseurl=http://download.virtualbox.org/virtualbox/rpm/el/$releasever/$basearch
enabled=
gpgcheck=
repo_gpgcheck=
gpgkey=https://www.virtualbox.org/download/oracle_vbox.asc
[root@localhost yum.repos.d]#
3.安装VirtualBox
安装失败,并要求先安装gcc kernel
[root@localhost yum.repos.d]# yum install VirtualBox-5.1
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: mirrors.cqu.edu.cn
* extras: mirrors.nwsuaf.edu.cn
* updates: mirrors.cqu.edu.cn
base | 3.6 kB ::
extras | 3.4 kB ::
kubernetes | 1.4 kB ::
updates | 3.4 kB ::
virtualbox//x86_64/signature | B ::
Retrieving key from https://www.virtualbox.org/download/oracle_vbox.asc
Importing GPG key 0x98AB5139:
Userid : "Oracle Corporation (VirtualBox archive signing key) <info@virtualbox.org>"
Fingerprint: 7b0f ab3a 13b9 d9c9 2a4b 98ab
From : https://www.virtualbox.org/download/oracle_vbox.asc
Is this ok [y/N]: y
virtualbox//x86_64/signature | 2.9 kB :: !!!
virtualbox//x86_64/primary_db | kB ::
Resolving Dependencies
--> Running transaction check
---> Package VirtualBox-5.1.x86_64 :5.1.38_122592_el7- will be installed
--> Processing Dependency: libSDL-1.2.so.()(64bit) for package: VirtualBox-5.1-5.1.38_122592_el7-.x86_64
--> Running transaction check
---> Package SDL.x86_64 :1.2.-.el7 will be installed
--> Finished Dependency Resolution Dependencies Resolved ============================================================================================================================================================================
Package Arch Version Repository Size
============================================================================================================================================================================
Installing:
VirtualBox-5.1 x86_64 5.1.38_122592_el7- virtualbox M
Installing for dependencies:
SDL x86_64 1.2.-.el7 base k Transaction Summary
============================================================================================================================================================================
Install Package (+ Dependent package) Total download size: M
Installed size: M
Is this ok [y/d/N]: y
Downloading packages:
(/): SDL-1.2.-.el7.x86_64.rpm | kB ::
warning: /var/cache/yum/x86_64//virtualbox/packages/VirtualBox-5.1-5.1.38_122592_el7-.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID 98ab5139: NOKEY76 MB :: ETA
Public key for VirtualBox-5.1-5.1.38_122592_el7-.x86_64.rpm is not installed
(/): VirtualBox-5.1-5.1.38_122592_el7-.x86_64.rpm | MB ::
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total kB/s | MB ::
Retrieving key from https://www.virtualbox.org/download/oracle_vbox.asc
Importing GPG key 0x98AB5139:
Userid : "Oracle Corporation (VirtualBox archive signing key) <info@virtualbox.org>"
Fingerprint: 7b0f ab3a 13b9 d9c9 2a4b 98ab
From : https://www.virtualbox.org/download/oracle_vbox.asc
Is this ok [y/N]: y
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : SDL-1.2.-.el7.x86_64 /
Installing : VirtualBox-5.1-5.1.38_122592_el7-.x86_64 / Creating group 'vboxusers'. VM users must be member of that group! vboxdrv.sh: failed: Look at /var/log/vbox-install.log to find out what went wrong. ####安装失败
This system is not currently set up to build kernel modules (system extensions).
Running the following commands should set the system up correctly: yum install gcc make ####要求先安装gcc
yum install kernel-devel-3.10.-.el7.x86_64 ####要求先安装kernel
(The last command may fail if your system is not fully updated.)
yum install kernel-devel There were problems setting up VirtualBox. To re-start the set-up process, run
/sbin/vboxconfig
as root.
Verifying : SDL-1.2.-.el7.x86_64 /
Verifying : VirtualBox-5.1-5.1.38_122592_el7-.x86_64 / Installed:
VirtualBox-5.1.x86_64 :5.1.38_122592_el7- Dependency Installed:
SDL.x86_64 :1.2.-.el7 Complete!
安装GCC
[root@localhost log]# yum install gcc make
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: mirrors.cqu.edu.cn
* extras: mirrors.nwsuaf.edu.cn
* updates: mirrors.cqu.edu.cn
Package :make-3.82-.el7.x86_64 already installed and latest version
Resolving Dependencies
--> Running transaction check
---> Package gcc.x86_64 :4.8.-.el7_6. will be installed
--> Processing Dependency: libgomp = 4.8.-.el7_6. for package: gcc-4.8.-.el7_6..x86_64
--> Processing Dependency: cpp = 4.8.-.el7_6. for package: gcc-4.8.-.el7_6..x86_64
--> Processing Dependency: libgcc >= 4.8.-.el7_6. for package: gcc-4.8.-.el7_6..x86_64
--> Processing Dependency: glibc-devel >= 2.2.- for package: gcc-4.8.-.el7_6..x86_64
--> Running transaction check
---> Package cpp.x86_64 :4.8.-.el7_6. will be installed
---> Package glibc-devel.x86_64 :2.17-.el7_6. will be installed
--> Processing Dependency: glibc-headers = 2.17-.el7_6. for package: glibc-devel-2.17-.el7_6..x86_64
--> Processing Dependency: glibc = 2.17-.el7_6. for package: glibc-devel-2.17-.el7_6..x86_64
--> Processing Dependency: glibc-headers for package: glibc-devel-2.17-.el7_6..x86_64
---> Package libgcc.x86_64 :4.8.-.el7 will be updated
---> Package libgcc.x86_64 :4.8.-.el7_6. will be an update
---> Package libgomp.x86_64 :4.8.-.el7 will be updated
---> Package libgomp.x86_64 :4.8.-.el7_6. will be an update
--> Running transaction check
---> Package glibc.x86_64 :2.17-.el7 will be updated
--> Processing Dependency: glibc = 2.17-.el7 for package: glibc-common-2.17-.el7.x86_64
---> Package glibc.x86_64 :2.17-.el7_6. will be an update
---> Package glibc-headers.x86_64 :2.17-.el7_6. will be installed
--> Processing Dependency: kernel-headers >= 2.2. for package: glibc-headers-2.17-.el7_6..x86_64
--> Processing Dependency: kernel-headers for package: glibc-headers-2.17-.el7_6..x86_64
--> Running transaction check
---> Package glibc-common.x86_64 :2.17-.el7 will be updated
---> Package glibc-common.x86_64 :2.17-.el7_6. will be an update
---> Package kernel-headers.x86_64 :3.10.-957.10..el7 will be installed
--> Finished Dependency Resolution Dependencies Resolved ============================================================================================================================================================================
Package Arch Version Repository Size
============================================================================================================================================================================
Installing:
gcc x86_64 4.8.-.el7_6. updates M
Installing for dependencies:
cpp x86_64 4.8.-.el7_6. updates 5.9 M
glibc-devel x86_64 2.17-.el7_6. updates 1.1 M
glibc-headers x86_64 2.17-.el7_6. updates k
kernel-headers x86_64 3.10.-957.10..el7 updates 8.0 M
Updating for dependencies:
glibc x86_64 2.17-.el7_6. updates 3.7 M
glibc-common x86_64 2.17-.el7_6. updates M
libgcc x86_64 4.8.-.el7_6. updates k
libgomp x86_64 4.8.-.el7_6. updates k Transaction Summary
============================================================================================================================================================================
Install Package (+ Dependent packages)
Upgrade ( Dependent packages) Total size: M
Total download size: M
Is this ok [y/d/N]: y
Downloading packages:
(/): glibc-headers-2.17-.el7_6..x86_64.rpm | kB ::
(/): glibc-devel-2.17-.el7_6..x86_64.rpm | 1.1 MB ::
(/): cpp-4.8.-.el7_6..x86_64.rpm | 5.9 MB ::
(/): kernel-headers-3.10.-957.10..el7.x86_64.rpm | 8.0 MB ::
(/): gcc-4.8.-.el7_6..x86_64.rpm | MB ::
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total 1.5 MB/s | MB ::
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Updating : libgcc-4.8.-.el7_6..x86_64 /
Updating : glibc-common-2.17-.el7_6..x86_64 /
Updating : glibc-2.17-.el7_6..x86_64 /
Updating : libgomp-4.8.-.el7_6..x86_64 /
Installing : cpp-4.8.-.el7_6..x86_64 /
Installing : kernel-headers-3.10.-957.10..el7.x86_64 /
Installing : glibc-headers-2.17-.el7_6..x86_64 /
Installing : glibc-devel-2.17-.el7_6..x86_64 /
Installing : gcc-4.8.-.el7_6..x86_64 /
Cleanup : libgomp-4.8.-.el7.x86_64 /
Cleanup : glibc-common-2.17-.el7.x86_64 /
Cleanup : glibc-2.17-.el7.x86_64 /
Cleanup : libgcc-4.8.-.el7.x86_64 /
Verifying : glibc-devel-2.17-.el7_6..x86_64 /
Verifying : gcc-4.8.-.el7_6..x86_64 /
Verifying : glibc-2.17-.el7_6..x86_64 /
Verifying : glibc-common-2.17-.el7_6..x86_64 /
Verifying : kernel-headers-3.10.-957.10..el7.x86_64 /
Verifying : libgomp-4.8.-.el7_6..x86_64 /
Verifying : libgcc-4.8.-.el7_6..x86_64 /
Verifying : cpp-4.8.-.el7_6..x86_64 /
Verifying : glibc-headers-2.17-.el7_6..x86_64 /
Verifying : glibc-2.17-.el7.x86_64 /
Verifying : libgomp-4.8.-.el7.x86_64 /
Verifying : glibc-common-2.17-.el7.x86_64 /
Verifying : libgcc-4.8.-.el7.x86_64 / Installed:
gcc.x86_64 :4.8.-.el7_6. Dependency Installed:
cpp.x86_64 :4.8.-.el7_6. glibc-devel.x86_64 :2.17-.el7_6. glibc-headers.x86_64 :2.17-.el7_6. kernel-headers.x86_64 :3.10.-957.10..el7 Dependency Updated:
glibc.x86_64 :2.17-.el7_6. glibc-common.x86_64 :2.17-.el7_6. libgcc.x86_64 :4.8.-.el7_6. libgomp.x86_64 :4.8.-.el7_6. Complete!
[root@localhost log]#
安装kernel
[root@localhost log]# yum install kernel-devel-3.10.0-957.el7.x86_64
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: mirrors.cqu.edu.cn
* extras: mirrors.nwsuaf.edu.cn
* updates: mirrors.cqu.edu.cn
Resolving Dependencies
--> Running transaction check
---> Package kernel-devel.x86_64 :3.10.-.el7 will be installed
--> Finished Dependency Resolution Dependencies Resolved ============================================================================================================================================================================
Package Arch Version Repository Size
============================================================================================================================================================================
Installing:
kernel-devel x86_64 3.10.-.el7 base M Transaction Summary
============================================================================================================================================================================
Install Package Total download size: M
Installed size: M
Is this ok [y/d/N]: y
Downloading packages:
No Presto metadata available for base
kernel-devel-3.10.-.el7.x86_64.rpm | MB ::
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : kernel-devel-3.10.-.el7.x86_64 /
Verifying : kernel-devel-3.10.-.el7.x86_64 / Installed:
kernel-devel.x86_64 :3.10.-.el7 Complete!
[root@localhost log]# uname -r
3.10.0-957.el7.x86_64
删除并重新安装
[root@localhost log]# yum remove VirtualBox-5.1
Loaded plugins: fastestmirror, langpacks
Resolving Dependencies
--> Running transaction check
---> Package VirtualBox-5.1.x86_64 :5.1.38_122592_el7- will be erased
--> Finished Dependency Resolution Dependencies Resolved ============================================================================================================================================================================
Package Arch Version Repository Size
============================================================================================================================================================================
Removing:
VirtualBox-5.1 x86_64 5.1.38_122592_el7- @virtualbox M Transaction Summary
============================================================================================================================================================================
Remove Package Installed size: M
Is this ok [y/N]: y
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Erasing : VirtualBox-5.1-5.1.38_122592_el7-.x86_64 /
Verifying : VirtualBox-5.1-5.1.38_122592_el7-.x86_64 / Removed:
VirtualBox-5.1.x86_64 :5.1.38_122592_el7- Complete!
[root@localhost log]# yum install VirtualBox-5.1
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: mirrors.cqu.edu.cn
* extras: mirrors.nwsuaf.edu.cn
* updates: mirrors.cqu.edu.cn
Resolving Dependencies
--> Running transaction check
---> Package VirtualBox-5.1.x86_64 :5.1.38_122592_el7- will be installed
--> Finished Dependency Resolution Dependencies Resolved ============================================================================================================================================================================
Package Arch Version Repository Size
============================================================================================================================================================================
Installing:
VirtualBox-5.1 x86_64 5.1.38_122592_el7- virtualbox M Transaction Summary
============================================================================================================================================================================
Install Package Total download size: M
Installed size: M
Is this ok [y/d/N]: y
Downloading packages:
VirtualBox-5.1-5.1.38_122592_el7-.x86_64.rpm | MB ::
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : VirtualBox-5.1-5.1.38_122592_el7-.x86_64 / Creating group 'vboxusers'. VM users must be member of that group! Verifying : VirtualBox-5.1-5.1.38_122592_el7-.x86_64 / Installed:
VirtualBox-5.1.x86_64 :5.1.38_122592_el7- Complete!
查看状态
[root@localhost log]# systemctl status vboxdrv.service
● vboxdrv.service - VirtualBox Linux kernel module
Loaded: loaded (/usr/lib/virtualbox/vboxdrv.sh; enabled; vendor preset: disabled)
Active: active (exited) since Wed -- :: CST; 24s ago
Process: ExecStart=/usr/lib/virtualbox/vboxdrv.sh start (code=exited, status=/SUCCESS)
Tasks:
Memory: 0B Mar :: localhost.localdomain systemd[]: Starting VirtualBox Linux kernel module...
Mar :: localhost.localdomain vboxdrv.sh[]: vboxdrv.sh: Starting VirtualBox services.
Mar :: localhost.localdomain systemd[]: Started VirtualBox Linux kernel module.
[root@localhost log]# service vboxdrv status
Redirecting to /bin/systemctl status vboxdrv.service
● vboxdrv.service - VirtualBox Linux kernel module
Loaded: loaded (/usr/lib/virtualbox/vboxdrv.sh; enabled; vendor preset: disabled)
Active: active (exited) since Wed -- :: CST; 30s ago
Process: ExecStart=/usr/lib/virtualbox/vboxdrv.sh start (code=exited, status=/SUCCESS)
Tasks:
Memory: 0B Mar :: localhost.localdomain systemd[]: Starting VirtualBox Linux kernel module...
Mar :: localhost.localdomain vboxdrv.sh[]: vboxdrv.sh: Starting VirtualBox services.
Mar :: localhost.localdomain systemd[]: Started VirtualBox Linux kernel module.
[root@localhost log]#
4.查看日志
[root@localhost log]# view /var/log/vbox-install.log
find /tmp/vbox.0/.tmp_versions -name '*.mod' | xargs -r grep -h '\.ko$' | sort -u | sed 's/\.ko$/.o/' | scripts/mod/modpost -m -a -i ./Module.symvers -I /tmp/vbox.0/Module.symvers -o /tmp/vbox.0/Module.symvers -w -s -T -
gcc -Wp,-MD,/tmp/vbox.0/.vboxpci.mod.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-redhat-linux/4.8.5/include -I./arch/x86/include -Iarch/x86/include/generated -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -fno-delete-null-pointer-checks -std=gnu89 -O2 -m64 -mno-mmx -mno-sse -mpreferred-stack-boundary=3 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -Wframe-larger-than=2048 -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -mindirect-branch=thunk-extern -mindirect-branch-register -DRETPOLINE -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -g -pg -mfentry -DCC_USING_FENTRY -fno-inline-functions-called-once -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -DCC_HAVE_ASM_GOTO -include /tmp/vbox.0/include/VBox/SUPDrvMangling.h -I/lib/modules/3.10.0-957.el7.x86_64/build/include -I/tmp/vbox.0/ -I/tmp/vbox.0/include -I/tmp/vbox.0/r0drv/linux -I/tmp/vbox.0/vboxpci/ -I/tmp/vbox.0/vboxpci/include -I/tmp/vbox.0/vboxpci/r0drv/linux -D__KERNEL__ -DMODULE -DRT_OS_LINUX -DIN_RING0 -DIN_RT_R0 -DIN_SUP_R0 -DVBOX -DRT_WITH_VBOX -DVBOX_WITH_HARDENING -DRT_ARCH_AMD64 -DVBOX_WITH_64_BITS_GUESTS -fno-pie -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(vboxpci.mod)" -D"KBUILD_MODNAME=KBUILD_STR(vboxpci)" -DMODULE -c -o /tmp/vbox.0/vboxpci.mod.o /tmp/vbox.0/vboxpci.mod.c
ld -r -m elf_x86_64 -T ./scripts/module-common.lds --build-id -o /tmp/vbox.0/vboxpci.ko /tmp/vbox.0/vboxpci.o /tmp/vbox.0/vboxpci.mod.o
[root@localhost log]#
centos7.5安装VirtualBox的更多相关文章
- CentOS7.3安装VirtualBox
安装 DKMS.更新内核 # yum -y install gcc make glibc kernel-headers kernel-devel dkms Installed: dkms.noar ...
- Centos7.5 安装VirtualBox增强工具
一.安装 1.自带tools: 选择VirtualBox工具栏 => 设备 => 安装增强功能 2.挂载光驱 3.进入光驱目录,执行(一定要用root权限执行) ①安装gcc yum i ...
- centos7.5安装minikube kubernetes
前提:已安装centos7.5安装VirtualBox Minikube是什么?Minikube是一种方便在本地运行Kubernetes的工具. Minikube 是可以在VM中运行单节点的Kuber ...
- Ubuntu安装VirtualBox以及CentOS7.5联网设置
一.virtualBox的安装 官方Liunx版本下载地址: https://www.virtualbox.org/wiki/Linux_Downloads 这里选择下载ubuntu 16.04 ...
- 使用Ghost版本Windows7系统下载安装virtualBox和centos7异常解决
使用Ghost版本Windows7系统下载安装virtualBox和centos7异常解决: 下载安装运行virtualBox时出现获取VirtualBox对象严重错误(如图): 解决方案步骤: 在开 ...
- CentOS7安装virtualbox
1.进入virtualbox官网 https://www.virtualbox.org/ 2.点击download 3.点击Linux distributions 4.向下翻至如图,并且进入同种框选页 ...
- CentOS7 - 安装 VirtualBox
参考资料 最新的可用安装包可以从这里下载 VirtualBox 是 x86 硬件虚拟化产品,功能上与 VMware Server.KVM.及 Xen 类似,但是 VirtualBox 不修改 Linu ...
- 使用 yum 安装 virtualbox 虚拟机
我的环境是centos7,所以也可以说是在centos7下使用yum安装virtualbox,不过对于其他的LINUX发行版方法都一样. 下面的操作都是在命令行中进行的. 1.首先需要配置yum的源. ...
- centos6.7 安装 virtualBox 再安装 centos 7
Tag: 黄色为自己实际情况需要设置的部分,绿色部分为虚拟机名称(自定义) 1.创建虚拟机VBoxManage createvm --name centos7 --ostype Linux26_64 ...
随机推荐
- Boost--lexical_cast 一个方便安全高效的string转换库
#include "boost\lexical_cast.hpp" #include <vector> #include <iostream> #inclu ...
- .NET使用Task动态创建多任务多线程并行程序计算Redis集群keys计算
Task是一个很好用的多任务处理类,并且通过Task可以对任务进行很好的控制. 下面将通过代码实现Redis集群在使用IServer.keys时通过多任务对多个服务器示例进行并行计算,并对返回key做 ...
- HDOJ 2019 数列有序!
#include<vector> #include<iostream> #include<algorithm> #include<cstdio> usi ...
- IGMP Internet组管理协议 未完
一.IGMP Internet组管理协议 2.IGMP v2 3.IGMP三版本比较 4.1.1.4 IGMP v2 与 IGMP v1 的兼容 5.IGMP窃听(IGMP Snooping) IGM ...
- 关于把Json数据绑定到select2中
最近做的一个项目中用到select2,想把Json的数据绑定到select2中,select2默认的能够接受的json格式的数据是以{id:"",text:''}这样的键值对来保存 ...
- Go语言 数据类型,流程控制
Go语言 数据类型,流程控制 人生苦短,Let's Go ! package main // 必须要有一个main包 import "fmt" func main() { fmt. ...
- centos6.2 安装Mysql5.6
1. mysql官网下载rpm包 [root@slave2 home]# ls hbase hive mysql mysql57-community-release-el6-11.noarch. ...
- 解决IIS7下主机名灰色无法修改问题
打开IIS ,找到网站,右击编辑绑定时: 关于导入iis .pfx格式的证书后,编辑绑定时,主机名为灰色的问题 解决方法 : (1)打开C:\Windows\system32\inetsrv\co ...
- hive创建orc表,使用LLAP查询
create table if not exists test_orc( name string, age int, address string ) partitioned by (dt strin ...
- Spring之jdbcTemplate:查询的三种方式(单个值、单个对象、对象集合)
JdbcTemplateDemo2.java package helloworld.jdbcTemplate; import org.springframework.jdbc.core.JdbcTem ...