De Windows à Linux, maintenant ?

Bonjour,
J'aimerai me renseigner sur les possibilités, limitations de passer depuis un labview windows vers un linux (supporté bien entendu).
J'utilise à l'heure actuelle :
- du cDAQ
- du cRIO
- du FPGA (donc),
- du DMM
sous Windows.
Quels problèmes, qui est ce qui est supporté par Linux et qui ne l'est pas ? Qu'est ce que cela m'impose de faire lors du passage Windows / Linux etc.
Toute expérience est bonne à prendre. Merci !
Résolu !
Accéder à la solution.

Excusez-moi pour le lien.
Je vous transmet deux autres liens avec les mêmes informations.
http://zone.ni.com/devzone/cda/tut/p/id/11787
http://digital.ni.com/public.nsf/allkb/4857A755082E9E228625778900709661?OpenDocument
Brice S.
National Instruments France

Similar Messages

  • Micro SD crashes entire OS(Mac) but works perfectly on Windows/Linux

    Hello,
    I bought a Micro SD(class 10) card and an adapter that works perfectly(and extremely fast) on Windows/Linux but it doesn't matter the file system scheme that I use with, my Mac will ENTIRELY FREEZE while trying to read/write anything!.
    Tried different adapters and different filesystems(fat32, exfat, ntfs, HFS in all flavors, etc).
    Thanks in advance!

    Ok, no problem with the backup thing.
    But the apps? Will I have to reinstall them all?
    I´ve tryied deleteng the preferences file and restarting, but nothing happens. When I try to manually add an interface on the network preferences, there is no ethernet choice. In terminal, there is no ethernet interface when I call ifconfig, and I cannot ping to another computer.
    I´m verifying/repairing disk permissions right now.

  • DPC spike at Windows automatic maintenance startup. Can not leave the computer alone processing real-time streams.

    This is what happens when I leave the computer idle for a while and the Windows automatic maintenance starts:
    Driver file      Description               ISR count  DPC count  Highest execution (ms)  Total execution (ms)
    ntoskrnl.exe  NT Kernel & System   0              50764        0,235854                    
     332,950426
    A DPC spike is generated by ntoskrnl.exe causing drop outs in real-time streams.
    JTS

    Hi Fjtorsol,
    We hope your issue has been resolved, if you've found solution by yourself. you could share with us and we will mark it as answer.
    This high Deferred Procedure Call (DPC) latencies are usually caused by certain drivers, if it is caused by automatic maintenance, please re-check your task schedule which is marked as “when computer is idle”. As what has been suggested by MVP ZigZag, please
    use the Microsoft Windows Performance Analyzer from the Windows Assessment and Deployment Kit (ADK) to identify the cause of any DPC latency spikes.
    https://www.microsoft.com/en-gb/download/details.aspx?id=39982
    DPC CPU Usage Summary Table will open containing a list of drivers/program. This list is already correctly sorted (by the Actual Duration column). The process on the very top of the list is therefore likely to be the cause of your problem.
    Regards
    D. Wu
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • What hardware and OS should I prefferably choose for best possible Firefox performace? (Windows/Linux)

    What is the best configuration I should choose for best performance with Firefox?
    Considering OS included also, Windows/Linux,
    as there might be some platform specific accelerations or drivers dependent things.

    If there are problems with updating then best is to download the full version and uninstall the currently installed version and delete the Firefox program folder to remove any leftover files.
    Download a fresh Firefox copy and save the file to the desktop.
    * Firefox 8.0.x: http://www.mozilla.com/en-US/firefox/all.html
    Uninstall your current Firefox version if possible.
    *Do not remove personal data when you uninstall the current version or you lose your bookmarks and other data in the profile folder.
    Remove the Firefox program folder before installing that newly downloaded copy of the Firefox installer.
    *It is important to delete the Firefox program folder to remove all the files and make sure that there are no problems with files that were leftover after uninstalling.
    Your bookmarks and other profile data are stored elsewhere in the Firefox Profile Folder and won't be affected by a reinstall, but make sure that you do not select to remove personal data if you uninstall Firefox.
    *http://kb.mozillazine.org/Profile_folder_-_Firefox
    *http://kb.mozillazine.org/Profile_backup

  • Zip/unzip API for both Windows/Linux

    hello, there:
    I wonder if it's possible that we can create a zip/unzip class that can package the files in Windows and unzip them in Linux?
    Fact is, that I created a Swing application, which shows a tree of a certain folder. Upon request, the app also zip that folder(including it's subs) and upload it to a remote database as a SQL blob. Well, I want this app to work on both Windows/Linux, meaning when it runs on Linux, it should be able to download the package and unzip the package to its full extend.
    But it looks like that the files zipped in one OS can't be easily unzipped to its original in another. Is it doable or not possible due to the very different nature of the file systems of different platform?
    I used a open source code from this link, http://www.wakhok.ac.jp/~tatsuo/sen97/10shuu/UnZip.java.html
    Will the zip package from jdk help (java.util.zip)? I haven't tried that one yet.
    Thanks,
    Sway

    You don't have to use special libraries as the tools you need are all in the java.util package.
    There is however an Apache Commons library for this though which you can find here
    http://commons.apache.org/sandbox/compress/
    Note that zip = archiving and compression where as gz or gzip on Linux is only compression and you would use tar to do the archiving (tar.gz), that's why there are two separate compression classes in the Java API.

  • DB2 Migration from Windows - Linux supported with Backup/Restore ?

    Hi folks,
    we have to do a DB2 V9.1 migration from Windows -> Linux. Both servers are Intel based. Is it official supported by SAP to do this without SAP migration tools? E.g. with a backup/restore or redirected restore? I heard about it, but i'm not sure.
    Thanks a lot
    Jochen
    Edited by: Jochen Raab on Mar 1, 2010 5:40 PM

    Hi Jochen,
    Please have a look at the DB2 docu.
    http://publib.boulder.ibm.com/infocenter/db2luw/v9r7/topic/com.ibm.db2.luw.admin.ha.doc/doc/c0005960.html
    It clearly stats that Linux and Windows are not compatible.
    DB2® database systems support some backup and restore operations between different operating systems and hardware platforms.
    The supported platforms for DB2 backup and restore operations can be grouped into one of three families:
    Big-endian Linux® and UNIX®
    Little-endian Linux and UNIX
    Windows®
    A database backup from one platform family can only be restored on any system within the same platform family. For Windows operating systems, you can restore a database created on DB2 Universal Database (UDB) V8 on a DB2 Version 9 database system. For Linux and UNIX operating systems, as long as the endianness (big endian or little endian) of the backup and restore platforms is the same, you can restore backups that were produced on DB2 UDB V8 on DB2 Version 9.
    So you need to do an eport/import.
    Regards,
      Joachim

  • Windows主机访问虚拟机linux中的oracle实例的安装方法

    在学习oracle时一般都会在windows中安装虚拟机,在虚拟机安装linux系统并[安装oracle.
    下面是自己的在windows中安装虚拟机并让windows主机能访问虚拟机中oracle实例的安装方法写的不好请大家多多包涵.
    一.准备安装所需要的软件:
    1.VMware虚拟机的下载和安装在我的博客中已经提到,这里就不再详细阐述。
    2.先推荐一个redhat的下载地址,RedHat Linux 5企业版:content.gougou.com/content,
    这个比较全面,但是也比较大(2.68G),如果自己有合适的linux安装版本,可以不使用这个。
    二.在VMware虚拟机为RedHat Linux创建新的虚拟机就不详述了
    三.在新建的虚拟机里安装RedHat Linux就不详述了
    四.在linux系统中安装oracle
    为了创建一个新的oracle用户输入和以下相似的命令:
    # /usr/sbin/useradd -g oinstall -G dba[,oper] oracle
    给oralce用户设置密码
    # passwd oracle
    修改内核参数编辑/etc/sysctl.conf文件
    kernel.shmall = 2097152
    kernel.shmmax = 2147483648
    kernel.shmmni = 4096
    kernel.sem = 250 32000 100 128
    fs.file-max = 65536
    net.ipv4.ip_local_port_range = 1024 65000
    net.core.rmem_default = 262144
    net.core.rmem_max = 262144
    net.core.wmem_default = 262144
    net.core.wmem_max = 262144
    当在/etc/sysctl.conf文件中指定这些内核参数后你要重启系统
    也可以执行以下命令让内核参数生效
    /sbin/sysctl -p
    给oracle用户设置shell限制
    为了提高数据库软件在linux系统中的性能你必须给oracle用户增加以下shell限制:
    shell limit item in limits.confg hard limit
    能打开文件的最大数量 nofile 65536
    单个用户可用的最大进程数 nproc 16384
    在/etc/security/limits.conf文件中增加以下限制:
    oracle soft nproc 2047
    oracle hard nproc 16384
    oracle soft nofile 1024
    oracle hard nofile 65536
    在/ect/pam.d/login文件如果下面显示的参数没有就增加到该文件中
    session required pam_limits.so
    根据oracle用户的默认shell,对默认的shell启动文件进行以下更改:
    对于Bourne, Bash, or Korn shell在/etc/profile文件中增加下面的代码
    if [ $USER = "oracle" ]; then
    if [ $SHELL = "/bin/ksh" ]; then
    ulimit -p 16384
    ulimit -n 65536
    else
    ulimit -u 16384 -n 65536
    fi
    fi
    对C shell(csh or tcsh)在/etc/csh.login文件中增加以下代码
    if ( $USER == "oracle" ) then
    limit maxproc 16384
    limit descriptors 65536
    endif
    创建oracle根目录可以输入以下相似的命令:
    # mkdir -p /mount_point/app/oracle_sw_owner
    # chown -R oracle:oinstall /mount_point/app/oracle_sw_owner
    # chmod -R 775 /mount_point/app/oracle_sw_owner
    如果oracle根目录的加载点是/u01并且oracle软件使用者用户为oracle那么oracle根目录的路径为:
    /u01/app/oracle
    [root@weblogic28 ~]# mkdir -p /u01/app/oracle
    [root@weblogic28 ~]# chown -R oracle:oinstall /u01/app/oracle
    [root@weblogic28 ~]# chmod -R 775 /u01/app/oracle
    当你配置oracle用户环境变量时设置ORACLE_BASE时就将oracle根目录的路径赋给ORACLE_BASE
    创建存储数据库文件和数据库恢复文件的目录
    创建存储数据库文件的目录的命令如下:
    # mkdir /mount_point/oradata
    # chown oracle:oinstall /mount_point/oradata
    # chmod 775 /mount_point/oradata
    将存放数据库文件的目录创建在oracle根目录下/u01/app/oracle/oradata
    [root@weblogic28 ~]# mkdir /u01/app/oracle/oradata
    [root@weblogic28 ~]# chown oracle:oinstall /u01/app/oracle/oradata
    [root@weblogic28 ~]# chmod 775 /u01/app/oracle/oradata
    创建oracle Home目录/u01/app/oracle/10.2.0/db
    [root@weblogic28 ~]# mkdir /u01/app/oracle/10.2.0/db
    [root@weblogic28 ~]# chown oracle:oinstall /u01/app/oracle/10.2.0/db
    [root@weblogic28 ~]# chmod 775 /u01/app/oracle/10.2.0/db
    创建存储数据库恢复文件的目录的命令如下:
    # mkdir /mount_point/flash_recovery_area
    # chown oracle:oinstall /mount_point/flash_recovery_area
    # chmod 775 /mount_point/flash_recovery_area
    将存放数据库恢复文件的目录创建在oracle根目录下/u01/app/oracle
    [root@weblogic28 ~]# mkdir /u01/app/oracle/flash_recovery_area
    [root@weblogic28 ~]# chown oracle:oinstall /u01/app/oracle/flash_recovery_area
    [root@weblogic28 ~]# chmod 775 /u01/app/oracle/flash_recovery_area
    创建一个/tmp目录
    [root@weblogic28 ~]# mkdir /u01/tmp
    [root@weblogic28 ~]# chmod a+wr /u01/tmp
    切换到oracle用户来设置环境变量
    [oracle@weblogic28 ~]$
    ls -a
    查看.bash_profile文件
    vi .bash_profile
    TEMP=/u01/tmp
    TMPDIR=/u01/tmp
    export TEMP TMPDIR
    export LD_ASSUME_KERNEL=2.6.9
    export ORACLE_BASE=/u01/app/oracle
    export ORACLE_HOME=/u01/app/oracle/10.2.0/db
    export ORACLE_SID=jycs
    export NLS_LANG=AMERICAN_AMERICA.ZHS16GBK
    export ORA_NLS33=$ORACLE_HOME/ocommon/nls/admin/data
    LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib
    LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
    export LD_LIBRARY_PATH
    export PATH=$PATH:$ORACLE_HOME/bin
    CLASSPATH=$ORACLE_HOME/JRE:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib
    CLASSPATH=$CLASSPATH:$ORACLE_HOME/network/jlib
    export CLASSPATH
    [oracle@weblogic28 tmp]$# umask
    0022
    umask命令将会显示22,022或0022
    [oracle@weblogic28 tmp]$# env | more
    REMOTEHOST=10.138.135.242
    HOSTNAME=weblogic28
    SHELL=/bin/bash
    TERM=ansi
    HISTSIZE=1000
    TMPDIR=/u01/tmp
    KDE_NO_IPV6=1
    QTDIR=/usr/lib64/qt-3.3
    QTINC=/usr/lib64/qt-3.3/include
    USER=root
    TEMP=/u01/tmp
    LS_COLORS=no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:bd=40;33;01:cd=40;33;0
    1:or=01;05;37;41:mi=01;05;37;41:ex=01;32:*.cmd=01;32:*.exe=01;32:*.com=01;32:*.b
    tm=01;32:*.bat=01;32:*.sh=01;32:*.csh=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:
    *.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*
    .bz=01;31:*.tz=01;31:*.rpm=01;31:*.cpio=01;31:*.jpg=01;35:*.gif=01;35:*.bmp=01;3
    5:*.xbm=01;35:*.xpm=01;35:*.png=01;35:*.tif=01;35:
    ORACLE_SID=jycs
    ORACLE_BASE=/u01/app/oracle
    KDEDIR=/usr
    MAIL=/var/spool/mail/root
    PATH=/usr/lib64/qt-3.3/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:
    /usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin
    INPUTRC=/etc/inputrc
    上面显示了你所设置的环境变量
    也可以用下面的命令来查看环境变量
    [oracle@weblogic28 tmp]$ echo $ORACLE_HOME[$ORACLE_SID,$ORACLE_BASE]
    将数据库软件包拷贝到linux系统中
    然后解压文件
    $ gunzip filename.cpio.gz
    [oracle@weblogic28 tmp]$ gunzip 10201_database_linux_x86_64.cpio.gz
    执行上面的命令后会出现在 10201_database_linux_x86_64.cpio文件包
    再执行如下命令解压文件
    $ cpio -idmv < filename.cpio
    [oracle@weblogic28 tmp]$ cpio -idmv <10201_database_linux_x86_64.cpio
    database/stage/prereq/db/refhost_Custom.xml
    database/stage/prereq/db/refhost.xml
    database/stage/prereq/db/db_prereq.xml
    database/stage/prereq/db/dbprereq.jar
    database/stage/prereq/db
    database/stage/prereq/oui/knowledgesrc.xml
    database/stage/prereq/oui/rulemap.xml
    database/stage/prereq/oui/OraPrereqChecks.jar
    database/stage/prereq/oui
    database/stage/prereq/common/rulemap.xml
    database/stage/prereq/common
    会出现以上信息
    如果是远程安装可以使用VNC远程连接到linux服务器上来执行界面安装
    1、配置并开启vnc服务
    [oracle@localhost ~]$ vncserver
    You will require a password to access your desktops.
    Password: ---这里要求输入vnc客户端登录的密码并重复
    Verify:
    New 'localhost.localdomain:2 (oracle)' desktop is localhost.localdomain:2
    Creating default startup script. /home/oracle/.vnc/xstartup
    Starting applications specified in /home/oracle/.vnc/xstartup
    Log file is /home/oracle/.vnc/localhost.localdomain:2.log
    ----如上告诉你vnc终端已经创建好,用的是第二个终端
    2、在创建vnc服务的用户目录下会生成一个.vnc的隐藏目录
    [oracle@localhost ~]$ ls -a
    . .bash_profile Disk1 .gconfd .gstreamer-0.10 .metacity README.htm .viminfo
    .. .bashrc .eggcups .gnome .gtkrc-1.2-gnome2 .mozilla .redhat .vnc
    .bash_history .chewing .emacs .gnome2 .ICEauthority .nautilus .scim .Xauthority
    .bash_logout Desktop .gconf .gnome2_private .kde p8202632_10205_Linux-x86-64.zip .Trash .zshrc
    3、进入.vnc目录,找到xstartup可执行文件,用vi 编辑器打开
    [oracle@localhost ~]$ cd .vnc/
    [oracle@localhost .vnc]$ ls
    localhost.localdomain:2.log localhost.localdomain:2.pid passwd xstartup
    [oracle@localhost .vnc]$ vi xstartup
    #!/bin/sh
    # Uncomment the following two lines for normal desktop:
    # unset SESSION_MANAGER
    exec /etc/X11/xinit/xinitrc ---去掉前面的#号即可 --保存退出
    [ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
    [ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
    xsetroot -solid grey
    vncconfig -iconic &
    xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
    twm &
    ~
    [ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
    "xstartup" 12L, 333C 已写入
    [oracle@localhost .vnc]$ vncserver
    New 'localhost.localdomain:3 (oracle)' desktop is localhost.localdomain:3
    Starting applications specified in /home/oracle/.vnc/xstartup
    Log file is /home/oracle/.vnc/localhost.localdomain:3.log
    4、清除刚才创建的vnc虚拟终端
    [oracle@localhost .vnc]$ vncserver -kill :1
    Can't find file /home/oracle/.vnc/localhost.localdomain:1.pid
    You'll have to kill the Xvnc process manually
    [oracle@localhost .vnc]$ vncserver -kill :2
    Killing Xvnc process ID 11889
    [oracle@localhost .vnc]$ vncserver -kill :3
    Killing Xvnc process ID 11945
    [oracle@localhost .vnc]$ vncserver -kill :4
    Can't find file /home/oracle/.vnc/localhost.localdomain:4.pid
    You'll have to kill the Xvnc process manually
    5、重新建立新的vnc虚拟终端
    [oracle@localhost .vnc]$ vncserver
    New 'localhost.localdomain:2 (oracle)' desktop is localhost.localdomain:2
    Starting applications specified in /home/oracle/.vnc/xstartup
    Log file is /home/oracle/.vnc/localhost.localdomain:2.log --该终端号为 :2
    6、在windows客户端用RealVNC软件中的Run VNC Viewer客户端连接。
    7、在Run VNC Viewer 只需输入linux服务器的地址和刚才生成的终端号:2
    格式:192.168.1.56:2
    8、输入刚才配置vnc服务的时候配的即可登录linux服务器图形界面。
    如果是本地安装的话执行下面的步骤
    用root用户登录
    [root@weblogic28 ~]#xhost + 让任何用户都是启用图形界面
    切换到oracle用户
    [root@weblogic28 ~]su - oracle
    [oracle@localhost ~]$ cd /database
    [oracle@weblogic28 database]$./runInstaller
    设置虚拟机的IP地址让主机可以访问虚拟机
    1、     NAT方式
    1.1     右键单击主机任务栏上的网络连接图标,选择打开网络连接页面
    1.2     启动”VMware Network Adapter VMnet8” 和 “VMware Network Adapter VMnet1”这两个连接
    1.3     右键单击“本地连接”,选择属性,打开”本地连接属性”对话框,选择”高级”标签,打开高级标签页面,选中选项”允许其它网络用户通过此计算机的internet连接来连接”,然后在”家庭网络连接”下拉列表中选择VMware Network Adapter VMnet8。
    1.4     在虚拟机上右键单击你要设置的虚拟机选“setting”(因为有的不止虚拟一台),打开”Hardware”标签页,单击”device”下的ethernet,此时在右边选中NAT:Used to share the host’s IP address. 然后点击确定。
    1.5     打开虚拟机上的Edit菜单,选择virtual network settings打开virtual network editor页面,先打开automatic bridging标签页,关闭automagic bridging,点击应用;再打开DHCP标签页,启动DHCP服务,然后点击应用;最后打开NAT标签页,启动NAT服务,然后点击应用;点击确定后退出
    1.9     启动虚拟机中的系统。
    1.10     设置虚拟机中的系统的IP地址为192.168.100.200,默认网关为192.168.100.1 (VMware Network Adapter VMnet8的IP地址),DNS服务器设置和主机中的DNS服务器一致。
    1.11     重新加载网络参数或者重新启动虚拟机中的系统。
    1.12设置静态IP地址.
    (1).命令行设置(该方式只是临时设置,系统重启后失效)
    [1].设置IP和掩码
    ifconfig 接口名(如eth0) IP地址 netmask 子网掩码
    [2].设置网关
    route add default gw 默认网关
    [3].设置DNS服务器地址
    echo "nameserver DNS服务器地址">/etc/resolv.conf
    实例:假设设置eth0的IP:192.168.1.100,DNS:192.168.1.12
    ifconfig eth0 192.168.100.200 netmask 255.255.255.0
    route add default gw 192.168.100.1
    echo "nameserver=192.168.1.12">/etc/resolv.conf
    (2).修改文件来实现配置网络(需要重启网络接口重启后IP不会改变)
    [1].修改IP地址,文件:/etc/sysconfig/network-scripts/ifcfg-接口名
    这里假设网络接口名为eth0.
    vi /etc/sysconfig/network-scripts/ifcfg-eth0
    DEVICE=eth0 (注:这里填的是网络接口名)
    BOOTPROTO=static
    ONBOOT=yes (注:是否随系统启动)
    IPADDR=192.168.100.200(注:这里填写的是IP地址)
    PREFIX=24 (注:这里填写的是掩码的长度)
    NETMASK=255.255.255.0
    GATEWAY=192.168.100.1( 注:这里写的是网关)就是VMware Network Adapter VMnet8的IP地址
    [2].修改DNS
    echo "nameserver DNS服务器地址">/etc/resolv.conf
    [3].重启网络接口(假设为eth0)
    ifup eth0(注:这里写的是接口名)
    关闭linux防火墙
    (1) 重启后永久性生效:
    开启:chkconfig iptables on
    关闭:chkconfig iptables off
    (2) 即时生效,重启后失效:
    开启:service iptables start
    关闭:service iptables stop
    linux下Oracle自动启动与停止
    1.修改Oracle系统配置文件/etc/oratab
    /etc/oratab 格式为: SID:ORACLE_HOME:AUTO
    把AUTO域设置为Y(大写),只有这样,oracle 自带的dbstart和dbshut才能够发挥作用。我的为:
    $ORACLE_SID:$ORACLE_HOME:Y
    这儿的ORACLE_SID和ORACLE_HOME是oracle用户下的环境变量,在不同的电脑上有不同的值.当你打开/etc/oratab的时候,修改一下就行了.
    2.编写服务脚本
    在/etc/rc.d/init.d目录下创建oracle文件作为启动脚本,内容如下:容如下:
    #!/bin/sh
    #chkconfig: 2345
    #description:oracle_orcl
    # /etc/rc.d/init.d/oracle_orcl
    # auto start database orcl instance
    #set oracle env
    export ORACLE_BASE=/u01/app/oracle
    export ORACLE_HOME=$ORACLE_BASE/oracle/product/10.2.0/db_1
    export PATH=$PATH:$ORACLE_HOME/bin
    export ORACLE_SID=orcl
    ORACLE_USER=oracle
    #start or stop script
    case $1 in
    start)
    su - "$ORACLE_USER"<<EOO
    lsnrctl start LISTENER
    sqlplus /nolog<<EOS
    connect /as sysdba
    startup
    EOS
    EOO
    stop)
    su - "$ORACLE_USER"<<EOO
    lsnrctl stop LISTENER
    sqlplus /nolog<<EOS
    connect /as sysdba
    shutdown immediate
    EOS
    EOO
    echo "Usage: $0 {start|stop}"
    esac
    在oracle用户下输入如上的内容,然后保存退出,由于是启动脚本,需要执行权限;执行命令chmod a+x oracle授予oracle执行权限.
    3.建立服务连接
    ln -s /etc/rc.d/init.d/oracle /etc/rc.d/rc2.d/S99oracle
    ln -s /etc/rc.d/init.d/oracle /etc/rc.d/rc3.d/S99oracle
    ln -s /etc/rc.d/init.d/oracle /etc/rc.d/rc5.d/S99oracle
    ln -s /etc/rc.d/init.d/oracle /etc/rc.d/rc0.d/K01oracle
    ln -s /etc/rc.d/init.d/oracle /etc/rc.d/rc6.d/K01oracle
    或可以通过执行以下命令来实现
    chkconfig --add oracle
    chkconfig命令运行成功后,在rc2.d,rc3.d,rc4.d,rc5.d下面建立了S99oracle 连接文件,可以在系统启动的时候,运行脚本启动数据库。在rc0.d、rc1.d和rc6.d目录下面建立了K99oracle文件,用于在系统关闭的时候自动运行脚本关闭数据库。可以使用 chkconfig --list oracle 命令查看服务配置,关于chkconfig更多的用法,可以通过man chkconfig查看
    4.测试
    启动,运行命令:./oracle_linuxdb start
    关闭,执行命令:./oracle_linuxdb stop
    可以用sqlplus user/passward@tnsname来测试启动和关闭数据库是否成功。现在重新启动linux主机,看数据库是否自动启动了.
    这样主机就能访问虚拟机中的oracle数据库了

    其实运用Oracle Virtual Box + OEL会使安装数据库变得更加简便。

  • Simple way for run an application on a pc without OS (window,linux,...)?

    i need a simple pdf for a way for run an application  on a pc without OS (window,linux,...).

    Take a look here, and also note the related links i the bottom http://zone.ni.com/devzone/cda/tut/p/id/2733
    Then you are using Labview RT on a PC, a real time OS will be installed in the process. The OS is the PharLap, Real-Time OS . So you will indeed be using a OS 
    Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
    (Sorry no Labview "brag list" so far)

  • Windows / Linux characters

    I am running programs on a Windows/Linux hybrid network and have come across some newline issues. What is the best way to read a file and make sure that it conforms to the native characters? That is, how should I convert a Windows file to Linux format on Linux and vice versa?
    Thank you

    1) Always explicitly specify the character encoding used when writing text - I use utf-8. Don't rely on the default.
    2) Always explicitly specify the EOL - I use "\n" which works with just about anything on both Linux and Windows except for Notepad.

  • Is there any iPhone simulator available on windows/Linux?

    Hello,
    I think this is silly to ask because iPhone OS is totally different than others.
    Is there any iPhone simulator available on windows/Linux?
    Thanks,
    Pandit Pakhurde

    Hello Pandit,
    there is no iPhone simulator for windows or linux. You have to use MacOS.
    Greetings
    Sodan

  • Detect programatically if AutoVue DD is installed (Windows/Linux)

    Hello,
    I need help on detecting if user has AutoVue Desktop Deployment installed (on Windows/Linux OS) via Java. In Windows I thought of looking out registries under "HKEY_LOCAL_MACHINE\Software\" with no success (at least I couldn't find any registry about AutoVue). In Linux I guess I could use something like "whereis" to find autovue.exe but Windows is priority right now. Hope you guys can help me pointing some ways to solve my problem.
    Thanks in advance.

    Hello,
    I agree with you that this may not be an AutoVue specific question, feel free to edit/delete this topic.
    Anyway, based on your answer I could find a registry under this location: HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\Oracle AutoVue Desktop Deployment
    Thank you.

  • Apple should make a server hardware/OS with iOS level security. This could compete well with the breach infested pre secure OS/hardware server systems like Windows Linux OSX.  It should be structurally immune to phishing etc

    Apple should make a server hardware/OS with iOS level security. This could compete well with the breach infested pre secure OS/hardware server systems like Windows Linux OSX.  It should be structurally immune to phishing etc and could be sold easily as a secure alternative.  It should be based on structural hardware based security as has been demonstrated in the iOS operating system and the hardware should be made in secure facilities in the US.  Those Chinese put weaknesses into the hardware they make as has been documented on 60 minutes.

    Apple's entry in the server market has come and gone - is there a question in there somewhere?

  • Windows Scheduled Maintenance Task

    I want to disable or delete the Windows Scheduled Maintenance Task in windows 7 by GPO in my domain 2012, because it delete old shortcuts in desktop users, but this task isn't in the c:\windows\tasks path, and I can't found it in the registry. Any idea?

    > I want to disable or delete the Windows Scheduled Maintenance Task in
    > windows 7 by GPO in my domain 2012, because it delete old shortcuts in
    > desktop users, but this task isn't in the c:\windows\tasks path, and I
    > can't found it in the registry. Any idea?
    Run
    schtasks /change /tn microsoft\windows\diagnosis\scheduled /disable
    in a startup script.
    Martin
    Mal ein
    GUTES Buch über GPOs lesen?
    NO THEY ARE NOT EVIL, if you know what you are doing:
    Good or bad GPOs?
    And if IT bothers me - coke bottle design refreshment :))

  • Leave the choice of the operating system to the consumer (Windows, Linux, no OS-)

    I recently bought a new Acer laptop. I stopped using Microsoft Windows more than 10 years ago (I am a happy Ubuntu Linux user). However, when I bought my laptop, I was forced to buy it with Windows 8.1 pre-installed on it. I told the salesman I didn't need Windows 8.1 and even if it was pre-installed, the first thing I would do would be to format the hard drive and put Ubuntu Linux on it. In the end, I still had to buy it (and therefore buy a Microsoft product I will never use). I think it would be very beneficial for customers if they could choose the Operating System of their choice (or no OS at all) when buying a new computer. Of course you could still tell that the computer has been only tested and validated with a given version of an Operating System and that there will not be any technical assistance if another OS is used on a given computer. For information, in many countries in Europe, it's illegal to force people to get something when they buy something else. This is unfortunately still what is happening in 2014 in the laptop/desktop World because of Microsoft monopoly.

    ML2014: I too would like to consider implementing UBUNTU on an old Acer portable with an AMD processor and a 60GB built in drive that has a known maximum address space of 2gb.  It is currently using the Windows XP operating system it came with but in March 2014 Microsoft plans to discvoninue all support.  Hopefully they will not take down the text archives on the corporte web, but I would not put it past them to perpetrate that crime.  I'm a retired once certified Microsoft Professional that still has an identity on the web set up some years ago.  (I forget how many)  but Putting UBUNTU on an older portable like the one I have seems like a sensible option when compared to keeping it in a maintenance limbo.  I sprang for a new LI-Ion battery for it last year and it is stable as a rock right now, but not used very much and I would like to put it in the hands of an Open Source based Non Profit I work with once it is properly set up and configured so that their one-year VISTA folks can have yet another computer to use in the field. It connects to the local urban free wireless internet and the password protected wifi server in the offices under Windows XP and I do not have a clue about UBUNTU, it would be a learning project for me.  Have you come to a decision regarding UBUNTU for your portable.  Mine is an ACER 5000. 

  • Completely random restarts (windows + linux)

    Hey,
    I put together a system (see sig) for a friend, anyway they started complaining about random restarts using winxp (with or without either service pack). Cutting a long story short, we RMA'd the motherboard, got a replacement, and the problem persisted.
    Basically this is a list of things that has been observed to happen
    1) Randomly reboots during winxp install (not connected to the internet, harddrive virus free did a complete scan and alternated b/n linux / windows installs, ie filesystem changed -> no virus)
    2) Reboots under windows randomly, can be when surfing the net, ripping cds (this is the best test to make it happen), or just sitting idle (went to get a drink and it had done it). I tried to disable the "Automatic restart on fatal error" in the advanced settings thing, that did nothing, so im fairly certain that its a hardware issue after that.
    3) Reboots during Gentoo Install (I figured I should stress test it), the reboots occur at different places depending on the settings changed, and detailed below, but inevitably it always reboots.
    4) Occasionally winxp will fail to load, or givea a BSOD before rebooting, but this has happened maybe 5 times in hundreds of random restarts, the error messages are not in reference to anything in particular, nor could I garuntee the ability to get a copy of one to show you.
    I spent most of yesterday digging around these forums reading suggestions etc...
    The following is a list (i took notes) of what I have tried (this is long I know, im sorry)
    1) Different PSU
    Originally the PSU was the stock standard that came with the sonata http://www.antec.com/specs/true380_spe.html which at 380W seemed a little low (this was before reading forum posts), so replaced it with the one in the sig -- Not a PSU problem.
    2) Different RAM
    Figured since a second replacement board had the same problem it could be the RAM, tried RAM from my machine which I know is working perfectly, reboot as normal. Hmm so I did a memtest86 scan on the memory left it running 48hrs, that lets memtest86 loop about 7 times (for anyone interested) there was not a single error. -- Not a RAM defect.
    Started reading forums here
    3) Different Harddrive / Optical Drive
    Tried a 120G sata maxtor drive (which I know works), reboots persisted.
    Tried a DVD-ROM, from my machine, reboots persisted.
    4) Measured the voltage with multimeter, all voltages were within 1% of the spec.
    5) Put some thermal (arctic silver 5) compound on the cpu / heatsink, but the temperature under stress test never goes above 51 degrees anyway. Not at all out side the operational conditions for a P4 3.0.
    6) Ram Timings / placement
    If I leave as SPD, reboots occur more quickly, setting timings to 2.5-3-3-7 burst 8 gives me longer until the reboot occurs, however it still eventually occurs. I have tried running the ram in single channel mode (with both sticks in the same channel), dual channel mode 1 3 and 2 4 have been tested, and by only having one stick in at a time (
    7) Ram voltage
    I kept alternating b/n SPD and the above timings as I moved the RAM voltage 2.60 - 2.65 - 2.70 - 2.75 (I haven't gone any higher yet as thats the red zone, ie 2.80), the best times I experienced for a gentoo install were with 2.70 / 2.75 however after 20 to 25 minutes of compiling the machine restarts. I couldnt get the machine to restart ripping cds on this setting, but thats probably because I lost interest in ripping over and over again after the 5th time, I did get to 10th rip once, only to have it restart.
    8) Clock Frequencies
    Tried setting FSB to 201 (as some threads recommend), didnt help. Tried setting RAM speed at 266, 333, 400, and auto, the lower the speed the longer until a reboot, but only a minute or two is gained by 266 over 400. All this is done on the NORMAL (meaning SLOW on older boards) setting.
    10) Video card
    Originally there was just some old PCI card I had laying around in the machine (lack of money), however now (see sig), either way reboots occured, the video card was my 3rd suspect, motherboard, ram, video, psu, .... etc...
    Thats it.
    Now, I saw some people commenting (when I was reading the threads) that they wondered if this batch of boards was bodgey, no one seemed to want to agree, however after trying suggestions from over 100 threads (do a search for random reboot if you dont believe me) and not actually getting any success, and having had this happen over TWO of the SAME board, im really beginning to think that is the case. Some of the search results were PSU based, granted, so lets knock off 50% that leaves about 50 cases of this incident which haven't actually been resolved.
    Im not playing blame game, it just seems very likely to me, but if someone gives me a solution that works, ill appologise profusely, and go and buy the MSI K8N Neo2 Platinum that ive been wanting -- but to scared from this situation, to actually buy.
    This problem is remarkably similar to Random PC reboot this, except im not able to actually produce the windows errors as noted at the top.
    So... Please HELP !!!!!

    1st of all, kudos to you mate, now this is the proper way to ask for help!  
    but looks like you've tried everything other than hitting it with great force with a piece of 4 by2.
    only thing i can ask is if you've tried increasing the vAGP in bios, this doesnt really increase the voltage to your agp (well, it does) but more to the point, it increases the voltage to the motherboard chipset. you've mentioned that youve put as5 on the cpu, it might be worth trying a clean and application under the northbridge too (though they do coat it with some cr@p so much its a bit of work sometimes getting it all off)..
    another thing, though this shouldnt help, is to try increasing the vCore to the cpu just a tad, most intel boards' voltages vary a fair bit, some say its due to a special functionalities withing the processor itself, but most say that this hasnt been implemented.
    other than that, best of luck to ya
    p.s. or you could go get a cheap 865 board as a replacement, i wouldnt upgrade to a64 yet with nforce4 (nvidia) + xpress200 (ati) mobos just around the corner as well as 90nm a64 processors with sse3 instuctions too

Maybe you are looking for

  • Reg :Production order cost  report day wise.

    Dear Expert, 1.We want a report for a particular Production order cost  day wise. The scenario is like this Production order is Released for 100 Qty. Today they confirmed only 50 Qty. Tomorrow they will confirm 50 qty. Now they want to see the cost f

  • Can't get out on the internet

    I have an iPad 2. After I choose to go back to default preference I can not log in on my Wi-Fi. It finds the right netword but still doesn't work. And I can not type in the password. (It has worked before. I even tried to write in username and passwo

  • While loop condition check

    Dear All, attached is an NI that does the following. 1. The user inputs a frequency and amplitude range to drive a speaker. 2. A laser displacement sensor measure the speaker displacement, checks if it is in the desired range, and jumps on to the nex

  • How to calculate the total from users input in switch?

    I dont know how to hold the input from user. But here is part of my coding : System.out.println ("Type 1 for buying Ruler"+ "\nType 2 for buying Pencil"); stationaries = console.nextInt(); switch (stationaries) case 1 : System.out.println("Ruler per

  • How do I deal with Tokenized strings that are blank?

    I'm writing a little application that writes data to a file. It sends data to the file as a "|" delineated string. Then I use tokenizer to break up the string as follows: try {                               String searchtext = SearchTxt.getText();