oracle11安装及使用

安装oracle11

官网下载地址 Oracle Database 11g Release 2 for Microsoft Windows (x64)

 

官网下载慢可访问我的资源

也可以网盘获取  

链接:https://pan.baidu.com/s/1RDrGkqDA7tfKRnpJXUBMDw 
提取码:z3na

上传安装包到服务器

在指定目录下创建文件夹installfile,我是在/newdisk/oracle/installfile,将安装文件上传到该文件夹

禁用防火墙

systemctl stop firewalld.servicesystemctl disable firewalld.service

安装依赖包

yum -y install binutils compat-libcap1 compat-libstdc++-33 compat-libstdc++-33*i686 compat-libstdc++-33*.devel compat-libstdc++-33 compat-libstdc++-33*.devel gcc gcc-c++ glibc glibc*.i686 glibc-devel glibc-devel*.i686 ksh libaio libaio*.i686 libaio-devel libaio-devel*.devel libgcc libgcc*.i686 libstdc++ libstdc++*.i686 libstdc++-devel libstdc++-devel*.devel libXi libXi*.i686 libXtst libXtst*.i686 make sysstat unixODBC unixODBC*.i686 unixODBC-devel unixODBC-devel*.i686

验证依赖包

rpm -q binutils compat-libcap1 compat-libstdc++-33 gcc gcc-c++ glibc glibc-devel ksh libaio libaio-devel libgcc libstdc++ libstdc++-devel libXi libXtst make sysstat unixODBC unixODBC-devel

 创建orcale用户

[root@localhost installfile]# groupadd -g 502 oinstall
[root@localhost installfile]# groupadd -g 503 dba
[root@localhost installfile]# groupadd -g 504 oper
[root@localhost installfile]# groupadd -g 505 asmadmin
[root@localhost oracle]# sudo useradd -u 502 -g oinstall -G oinstall,dba,asmadmin,oper -s /bin/bash -m oracle
[root@localhost oracle]# passwd oracle
Changing password for user oracle.
New password:
BAD PASSWORD: The password is shorter than 8 characters
Retype new password:
passwd: all authentication tokens updated successfully.
[root@localhost oracle]#

创建oradata目录,解压oracle安装包

mkdir /oradata

将/newdisk/oracle/oradatainstallfile/文件夹下的压缩包剪切到/oradata下面

drwxr-xr-x. 2 root root 98 Feb 27 00:31 installfile
drwxr-xr-x. 2 root root  6 Feb 27 02:03 oradata
[root@localhost oracle]# cp installfile/* oradata/
[root@localhost oracle]# ls oradata/
p13390677_112040_Linux-x86-64_1of7.zip  p13390677_112040_Linux-x86-64_2of7.zip
[root@localhost oracle]#

将/newdisk/oracle/oradata上的目录内的所有文件和文件夹的归属都修改为oracle用户

chown -R oracle:oinstall /newdisk/oracle/oradata

登录oracle用户将两个压缩文件解压

[root@localhost oradata]# su oracle
[oracle@localhost oradata]$ unzip p13390677_112040_Linux-x86-64_1of7.zip
[oracle@localhost oradata]$ unzip p13390677_112040_Linux-x86-64_2of7.zip

会多一个database文件夹 

root用户下修改系统配置参数


[oracle@localhost oradata]$ su root
Password:
[root@localhost oradata]# vim /etc/security/limits.conf#在最后加上下面配置oracle          soft    nproc           2047
oracle          hard    nproc           16384
oracle          soft    nofile          1024
oracle          hard    nofile          65536
oracle          soft    stack           10240

配置oracle安装目录

用oracle用户并创建安装目录

[root@localhost oradata]# su oracle
[oracle@localhost oradata]$ pwd
/newdisk/oracle/oradata
[oracle@localhost oradata]$ mkdir -p /newdisk/oracle/oradata/oracle11g

配置环境变量

用oracle用户

[oracle@localhost /]$ cd
[oracle@localhost ~]$ vim .bash_profile

在最后一行输入下面的命令:

#这边地址根据安装目录定
export ORACLE_BASE=/newdisk/oracle/oradata/oracle11g
export ORACLE_HOME=$ORACLE_BASE/product/11.2.0.3/dbhome_1
export ORACLE_SID=prod
export NLS_LANG=.AL32UTF8
export PATH=${PATH}:${ORACLE_HOME}/bin:$ORACLE_HOME/lib64

使环境变量生效

[oracle@localhost ~]$ source .bash_profile

修改安装配置文件

拷贝安装文件db_install.rsp到/newdisk/oracle/oradata/目录下

[oracle@localhost oradata]$ cp database/response/db_install.rsp /newdisk/oracle/oradata/
[oracle@localhost oradata]$ ll
total 2487228
drwxr-xr-x. 7 oracle oinstall        136 Aug 26  2013 database
-rw-r--r--. 1 oracle oinstall      25116 Feb 27 03:31 db_install.rsp
drwxr-xr-x. 2 oracle oinstall          6 Feb 27 03:29 oracle11g
-rw-r--r--. 1 oracle oinstall 1395582860 Feb 27 02:04 p13390677_112040_Linux-x86-64_1of7.zip
-rw-r--r--. 1 oracle oinstall 1151304589 Feb 27 02:04 p13390677_112040_Linux-x86-64_2of7.zip

编辑db_install.rsp

[oracle@localhost oradata]$ vim db_install.rsp

下面分别在文件中的对应行号内进行相应的设置

可以使用 :set number 显示行号

29 oracle.install.option=INSTALL_DB_AND_CONFIG
37 ORACLE_HOSTNAME=你的虚拟机ip
42 UNIX_GROUP_NAME=oinstall
49 INVENTORY_LOCATION=/newdisk/oracle/oradata/oraInventory
86 SELECTED_LANGUAGES=en,zh_CN
91 ORACLE_HOME=/newdisk/oracle/oradata/oracle11g/product/11.2.0.3/dbhome_1
96 ORACLE_BASE=/newdisk/oracle/oradata/oracle11g
107 oracle.install.db.InstallEdition=EE
154 oracle.install.db.DBA_GROUP=dba
160 oracle.install.db.OPER_GROUP=oper
189 oracle.install.db.config.starterdb.type=GENERAL_PURPOSE
194 oracle.install.db.config.starterdb.globalDBName=prod
199 oracle.install.db.config.starterdb.SID=prod
213 oracle.install.db.config.starterdb.characterSet=AL32UTF8
221 oracle.install.db.config.starterdb.memoryOption=true
229 oracle.install.db.config.starterdb.memoryLimit=512
262 oracle.install.db.config.starterdb.password.ALL=oracle
336 oracle.install.db.config.starterdb.storageType=FILE_SYSTEM_STORAGE

344 oracle.install.db.config.starterdb.fileSystemStorage.dataLocation=

/newdisk/oracle/oradata/oracle11g/data

351 oracle.install.db.config.starterdb.fileSystemStorage.recoveryLocation=

/newdisk/oracle/oradata/oracle11g/fast_recovery_area

400 DECLINE_SECURITY_UPDATES=true

开始安装oracle

输入下面的命令:

进入/newdisk/oracle/oradata/database目录

执行安装命令

./runInstaller -silent -ignoreSysPrereqs -responseFile /newdisk/oracle/oradata/db_install.rsp -ignorePrereq

 等待直到出现下面代码就成功了 

 连接oracle

sqlplus / as sysdba

正常情况会连接成功,而我出现了如下的情况

 这就是虽然安装成功了,但问题可能在于sqlplus命令未能正确添加到系统路径中

所以在安装目录找sqlplus命令

[oracle@localhost database]$ find /newdisk/ -name sqlplus
/newdisk/oracle/oradata/oracle11g/product/11.2.0.3/dbhome_1/bin/sqlplus
/newdisk/oracle/oradata/oracle11g/product/11.2.0.3/dbhome_1/sqlplus

我们先打印ORACLE_HOME

发现和我们安装的目录不一样,查看~/.bash_profile文件

在打印ORACLE_BASE

 

发现是空,查看 ~/.bash_profile文件

发现是有值的,那就是没有刷新配置,刷新一下配置,在查看

再次连接oracle,成功

navicat连接测试 

使用sys用户密码是上面设置的oracle,

oracle.install.db.config.starterdb.password.ALL=oracle

使用sys登录需要时sysdba角色,如下

 

卸载oracle

以root用户身份登录系统

停止所有Oracle相关进程。您可以使用以下命令来列出所有Oracle进程并停止它们(请注意,这里假设您正在使用Oracle 11g):

ps -ef | grep oracle | grep -v grep

然后,您可以使用kill命令停止每个进程。例如,如果您想要停止进程ID为1234的进程,可以使用以下命令

kill -9 1234

 停止监听

lsnrctl stop

删除安装目录

rm -rf /newdisk/oracle/oradata/oracle11grm -rf /newdisk/oracle/oradata/oraInventory/

创建用户并赋予权限

--创建用户
CREATE USER testuser IDENTIFIED BY 123456;--分配连接权限GRANT CONNECT TO testuser;-- 分配创建会话权限
GRANT CREATE SESSION TO testuser;--把所有权限都给用户
GRANT ALL PRIVILEGES TO testuser;

查询所有表空间

SELECT --B.file_name "文件名",A.TABLESPACE_NAME "表空间名",TOTAL "表空间大小",FREE "表空间剩余大小",(TOTAL - FREE) "表空间使用大小",TOTAL / (1024 * 1024 * 1024) "表空间大小(G)",FREE / (1024 * 1024 * 1024) "表空间剩余大小(G)",(TOTAL - FREE) / (1024 * 1024 * 1024) "表空间使用大小(G)",ROUND((TOTAL - FREE) / TOTAL, 4) * 100 "使用率 %"
FROM   (SELECT TABLESPACE_NAME,SUM(BYTES) FREEFROM   DBA_FREE_SPACEGROUP  BY TABLESPACE_NAME) A,(SELECT TABLESPACE_NAME,--  file_name,SUM(BYTES) TOTALFROM   DBA_DATA_FILESGROUP  BY TABLESPACE_NAME/*,file_name*/) B
WHERE  A.TABLESPACE_NAME = B.TABLESPACE_NAME;

创建表空间

CREATE TABLESPACE 表空间名称 LOGGING DATAFILE 挂载地址 SIZE 大小 ;--举例
CREATE TABLESPACE TBS_INDEX_ITMS LOGGING DATAFILE '/export/home/oradata/TBS_INDEX_ITMS' SIZE 5120M ;

删除表空间

--删除空的表空间,但是不包含物理文件
drop tablespace tablespace_name;
--删除非空表空间,但是不包含物理文件
drop tablespace tablespace_name including contents;
--删除空表空间,包含物理文件
drop tablespace tablespace_name including datafiles;
--删除非空表空间,包含物理文件
drop tablespace tablespace_name including contents and datafiles;
--如果其他表空间中的表有外键等约束关联到了本表空间中的表的字段,就要加上CASCADE CONSTRAINTS
drop tablespace tablespace_name including contents and datafiles CASCADE CONSTRAINTS;

执行sql文件


-bash-4.2$ sqlplus gtmsmanager/gtmsmanager@10.21.1.176:1521/gtmsdbSQL*Plus: Release 11.2.0.4.0 Production on Tue Feb 27 09:34:03 2024Copyright (c) 1982, 2013, Oracle.  All rights reserved.Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing optionsSQL> @/root/oracle/insert.sql

如果没有权限,给所有用户赋予文件夹的所有权限,再次执行就行了

chmod o+w /root/oracle/

导入导出dmp

更多导出查看 exp help=y

导出dmp

导出数据库全部数据

仅输入数据库连接串和文件导出路径就可以执行导出,导出文件后缀为dmp

exp  用户名/密码@IP/服务名  FILE=导出文件路径 exp testuser/123456@192.168.31.130/prod FILE=/newdisk/oracle/oradata/dmpdir/cyz_expdp_all.dmp;[oracle@localhost oradata]$ exp testuser/123456@192.168.31.130/prod FILE=/newdisk/oracle/oradata/dmpdir/cyz_expdp_all.dmp;Export: Release 11.2.0.4.0 - Production on Tue Feb 27 22:29:54 2024Copyright (c) 1982, 2011, Oracle and/or its affiliates.  All rights reserved.Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
Export done in AL32UTF8 character set and AL16UTF16 NCHAR character set
. exporting pre-schema procedural objects and actions
. exporting foreign function library names for user TESTUSER
. exporting PUBLIC type synonyms
. exporting private type synonyms
. exporting object type definitions for user TESTUSER
About to export TESTUSER's objects ...
. exporting database links
. exporting sequence numbers
. exporting cluster definitions
. about to export TESTUSER's tables via Conventional Path ...
. . exporting table                        STUDENT          0 rows exported
. . exporting table                       TESTUSER          0 rows exported
. exporting synonyms
. exporting views
. exporting stored procedures
. exporting operators
. exporting referential integrity constraints
. exporting triggers
. exporting indextypes
. exporting bitmap, functional and extensible indexes
. exporting posttables actions
. exporting materialized views
. exporting snapshot logs
. exporting job queues
. exporting refresh groups and children
. exporting dimensions
. exporting post-schema procedural objects and actions
. exporting statistics
Export terminated successfully without warnings.
[oracle@localhost oradata]$ ls dmpdir
cyz_expdp_all.dmp  cyz_expdp.dmp

按表名导出

exp user/pwd@ip/service FILE=导出文件地址 TABLES=表名1,表名2;exp testuser/123456@192.168.31.130/prod FILE=/newdisk/oracle/oradata/dmpdir/cyz_expdp.dmp TABLES=STUDENT,TESTUSER;[oracle@localhost oradata]$ exp testuser/123456@192.168.31.130/prod FILE=/newdisk/oracle/oradata/dmpdir/cyz_expdp.dmp TABLES=STUDENT,TESTUSER;Export: Release 11.2.0.4.0 - Production on Tue Feb 27 22:23:48 2024Copyright (c) 1982, 2011, Oracle and/or its affiliates.  All rights reserved.Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
Export done in AL32UTF8 character set and AL16UTF16 NCHAR character setAbout to export specified tables via Conventional Path ...
. . exporting table                        STUDENT          0 rows exported
. . exporting table                       TESTUSER          0 rows exported
Export terminated successfully without warnings.
[oracle@localhost oradata]$ ls dmpdir
cyz_expdp.dmp

导入dmp

更多导入查看 imp help=y

导入整个文件

imp user/pwd@ip/service FILE=导出文件地址  FULL=Yimp testuser/123456@192.168.31.130/prod  FILE=/newdisk/oracle/oradata/dmpdir/cyz_expdp_all.dmp   FULL=Y[oracle@localhost oradata]$ imp testuser/123456@192.168.31.130/prod  FILE=/newdisk/oracle/oradata/dmpdir/cyz_expdp_all.dmp   FULL=YImport: Release 11.2.0.4.0 - Production on Tue Feb 27 22:37:45 2024Copyright (c) 1982, 2011, Oracle and/or its affiliates.  All rights reserved.Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing optionsExport file created by EXPORT:V11.02.00 via conventional path
import done in AL32UTF8 character set and AL16UTF16 NCHAR character set
. importing TESTUSER's objects into TESTUSER
. . importing table                      "STUDENT"          0 rows imported
. . importing table                     "TESTUSER"          0 rows imported
Import terminated successfully without warnings.

按表名导入

导入文件中的多个表

imp user/pwd@ip/service FILE=/newdisk/oracle/oradata/dmpdir/cyz_expdp.dmp  TABLES=STUDENT,TESTUSERimp testuser/123456@192.168.31.130/prod  FILE=/newdisk/oracle/oradata/dmpdir/cyz_expdp.dmp  TABLES=STUDENT,TESTUSER[oracle@localhost oradata]$ imp testuser/123456@192.168.31.130/prod  FILE=/newdisk/oracle/oradata/dmpdir/cyz_expdp.dmp  TABLES=STUDENT,TESTUSERImport: Release 11.2.0.4.0 - Production on Tue Feb 27 22:42:07 2024Copyright (c) 1982, 2011, Oracle and/or its affiliates.  All rights reserved.Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing optionsExport file created by EXPORT:V11.02.00 via conventional path
import done in AL32UTF8 character set and AL16UTF16 NCHAR character set
. importing TESTUSER's objects into TESTUSER
. importing TESTUSER's objects into TESTUSER
. . importing table                      "STUDENT"          0 rows imported
. . importing table                     "TESTUSER"          0 rows imported
Import terminated successfully without warnings.

导入文件中的一个表

imp user/pwd@ip/service FILE=/newdisk/oracle/oradata/dmpdir/cyz_expdp.dmp  TABLES=STUDENTimp testuser/123456@192.168.31.130/prod  FILE=/newdisk/oracle/oradata/dmpdir/cyz_expdp.dmp  TABLES=STUDENT[oracle@localhost oradata]$ imp testuser/123456@192.168.31.130/prod  FILE=/newdisk/oracle/oradata/dmpdir/cyz_expdp.dmp  TABLES=STUDENT,TESTUSERImport: Release 11.2.0.4.0 - Production on Tue Feb 27 22:42:07 2024Copyright (c) 1982, 2011, Oracle and/or its affiliates.  All rights reserved.Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing optionsExport file created by EXPORT:V11.02.00 via conventional path
import done in AL32UTF8 character set and AL16UTF16 NCHAR character set
. importing TESTUSER's objects into TESTUSER
. importing TESTUSER's objects into TESTUSER
. . importing table                      "STUDENT"          0 rows imported
Import terminated successfully without warnings.

修改用户密码 

sqlplus  SYS/oracle@gtmsdb as sysdbaalter user GTMSMANAGER identified  by 123456;--例子
-bash-4.2$ sqlplus  SYS/oracle@gtmsdb as sysdbaSQL*Plus: Release 11.2.0.4.0 Production on Tue Feb 27 09:59:06 2024Copyright (c) 1982, 2013, Oracle.  All rights reserved.Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing optionsSQL> alter user GTMSMANAGER identified  by 123456;User altered.SQL>

序列操作

新建序列

-- Create sequence  testseq是序列名
create sequence testseq
minvalue 1
maxvalue 999999999999999999999999999
start with 1
increment by 1
cache 20;

查询序列当前值(必须执行一次nextval,否则会报错)

--testseq是名称
select testseq.currval  from dual

查询序列下一个值

--testseq序列名
select testseq.nextval from dual

删除序列

--testseq序列名
DROP SEQUENCE testseq;

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.mzph.cn/news/712128.shtml

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

adb命令

1. 常用命令: adb devices #查看连接设备adb -s cf27456f shell # 指定连接设备使用命令adb install test.apk # 安装应用adb install -r demo.apk #安装apk 到sd 卡:adb uninstall cn.com.test.mobile #卸载应用,需要指定包adb uninstall -…

Windows系统x86机器安装龙芯(loongarch64)3A5000虚拟机系统详细教程

本次介绍在window系统x86机器上安装loongarch64系统的详细教程。 1.安装环境准备。 首先,你得有台电脑。 配置别太差,至少4核8G内存,安装window10或者11都行(为啥不能是Window7,你要用也不是不行,你先解决…

leetcode:860.柠檬水找零

题意:按照支付顺序,进行支付,能够正确找零。 解题思路:贪心策略:针对支付20的客人,优先选择消耗10而不是消耗5,因为5可以用来找零10或20. 代码实现:有三种情况(代表三种…

vscode中使用python的cv2.imread()读取图片为None

这是之前的代码: import cv2img_path c:\\Users\\LENOVO\\Desktop\\QQ截图20240228234801.jpg print(img_path) print(cv2.__version__)img cv2.imread(img_path) print(img)运行结果: c:\Users\LENOVO\Desktop\QQ截图20240228234801.jpg 3.4.1 None…

Linux下主线程 return 0 和 pthread_exit(NULL) 的区别

1. 背景 在Linux环境下,主线程以return 0结束时,程序会在主线程运行完毕后结束。而当主线程以pthread_exit(NULL)作为返回值时,主线程会等待子线程结束后才会退出程序。本文将详细探讨这两种方式的区别,并提供相应的代码示例。 …

String类的使用

String常用的构造方法 String的源码 内部是一个数组和hash值,涉及到常量池后续补充(常量池:存储相同的字符时只会存储一租) String的比较 equals()与:String里面为我们提供了许多方法,可直接调用&#xf…

2024最新-ubuntu22.04安装最新版QT6.6~6.8教程

​ 1. 在官网下载 online_installer: https://download.qt.io/archive/online_installers/4.7/qt-unified-linux-x64-4.7.0-online.run 或者直接镜像站下载: http://mirrors.ustc.edu.cn/qtproject/archive/online_installers/4.7/qt-unified-linux-x6…

数据结构之二叉树的精讲

𝙉𝙞𝙘𝙚!!👏🏻‧✧̣̥̇‧✦👏🏻‧✧̣̥̇‧✦ 👏🏻‧✧̣̥̇:Solitary_walk ⸝⋆ ━━━┓ - 个性标签 - :来于“云”的“羽球人”。…

苹果汽车项目的败局:起步失误与方向迷茫

苹果汽车的发展方向内部分歧导致项目多年挣扎,最终在本周宣布终止。 Brian X. Chen 和 Tripp Mickle 从项目初期就开始关注苹果的汽车项目。 在过去十年中,许多参与苹果秘密汽车项目“泰坦”(内部代号)的员工戏称其为“泰坦尼克…

Python实现链表:从基础到应用

一、引言 链表是一种常见的数据结构,它由一系列节点组成,每个节点包含数据和指向下一个节点的指针。链表在内存中的存储不是连续的,这使得它在插入和删除操作上具有较高的效率。本文将使用Python语言来实现一个简单的链表,并展示其…

【前端面试题1】伪类与伪元素有什么区别

伪类与伪元素的区别: 1.伪类使用单冒号,而伪元素使用双冒号。如 :hover 是伪类,::before 是伪元素 2.伪元素会在文档流生成一个新的元素,但伪元素本身并不是DOM元素,并且可以使用 content 属性设置内容 CSS伪类与伪元…

卷积神经网络基本概念补充

卷积(convolution)、通道(channel) 卷积核大小一般为奇数,有中心像素点,便于定位卷积核。 步长(stride)、填充(padding) 卷积核移动的步长(stride…

小白提示您:FaceTime诈骗持续高发,小伙伴们谨防诈骗!

前几天小白的iPhone突然接到了个FaceTime通话请求,说是某抖音账号需要续费啥的才能解锁某些功能。(具体小白也记不太清了) 这几天也有朋友说有个支付宝客服打FaceTime通话给他说快递出现了点问题,需要操作认证一下才能退款啥的。…

多线程万字详解

进程和线程是计算机程序执行的两个重要概念。 1.进程: 进程是操作系统分配资源的基本单位,每个进程都有自己独立的地址空间,每启动一个进程,系统就会为它分配内存。进程间通信比较复杂,需要用到IPC(InterP…

js监听F11触发全屏事件

当用户使用 F11 键进行浏览器全屏时,由于此时并非通过浏览器提供的 Fullscreen API 进入全屏模式,因此无法通过 fullscreenchange 事件来监听全屏状态的变化。在这种情况下,可以通过监听 resize 事件来检测浏览器窗口大小的变化,从…

【学习日记】快速排序

思想 快速排序之所以快,一个重要原因就是其每一次遍历,都把本轮要排序的数字(称为轴)放到了最终的位置上快排使用分治思想,所以一般采用递归实现,非递归版本可以用栈根据第一点,我们需要一个函…

[渗透教程]-006-渗透测试-Metasploit

文章目录 1.Metasploit简介2.配置2.1方法1 推荐2.2方法23.使用4. Metasploitable2-linuxMetasploit攻击流程攻击实例步骤会话管理1.Metasploit简介 Metasploit是一个渗透测试平台,使您能够查找,利用和验证漏洞.是一个免费的可下载的,通过它可以很容易对计算机软件漏洞实施攻击.…

AttributeError_ ‘list‘ object has no attribute ‘view‘

问题描述 训练yolov9的时候遇到了下面的问题。 In loss_tal.py: pred_distri, pred_scores torch.cat([xi.view(feats[0].shape[0], self.no, -1) for xi in feats], 2).split( (self.reg_max * 4, self.nc), 1) The error is as follows: AttributeError: list …

JavaWeb之 Web概述

目录 前言1.1 Web和 JavaWeb的概念1.2 JavaWeb技术栈1.2.1 B/S架构1.2.2 静态资源1.2.3 动态资源1.2.4 数据库1.2.5 HTTP协议1.2.6 Web服务器 1.3 JavaWeb 学习内容 前言 博主将用 CSDN 记录 Java 后端开发学习之路上的经验,并将自己整理的编程经验和知识分享出来&a…

【Web自动化测试——代码篇十二】自动化测试模型——数据驱动测试和关键字驱动测试

🔥 交流讨论:欢迎加入我们一起学习! 🔥 资源分享:耗时200小时精选的「软件测试」资料包 🔥 教程推荐:火遍全网的《软件测试》教程 📢欢迎点赞 👍 收藏 ⭐留言 &#x1…