Linux下通过wget下载Oracle补丁(如11.2.0.2.0)
wget -c --http-user=user --http-password=pwd --output-document=patch.zip quot;download_urlquot; -o download.log 各参数
首页 → 数据库技术
背景:
阅读新闻
Linux下通过wget下载Oracle补丁(如11.2.0.2.0)
[日期:2010-12-08] 来源:Linux社区 作者:edeed [字体:]
1. 语法:
wget -c --http-user=user --http-password=pwd --output-document=patch.zip "download_url" -o download.log &
各参数含义如下:
-c 表示断点续传
--http-user metalink帐号
--http-password metalink密码
--output-document 下载的文件名
"download_url" 下载地址(右击"下载"按钮后复制的链接地址)
-o 输出日志文件名
2. 方法:
在浏览器中输入以下地址:
https://updates.Oracle.com/Orion/PatchDetails/handle_plat_lang_change?plat_lang=267P&patch_file=&file_id=&password_required=&password_required_readme=&merged_trans=&aru=12960454&patch_num=10098816&patch_num_id=1294815&default_release=80112020&default_plat_lang=226P&default_compatible_with=&patch_password=&orderby=&direction=&no_header=0&sortcolpressed=&tab_number=&urlc=v1.2
在此页面选择要现在的文件, 然后右击"下载"按钮后, 复制各链接地址备用. 【6688电子商务网站 】如图:
3. 举例(下载oracle 11.2.0.2.0 for linux x86_64):
先建立下载目录, 并设置metalink用户名密码:
$ mkdir -p /u01/software/11g
$ cd /u01/software/11g
$USERNAME=abc@oracle.com
$PASSWORD=jbgsn
然后开始下载此七个文件(注意下载链接中的matalink用户名已经通过变量$USERNAME替换掉了):
$ wget -c --http-user=$USERNAME --http-password=$PASSWORD \
--output-document=p10098816_112020_Linux-x86-64_1of7.zip \
"https://updates.oracle.com/Orion/Download/process_form/p10098816_112020_Linux-x86-64_1of7.zip?file_id=34840697&aru=13149219&userid=o-$USERNAME&email=$USERNAME&patch_password=&patch_file=p10098816_112020_Linux-x86-64_1of7.zip" \
-o download1.log &
$ wget -c --http-user=$USERNAME --http-password=$PASSWORD \
--output-document=p10098816_112020_Linux-x86-64_2of7.zip \
"https://updates.oracle.com/Orion/Download/process_form/p10098816_112020_Linux-x86-64_2of7.zip?file_id=34840698&aru=13149219&userid=o-$USERNAME&email=$USERNAME&patch_password=&patch_file=p10098816_112020_Linux-x86-64_2of7.zip" \
-o download2.log &
$ wget -c --http-user=$USERNAME --http-password=$PASSWORD \
--output-document=p10098816_112020_Linux-x86-64_3of7.zip \
"https://updates.oracle.com/Orion/Download/process_form/p10098816_112020_Linux-x86-64_3of7.zip?file_id=34840699&aru=13149219&userid=o-$USERNAME&email=$USERNAME&patch_password=&patch_file=p10098816_112020_Linux-x86-64_3of7.zip" \
-o download3.log &
$ wget -c --http-user=$USERNAME --http-password=$PASSWORD \
--output-document=p10098816_112020_Linux-x86-64_4of7.zip \
"https://updates.oracle.com/Orion/Download/process_form/p10098816_112020_Linux-x86-64_4of7.zip?file_id=34840703&aru=13149219&userid=o-$USERNAME&email=$USERNAME&patch_password=&patch_file=p10098816_112020_Linux-x86-64_4of7.zip" \
-o download4.log &
$ wget -c --http-user=$USERNAME --http-password=$PASSWORD \
--output-document=p10098816_112020_Linux-x86-64_5of7.zip \
"https://updates.oracle.com/Orion/Download/process_form/p10098816_112020_Linux-x86-64_5of7.zip?file_id=34840707&aru=13149219&userid=o-$USERNAME&email=$USERNAME&patch_password=&patch_file=p10098816_112020_Linux-x86-64_5of7.zip" \
-o download5.log &
$ wget -c --http-user=$USERNAME --http-password=$PASSWORD \
--output-document=p10098816_112020_Linux-x86-64_6of7.zip \
"https://updates.oracle.com/Orion/Download/process_form/p10098816_112020_Linux-x86-64_6of7.zip?file_id=34840708&aru=13149219&userid=o-$USERNAME&email=$USERNAME&patch_password=&patch_file=p10098816_112020_Linux-x86-64_6of7.zip" \
-o download6.log &
$ wget -c --http-user=$USERNAME --http-password=$PASSWORD \
--output-document=p10098816_112020_Linux-x86-64_7of7.zip \
"https://updates.oracle.com/Orion/Download/process_form/p10098816_112020_Linux-x86-64_7of7.zip?file_id=34840712&aru=13149219&userid=o-$USERNAME&email=$USERNAME&patch_password=&patch_file=p10098816_112020_Linux-x86-64_7of7.zip" \
-o download7.log &
可以查过查看各downloadX.log日志了解下载进度和下载速度.
--End--
Linux 系统下MySQL连接的套接字出错问题解决
Oracle备份与恢复核心技术点
相关资讯 oracle
图片资讯
本文评论 查看全部评论 (0)
评论声明
最新资讯
本周热门

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics

Solutions to Oracle cannot be opened include: 1. Start the database service; 2. Start the listener; 3. Check port conflicts; 4. Set environment variables correctly; 5. Make sure the firewall or antivirus software does not block the connection; 6. Check whether the server is closed; 7. Use RMAN to recover corrupt files; 8. Check whether the TNS service name is correct; 9. Check network connection; 10. Reinstall Oracle software.

The method to solve the Oracle cursor closure problem includes: explicitly closing the cursor using the CLOSE statement. Declare the cursor in the FOR UPDATE clause so that it automatically closes after the scope is ended. Declare the cursor in the USING clause so that it automatically closes when the associated PL/SQL variable is closed. Use exception handling to ensure that the cursor is closed in any exception situation. Use the connection pool to automatically close the cursor. Disable automatic submission and delay cursor closing.

In Oracle, the FOR LOOP loop can create cursors dynamically. The steps are: 1. Define the cursor type; 2. Create the loop; 3. Create the cursor dynamically; 4. Execute the cursor; 5. Close the cursor. Example: A cursor can be created cycle-by-circuit to display the names and salaries of the top 10 employees.

Oracle database paging uses ROWNUM pseudo-columns or FETCH statements to implement: ROWNUM pseudo-columns are used to filter results by row numbers and are suitable for complex queries. The FETCH statement is used to get the specified number of first rows and is suitable for simple queries.

To stop an Oracle database, perform the following steps: 1. Connect to the database; 2. Shutdown immediately; 3. Shutdown abort completely.

Building a Hadoop Distributed File System (HDFS) on a CentOS system requires multiple steps. This article provides a brief configuration guide. 1. Prepare to install JDK in the early stage: Install JavaDevelopmentKit (JDK) on all nodes, and the version must be compatible with Hadoop. The installation package can be downloaded from the Oracle official website. Environment variable configuration: Edit /etc/profile file, set Java and Hadoop environment variables, so that the system can find the installation path of JDK and Hadoop. 2. Security configuration: SSH password-free login to generate SSH key: Use the ssh-keygen command on each node

SQL statements can be created and executed based on runtime input by using Oracle's dynamic SQL. The steps include: preparing an empty string variable to store dynamically generated SQL statements. Use the EXECUTE IMMEDIATE or PREPARE statement to compile and execute dynamic SQL statements. Use bind variable to pass user input or other dynamic values to dynamic SQL. Use EXECUTE IMMEDIATE or EXECUTE to execute dynamic SQL statements.

Oracle garbled problems can be solved by checking the database character set to ensure they match the data. Set the client character set to match the database. Convert data or modify column character sets to match database character sets. Use Unicode character sets and avoid multibyte character sets. Check that the language settings of the database and client are correct.
