Fedora 10安装Oracle 10g

Linux 上安装Oracle 10g 介绍和过程 Linux平台安装oracle10g数据库文档 oracle数据库软件可以跑在几乎所有的windows/unix系列操作系统上,由于linux系统的易获得,开源,建议学习使用。(本次使用redhat 5.3 32bit) 1)安装linux操作系统 传送门:http://blog.youkuaiyun.com/w63667329/article/details/7886792 阅读详情

一、首先必须装一些必要的包,这步是必须的,不然后面一大堆的错误
    make-3.81-14.fc10.i386
    gcc-4.3.2-7.i386
    glibc-2.9-3.i686
    glibc-devel-2.9-3.i386
    compat-db45-4.5.20-5.fc10.i386
    compat-gcc-34-3.4.6-9.i386
    compat-gcc-34-c++-3.4.6-9.i386
    compat-libstdc++-33-3.2.3-64.i386
    gnome-libs-1.4.2-10.fc10.i386
    libaio-devel-0.3.107-4.fc10.i386
    libaio-0.3.107-4.fc10.i386
    libXp-1.0.0-11.fc9.i386

你可以通过 rpm -qa | grep XXX 或者 rpm -q XXX 来查询主机上是否有指定的RPM包。

 

二、伪装成RHEL 3.0,修改/etc/redhat-release文件写入:Red Hat Enterprise Linux AS release 3(Taroon)
这步也是必须的,不然连装都装不下去。

 

三.系统内核参数的修改优化,这步先直接跳过,以后再慢慢设置。

 

四、创建用户,组,目录
创建Oracle用户及组
$su - root
#groupadd dba //数据库系统管理理组
#groupadd oinstall //Oracle文件所有者的组
#useradd -g oinstall -G dba -m -s /bin/bash oracle
#passwd oracle

创建Oracle应用程序的目录
$su - root
#mkdir -p /opt/oracle/product/10.2.1/
#chown -R oracle.oinstall /opt/oracle

五.为用户oracle设置环境变量,网上很多参考资料,增加到在~/.bash_profile的开头部分:
export TMP=/tmp
export TMPDIR=$TMP

export ORACLE_BASE=/opt/oracle
export ORACLE_HOME=$ORACLE_BASE/product/10.1.0/db_1
export ORACLE_SID=ORCL
export ORACLE_TERM=xterm
export PATH=$ORACLE_HOME/bin:$PATH:/usr/sbin

export LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib
export CLASSPATH=$ORACLE_HOME/JRE:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib:$CLASSPATH;

六.下载安装Oracle10g
    我使用的是跟官网发布的 10201_database_linux32,因为我系统是32位的,所以下载的oracle也是32位的,把它放在oracle用户能够合法访问的位置,我是放在了/home/oracle/oracle10g
解压出来是database 文件,unzip 10201_database_linux32.zip
首先登录oracle的图形界面
$cd database
$./runInstaller
接下来就一直安装

    注意:./runInstaller很有可能会有一些错误,我碰到过一些异常,其中有一种是
    No protocol specified
    Exception in thread "main" java.lang.InternalError: Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable.
    这种异常可以通过这种方法解决,在运行./runInstaller之前,用root用户运行#xhost + ,然后再使用oracle用户$./runInstaller,注意这种情况在安装完成之后,使用#xhost - 改变设置,否则会带来安全隐患。

    提示:如果安装向导界面乱码,可以在$./runInstaller之前$unset LANG;unset LANGUAGE 把语言环境取消这样会使用英语为默认环境安装Oracle10g。
    推荐使用$export LANG=en_US.UTF-8显式地赋予英语环境。两种方法我都试过,都是可用的。

    在安装过程中,注意自定义好安装的时候的值和环境变量中的值保持一致。其中特别注意安装目录:ORACLE_HOME;全局数据库名:ORACLE_SID。同时最好让Global Database Name(全局数据库名)和SID保持一致都为ORACLE_SID的值。
    我把字符集设成:Unicode standard UTF-8 AL32UTF8,同时也把Create database with sample schemas复选框选上了让它生成一个初始的Sample。
    根据界面提示,安装过程会提示用户两次以root权限执行一些文件,第一个是/opt/oracle/oraInventory/orainstRoot.sh,~~第二个是/opt/oracle/product/10.1.0/root.sh。

    再有其他问题,就google吧。

 

七.启动|关闭 Oracle
    (1)监听器--lsnrctl( listener control)
    a.启动: $lsnrctl start
    b.关闭: $lsnrctl stop

    (2)数据库
      (1)$sqlplus /nolog
      (2)SQL> conn /as sysdba
      a.启动:SQL>startup
      b.关闭:SQL>shutdown imediate|abort

    (3)控制台--emctl(EM control) -- 使用web访问:http://127.0.0.1:1158/em/
      a.启动:$emctl start dbconsole
      b.关闭:$emctl stop dbconsole

    (4)isqlplus--isqlplusctl(Internet sqlplus control) -- 使用web访问:http://127.0.0.1:5560/isqlplus/
      a.启动:$isqlplusctl start
      b.关闭:$isqlplusctl stop

其中3、4为可选项。

八.启动|关闭Oracle脚本及管理
  1)配置脚本自动启动[注意本脚本需要以oracle用户来执行具体优化等深入学习后再进行升级,故后边使用alternatives来管理脚本。
-------------------------------------------------------
#!/bin/bash
# 为oracle用户编写oracle启动、关闭脚本
# 作者:huang.bin.cn@live.cn
# 日期:2008/12/20
# 版本:1.0

case $1 in
begin)
    echo "******** Begin the Oracle 10g! ********"
    echo "******** Beginning the lsnrctl ********"
    lsnrctl start

    echo "******** Beginning the DB ********"
    sqlplus /nolog <<EOF
conn / as sysdba
startup
EOF
    echo "Complete(begin)!"
    ;;
end)
    echo "******** End the Oracle 10g! ********"
    echo "******** Endding the lsnrctl ********"
    lsnrctl stop

    echo "******** Endding the DB ********"
    sqlplus /nolog <<EOF
conn / as sysdba
shutdown immediate
EOF
    echo "Complete(end)!"
    ;;
rebegin)
    echo "******** Rebegin the Oracle 10g! ********"
    echo "******** Endding the lsnrctl ********"
    lsnrctl stop

    echo "******** Endding the DB ********"
    sqlplus /nolog <<EOF
conn / as sysdba
shutdown immediate
EOF
    echo "******** Beginning the lsnrctl ********"
    lsnrctl start

    echo "******** Beginning the DB ********"
    sqlplus /nolog <<EOF
conn / as sysdba
startup
EOF
    echo "Complete(rebegin)!"
    ;;
start)
    echo "******** Start the Oracle 10g! ********"
    echo "******** Startting the lsnrctl ********"
    lsnrctl start

    echo "******** Startting the DB ********"
    sqlplus /nolog <<EOF
conn / as sysdba
startup
EOF

    echo "******** Startting the emctl ********"
    emctl start dbconsole

    echo "******** Startting the isqlplusctrl  ********"
    isqlplusctl start

    echo "Complete(start)!"
    ;;
stop)
    echo "******** Stop the Oracle 10g! ********"
    echo "******** Stopping the lsnrctl ********"
    lsnrctl stop

    echo "******** Stopping the DB ********"
    sqlplus /nolog <<EOF
conn / as sysdba
shutdown immediate
EOF

    echo "******** Stopping the emctl ********"
    emctl stop dbconsole

    echo "******** Stopping the isqlplusctrl  ********"
    isqlplusctl stop

    echo "Complete(stop)!"
    ;;
restart)
    echo "******** Restart the Oracle 10g! ********"
    echo "******** Stopping the lsnrctl ********"
    lsnrctl stop

    echo "******** Stopping the DB ********"
    sqlplus /nolog <<EOF
conn / as sysdba
shutdown abort
EOF

    echo "******** Stopping the emctl ********"
    emctl stop dbconsole

    echo "******** Stopping the isqlplusctrl  ********"
    isqlplusctl stop

    echo "******** Startting the lsnrctl ********"
    lsnrctl start

    echo "******** Startting the DB ********"
    sqlplus /nolog <<EOF
conn / as sysdba
startup
EOF

    echo "******** Startting the emctl ********"
    emctl start dbconsole

    echo "******** Startting the isqlplusctrl  ********"
    isqlplusctl start

    echo "Complete(restart)!"
    ;;
*)
    echo "Usage {begin|end|rebegin|start|stop|restart}"
    echo "1.begin|end|rebegin for lsnrctrl&db service"
    echo "2.start|stop|restart for lsnrctrl&db&emctrl&isqlplusctrl service"
    exit 1
esac
-------------------------------------------------------
  2)[可选]使用alternatives来管理脚本和链接
    我把脚本放在/opt/scripts/hbcn.oracle_1.0.sh,把链接放在/usr/local/bin/hbcn.oracle
    安装:#alternatives --install /usr/local/bin/hbcn.oracle hbcn.oracle /opt/scripts/hbcn.oracle_1.0.sh 1
    这样oracle就可以通过hbcn.oracle {begin|end|rebegin|start|stop|restart}来直接启动/关闭oracle了。

 

参考文献:http://blog.youkuaiyun.com/Huang_Bin_CN/archive/2008/12/21/3570700.aspx。

 

在Fedora Core上成功安装Oracle 10g和MySQL 本文将详细介绍如何在Fedora Core中成功安装Oracle 10g和MySQL,并提供相应的源代码示例。通过按照上述步骤在Fedora Core上安装Oracle 10g和MySQL,并使用提供的源代码示例连接和操作数据库,您将能够成功在Fedora Core上成功安装Oracle 10g和MySQL。通过按照上述步骤在Fedora Core上安装Oracle 10g和MySQL,并使用提供的源代码示例连接和操作数据库,您将能够成功。根据实际需求进行选择,并按照向导的指示完成安装。 阅读详情

相关推荐

Win10+pycharm+conda 配置Siammask 过程记录(新手向)

我们跑动demo 需要配置两个相关的文件这两个文件需要用 git 进行下载,对于不熟悉git的小伙伴 我这里给出连接,大家可以直接下载即可,并将其配置在 experiments文件夹下然后大家再需要在设置参数参数这里给出了。

C1137577723的博客 550

在Fedora 8上安装Oracle 10.2

默认的系统参数下,在Fedora 8上无法安装Oracle,需要进行下列若干处理: 修改系统内核参数。加以下的内容到文件/etc/sysctl.conf kernel.shmall = 2097152 kernel.shmmax = 2147483648 kernel.shmmni = 4096 kernel.sem = 250 32000 100 128 fs.file-ma

Endwin Oracle DBA的学习之路 545

如何查看在电脑里登陆过的微信帐号的聊天记录

打开微信电脑版,点击左下角 "≡" 菜单 → 选择 "设置"进入 "账号与存储"(旧版为" 文件管理 ")选项卡在 "存储位置"一栏查看当前实际保存路径,可点击" 打开文件夹 " 直接访问查看电脑里登录过的微信账号聊天记录,首选官方客户端直接登录查看,操作简单且安全;若账号已退出,可通过备份恢复功能处理;仅需查看媒体文件时,可定位到FileStorage 文件夹直接访问。无论哪种方式,都需遵守隐私保护原则,并注意聊天记录的加密特性限制。

捷利迅分享的博客 4536

Fedora 10成功安装Oracle 10g

-------------------------------------------------------- 主机:ThinkPad T400 内存:1024 MB 交换分区:2048MB 系统:Fedora 10 内核:2.6.27.7-134.fc10.i686 --------------------------------------------------------

青梅煮酒. 6239

TP4054芯片实战:手把手教你设计USB锂电充电电路(附PCB散热优化技巧)

本文以TP4054芯片为核心,手把手教你设计稳定可靠的USB锂电池充电电路。文章详细解析了芯片的恒流恒压工作模式、关键外围元件选型计算,并重点分享了PCB布局与散热优化的实战技巧,帮助工程师从“能工作”提升到“工作得好”,确保充电效率与系统稳定性。

1a2s3d4f5g的博客 468

补洞与fairing算法

对网格进行补洞,remesh, 平滑,fairing, 最小二乘优化平滑

闪电彬彬的博客 1047

fedora 10 安装Oracle 10G 和启动

安装硬件需求 内存要求至少1G;交换分区至少1G或者是内存的两倍;/tmp目录至少有400M;硬盘空间至少1.5G,但是最好大于3.5G。 1. 增加swap分区   可以直接从第2步开始 安装oracle需要1G的swap分区. [root@fedora swap]# free -m              total       used       free     shared    buffers     cached Mem:           248   

cinience的专栏 1149

点云处理工具——pclpy安装

pclpy介绍及详细安装过程 文章目录pclpy简介下载:安装测试 pclpy简介 pclpy是点云库(PCL)的Python绑定。使用CppHeaderParser和pybind11从头文件生成。 这个库正在积极开发中,api可能会发生变化。所包含的模块确实可以工作,但测试还不完整。目前只支持Windows和python 3.6 x64。 许多其他python库尝试绑定PCL。最流行的是python-pcl,它使用Cython。虽然Cython非常强大,但绑定c++模板并不是它的强项(PCL大量使用模.

图像处理、SLAM、PCL、OpenCV爱好者 1万+

在Fedora7(386)上安装Oracle10g

  [/START ]                            ORACLE 10G 在FEDORA7(32位) 安装                             (这是参照chanet(牧师)s blog:  《成功安装 Oracle 10g(x86_64) 到 Fedora 7》  , 根据自己的机器安装的)机器配置: Linux 2.6.20-2925.9.fc

txwcan999的专栏 1046

【数据分析】宏基因组alpha和beta多样性分析和差异物种筛选案例

本教程为读者呈现了宏基因组α和β多样性分析的完整案例。通过实际数据和详细步骤,读者可以深入理解这两种分析方法及其在R语言中的实现过程。教程中不仅提供了清晰的代码示例,还对每一步骤进行了详细解释,使读者能够轻松跟随并掌握分析技巧。无论是初学者还是有一定基础的研究者,都能通过本教程快速上手宏基因组多样性分析,为微生物组学研究提供有力支持。

专注生信领域 2197

Qt实现窗口自适应分辨率大小

如果希望窗口大小始终保持与屏幕分辨率一致,可以将上述代码放在窗口的resizeEvent()函数中。这样,每当窗口大小发生变化时,都会自动调用resizeEvent()函数,从而实现窗口大小的自适应调整。在Qt中,可以通过一些简单的方法实现窗口大小随分辨率变化而自适应调整。获取到当前屏幕的分辨率后,可以根据需要调整窗口的大小。无论在何种分辨率下运行应用程序,窗口都能够正确地自动调整大小,提供更好的用户体验。除了调整窗口大小,还可以考虑将窗口设置为最大化,以充分利用屏幕空间。步骤2:调整窗口大小。

FuJavascript的博客 3655

redhat linux fedora core 5 成功安装 Oracle 10g

redhat linux fedora core 5 成功安装 Oracle 10g主机配置: Intel P4 CPU 3.0GHZ 512M 内存  80G 硬盘一、准备主机和操作系统:1、物理内存:512M        2、交换空间2G         注意:在进行ORACL安装时,安装进程会提示教换空间最少要3068MB,与这里所说的2G有出入,没有关系,直接安装是不会有问题

阿龙的专栏 3035

网络分析工具Wireshark系列专栏:01-专栏导读

随着人工智能技术的普及,越来越多的博主开始利用AI进行内容创作,导致优快云等平台上充斥着大量低质量的洗稿文章,严重影响了技术软文的质量和可信度。为了应对这一现象,提升技术内容的质量,瑞哥决定推出系列技术专栏,为大家带来系统、深入且高质量的技术学习资源。这些专栏将帮助读者从入门到精通,特别适合习惯通过文档学习的技术爱好者。作为首个专栏,我们将聚焦于Wireshark——一款广受欢迎的网络协议分析工具。根据优快云后台的反馈,许多读者表示Wireshark是他们欠缺的一项技能。因此,本专栏将通过精心设计的课程

网络技术联盟站 359

成功安装 Oracle 10g(x86_64) 到 Fedora 7

环境:硬件:NB,hp-v3431au,AMD Turion64 X2,1G内存软件:Fedora 7(x86_64),Oracle 10gR2_forLinux_x86_64在 Redhat 下装,按照官方网站的文章来做,一般没什么问题。但在Fedora 7 下装,偶还是第一次,虽然在过程中遇到从未见过的错误发生,但由于有Redhat环境的安装经验,所以在 Fedora7没多大问题。好了,如下总

chanet(牧师)'s blog 3343

数学建模模型总结

这是本人在两年内准备参加数学建模竞赛搜集到的模型资料,已经经过了本人的筛选和整理,希望能够对准备参加数学建模竞赛的学弟学妹们提供一些帮助!

Statistics and Machine Learning Toolbox

Statistics and Machine Learning Toolbox(带书签),MATLAB统计学习工具

Fedora7下安装Oracle10G

近来发现自己技术上已经没有什么长进,于是决定放弃windows,开始用Linux来做我的开发工具,第一步,先把Oracle安装上去再说机器配置:联想ThinkPad T60笔记本电脑,自己分了个区来安装Fedora1、安装文件Oracle 10g for Linux(32)已从官方网址下载。如文件放在/tmp/10201_database_linux32.zip2、系统包更新安装在终端窗口执行如下

azonsun的专栏 348

最新的sdio 4.0 spec 协议标准 带书签 高清完整PDF版

Part-E1-SDIO-Specification-Ver4.00-Final-120220.pdf:最新的sdio 4.0 spec 协议标准 带书签 高清完整PDF版,包括SDIO 接口的外设,SDIO 接口官方协议等。

oracle 10G在fedora2上的安装

1.      安装Fedora22.      下载Oralce10G (www.oracle.com),一般安装只需下载ship.db.cpio.gz3.      解开[oracle @oar10g oracle]$ cd /tmp[oracle @oar10g oracle]$ gzip -cd ship.db.cpio.gz | cpio –idmv         

网络笔记 638

深度学习工具包 DeepLearningToolbox

深度学习工具包Deprecation notice.-----This toolbox is outdated and no longer maintained.There are much better tools available for deep learning than this toolbox, e.g. [Theano](http://deeplearning.net/software/theano/), [torch](http://torch.ch/) or [tensorflow](http://www.tensorflow.org/)I would suggest you use one of the tools mentioned above rather than use this toolbox.Best, Rasmus.DeepLearnToolbox================A Matlab toolbox for Deep Learning.Deep Learning is a new subfield of machine learning that focuses on learning deep hierarchical models of data.It is inspired by the human brain's apparent deep (layered, hierarchical) architecture.A good overview of the theory of Deep Learning theory is[Learning Deep Architectures for AI](http://www.iro.umontreal.ca/~bengioy/papers/ftml_book.pdf)For a more informal introduction, see the following videos by Geoffrey Hinton and Andrew Ng.* [The Next Generation of Neural Networks](http://www.youtube.com/watch?v=AyzOUbkUf3M) (Hinton, 2007)* [Recent Developments in Deep Learning](http://www.youtube.com/watch?v=VdIURAu1-aU) (Hinton, 2010)* [Unsupervised Feature Learning and Deep Learning](http://www.youtube.com/watch?v=ZmNOAtZIgIk) (Ng, 2011)If you use this toolbox in your research please cite [Prediction as a candidate for learning deep hierarchical models of data](http://www2.imm.dtu.dk/pubdb/views/publication_details.php?id=6284)```@MASTERSTHESIS\{IMM2012-06284, author = "R. B. Palm", title = "Prediction as a candidate for learning deep hierarchical models of data", year = "2012",}```Contact: rasmusbergpalm at gmail dot comDirectories included in the toolbox-----------------------------------`NN/` - A library for Feedforward Backpropagation Neural Networks`CNN/` - A library for Convolutional Neural Networks`DBN/` - A library for Deep Belief Networks`SAE/` - A library for Stacked Auto-Encoders`CAE/` - A library for Convolutional Auto-Encoders`util/` - Utility functions used by the libraries`data/` - Data used by the examples`tests/` - unit tests to verify toolbox is workingFor references on each library check REFS.mdSetup-----1. Download.2. addpath(genpath('DeepLearnToolbox'));Example: Deep Belief Network---------------------```matlabfunction test_example_DBNload mnist_uint8;train_x = double(train_x) / 255;test_x = double(test_x) / 255;train_y = double(train_y);test_y = double(test_y);%% ex1 train a 100 hidden unit RBM and visualize its weightsrand('state',0)dbn.sizes = [100];opts.numepochs = 1;opts.batchsize = 100;opts.momentum = 0;opts.alpha = 1;dbn = dbnsetup(dbn, train_x, opts);dbn = dbntrain(dbn, train_x, opts);figure; visualize(dbn.rbm{1}.W'); % Visualize the RBM weights%% ex2 train a 100-100 hidden unit DBN and use its weights to initialize a NNrand('state',0)%train dbndbn.sizes = [100 100];opts.numepochs = 1;opts.batchsize = 100;opts.momentum = 0;opts.alpha = 1;dbn = dbnsetup(dbn, train_x, opts);dbn = dbntrain(dbn, train_x, opts);%unfold dbn to nnnn = dbnunfoldtonn(dbn, 10);nn.activation_function = 'sigm';%train nnopts.numepochs = 1;opts.batchsize = 100;nn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.10, 'Too big error');```Example: Stacked Auto-Encoders---------------------```matlabfunction test_example_SAEload mnist_uint8;train_x = double(train_x)/255;test_x = double(test_x)/255;train_y = double(train_y);test_y = double(test_y);%% ex1 train a 100 hidden unit SDAE and use it to initialize a FFNN% Setup and train a stacked denoising autoencoder (SDAE)rand('state',0)sae = saesetup([784 100]);sae.ae{1}.activation_function = 'sigm';sae.ae{1}.learningRate = 1;sae.ae{1}.inputZeroMaskedFraction = 0.5;opts.numepochs = 1;opts.batchsize = 100;sae = saetrain(sae, train_x, opts);visualize(sae.ae{1}.W{1}(:,2:end)')% Use the SDAE to initialize a FFNNnn = nnsetup([784 100 10]);nn.activation_function = 'sigm';nn.learningRate = 1;nn.W{1} = sae.ae{1}.W{1};% Train the FFNNopts.numepochs = 1;opts.batchsize = 100;nn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.16, 'Too big error');```Example: Convolutional Neural Nets---------------------```matlabfunction test_example_CNNload mnist_uint8;train_x = double(reshape(train_x',28,28,60000))/255;test_x = double(reshape(test_x',28,28,10000))/255;train_y = double(train_y');test_y = double(test_y');%% ex1 Train a 6c-2s-12c-2s Convolutional neural network %will run 1 epoch in about 200 second and get around 11% error. %With 100 epochs you'll get around 1.2% errorrand('state',0)cnn.layers = { struct('type', 'i') %input layer struct('type', 'c', 'outputmaps', 6, 'kernelsize', 5) %convolution layer struct('type', 's', 'scale', 2) %sub sampling layer struct('type', 'c', 'outputmaps', 12, 'kernelsize', 5) %convolution layer struct('type', 's', 'scale', 2) %subsampling layer};cnn = cnnsetup(cnn, train_x, train_y);opts.alpha = 1;opts.batchsize = 50;opts.numepochs = 1;cnn = cnntrain(cnn, train_x, train_y, opts);[er, bad] = cnntest(cnn, test_x, test_y);%plot mean squared errorfigure; plot(cnn.rL);assert(er<0.12, 'Too big error');```Example: Neural Networks---------------------```matlabfunction test_example_NNload mnist_uint8;train_x = double(train_x) / 255;test_x = double(test_x) / 255;train_y = double(train_y);test_y = double(test_y);% normalize[train_x, mu, sigma] = zscore(train_x);test_x = normalize(test_x, mu, sigma);%% ex1 vanilla neural netrand('state',0)nn = nnsetup([784 100 10]);opts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samples[nn, L] = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.08, 'Too big error');%% ex2 neural net with L2 weight decayrand('state',0)nn = nnsetup([784 100 10]);nn.weightPenaltyL2 = 1e-4; % L2 weight decayopts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex3 neural net with dropoutrand('state',0)nn = nnsetup([784 100 10]);nn.dropoutFraction = 0.5; % Dropout fraction opts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex4 neural net with sigmoid activation functionrand('state',0)nn = nnsetup([784 100 10]);nn.activation_function = 'sigm'; % Sigmoid activation functionnn.learningRate = 1; % Sigm require a lower learning rateopts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex5 plotting functionalityrand('state',0)nn = nnsetup([784 20 10]);opts.numepochs = 5; % Number of full sweeps through datann.output = 'softmax'; % use softmax outputopts.batchsize = 1000; % Take a mean gradient step over this many samplesopts.plot = 1; % enable plottingnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex6 neural net with sigmoid activation and plotting of validation and training error% split training data into training and validation datavx = train_x(1:10000,:);tx = train_x(10001:end,:);vy = train_y(1:10000,:);ty = train_y(10001:end,:);rand('state',0)nn = nnsetup([784 20 10]); nn.output = 'softmax'; % use softmax outputopts.numepochs = 5; % Number of full sweeps through dataopts.batchsize = 1000; % Take a mean gradient step over this many samplesopts.plot = 1; % enable plottingnn = nntrain(nn, tx, ty, opts, vx, vy); % nntrain takes validation set as last two arguments (optionally)[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');```[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/rasmusbergpalm/deeplearntoolbox/trend.png)](https://bitdeli.com/free "Bitdeli Badge")

Fedora Core 6下Oracle 10G的安装

下载软件包Oracle Database 10g Release 2 (10.2.0.1) Software openmotif21-2.1.30-14.i386.rpm 解压软件包(unzip 10201_database_linux32.zip)修改Hosts文件Now we have to make Oracle installer think that we have one of the

简简单单,平平淡淡 1566

Fedora 10/Solaris 9 安装Oracle10g 实录

Fedora 10/Solaris 9 安装Oracle10g 实录fedora装在VMWare6.5上,分配内存2G,硬盘16G安装前先装配必须的包,当然先装上yum的安装组件,详细yum的安装可以参看http://www.inthirties.com/info/?p=60。下载oracle10ghttp://www.oracle.com/technology/sof

1332

在fedora2上安装oracle 10G

 安装Fedora2 2. 下载Oralce10G (www.oracle.com),一般安装只需下载ship.db.cpio.gz---www.bianceng.cn3. 解开[oracle @oar10g oracle]$ cd /tmp[oracle @oar10g oracle]$ gzip -cd ship.db.cpio.gz | cpio –idmv4. 修改Li

fjnu105022004005的专栏 313

Fedora16下安装oracle10g

1、所需要的软件: 1.1 Fedora16 Distributor ID:Fedora Description:Fedora release 16 (Constantine) 1.2 Oracle10g Oracle10g:10201_database_linux32.zip     2、安装前的准备:     2.1 查看安装的环境       2.1.1  内存和S

huliang7777的专栏 853

[Fedora Core 6] 安装 Oracle 10g Client For Linux 安装

Fedora6 下安装 Oracle 10g Client For Linux 安装1. 忽略系统检查 ./runInstaller -ignoresysprereqs2.提示缺少 libXp.so.6 yum -y install libXp.so.6再次运行, OK,出现安装界面。3. Oracle 10g 默认不支持中文安装时将 /etc/sysconfig/i18n 中的 LANG改为 e

FlySpace随笔 3669

ORACLE 10g FOR LINUX在FEDORA CORE 6下的安装

转自http://www.cnoug.org/viewthread.php?tid=1138282007-2-5 14:15 chenquan_75ORACLE 10g FOR LINUX在FEDORA CORE 6下的安装要点(1)ORACLE 10g FOR LINUX在FEDORA CORE 6下的安装要点(修订)一、系统资源需求至少1024 MB物理内存1024-2048 需1

fertiland的专栏 2059

fedora core4 下 oracle10g安装笔记(转)

fedora core4 下 oracle10g安装笔记[@more@]本人系统为fedora core4,内核版本2.6.12.所安装的ORACLE版本为oracle10.1.0.3. 安装步骤: 1.当然是下载软件包:htt...

congwan5321的博客 125

ORACLE 10g FOR LINUX在FEDORA CORE 6下的安装要点

  ORACLE 10g FOR LINUX在FEDORA CORE 6下的安装要点(修订) 一、系统资源需求至少1024 MB物理内存1024-2048 需1.5倍的SWAP空间2048-8192 需1倍的SWAP空间8192- 需0.75倍的SWAP空间至少400 MB /tmp 临时目录空间oracle软件需要1.5 GB 到 3.5 GB 磁盘空间默

人生天地常如客 何独乡关定是家 1298

fedora10 上oracle11g 安装(翻译)

原文:http://www.oracle-base.com/articles/11g/OracleDB11gR1InstallationOnFedora10.php 1.下载软件 Download the following software: Oracle Database 11g Release 1 (11.1) Software 2.解压文件 unzip linu...

abn103的专栏 164

fedora oracle使用,Fedora 10安装Oracle 10g

一、首先必须装一些必要的包,这步是必须的,不然后面一大堆的错误make-3.81-14.fc10.i386gcc-4.3.2-7.i386glibc-2.9-3.i686glibc-devel-2.9-3.i386compat-db45-4.5.20-5.fc10.i386compat-gcc-34-3.4.6-9.i386compat-gcc-34-c++-3.4.6-9.i386compat-...

weixin_36146690的博客 210
上一篇: Linux平台Oracle10g EM乱码的简单解决
下一篇: windows的IE浏览器中无法访问linux中安装的oracle的em和isqlplus之解决方法
sunxp
博客等级 码龄25年 16粉丝 21原创
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

当前余额3.43元 前往充值 >
需支付:10.00元
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付元
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值