RHEL 7 安装激活

https://www.cnblogs.com/fantasyxo/p/10700656.html

https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/7/html/managing_systems_using_the_rhel_7_web_console/getting-started-with-the-rhel-web-console_system-management-using-the-rhel-7-web-console#what-is-the-RHEL-web-console_getting-started-with-the-web-console

https://www.xgss.net/16608.html

db2:

yum -y install libaio compat-libstdc++ ksh openssh rsh-server nfs-utils

https://www.cnblogs.com/wwjblog/p/17337494.html

https://www.bilibili.com/video/av630220169/?vd_source=2e137d91d58e280049b91fe9f4ffd6dd

db2 connect to SAMPLE user db2inst1  using  123456

授予"db2inst1"连接数据库的权限:
db2  GRANT CONNECT ON DATABASE TO USER "db2inst1"; 


授予"db2inst1"创建表和视图的权限:
db2  GRANT CREATEIN ON DATABASE TO USER "db2inst1";

授予"db2inst1"对特定表的SELECT, INSERT, UPDATE, DELETE权限:
db2 GRANT SELECT, INSERT, UPDATE, DELETE ON TABLE "your_table" TO USER "db2inst1";

授予"db2inst1"执行特定存储过程的权限:
db2 GRANT EXECUTE ON PROCEDURE "your_procedure" TO USER "db2inst1";

阿里源

https://developer.aliyun.com/mirror/centos?spm=a2c6h.13651102.0.0.3e221b11QGNZkO

 vi /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 instead.

#

#

[base]

name=CentOS-$releasever - Base - mirrors.aliyun.com

failovermethod=priority

baseurl=https://mirrors.aliyun.com/centos-vault/7.9.2009/os/$basearch/

gpgcheck=1

gpgkey=https://mirrors.aliyun.com/centos-vault/RPM-GPG-KEY-CentOS-7

#released updates

[updates]

name=CentOS-$releasever - Updates - mirrors.aliyun.com

failovermethod=priority

baseurl=https://mirrors.aliyun.com/centos-vault/7.9.2009/updates/$basearch/

gpgcheck=1

gpgkey=https://mirrors.aliyun.com/centos-vault/RPM-GPG-KEY-CentOS-7

#additional packages that may be useful

[extras]

name=CentOS-$releasever - Extras - mirrors.aliyun.com

failovermethod=priority

baseurl=https://mirrors.aliyun.com/centos-vault/7.9.2009/extras/$basearch/

gpgcheck=1

gpgkey=https://mirrors.aliyun.com/centos-vault/RPM-GPG-KEY-CentOS-7

#additional packages that extend functionality of existing packages

[centosplus]

name=CentOS-$releasever - Plus - mirrors.aliyun.com

failovermethod=priority

baseurl=https://mirrors.aliyun.com/centos-vault/7.9.2009/centosplus/$basearch/

gpgcheck=1

enabled=0

gpgkey=https://mirrors.aliyun.com/centos-vault/RPM-GPG-KEY-CentOS-7

#contrib - packages by Centos Users

[contrib]

name=CentOS-$releasever - Contrib - mirrors.aliyun.com

failovermethod=priority

baseurl=https://mirrors.aliyun.com/centos-vault/7.9.2009/contrib/$basearch/

gpgcheck=1

enabled=0

gpgkey=https://mirrors.aliyun.com/centos-vault/RPM-GPG-KEY-CentOS-7

 

posted @ 2024-11-08 22:24  微笑的''80  阅读(25)  评论(0)    收藏  举报