Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to bind linux udev bare Devices

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)05/31 Report--

It is believed that many inexperienced people have no idea about how to bind linux udev bare devices. Therefore, this article summarizes the causes and solutions of the problem. Through this article, I hope you can solve this problem.

KERNEL== "sd*", BUS== "scsi", PROGRAM== "/ sbin/scsi_id-whitelisted-replace-whitespace-device=/dev/$name", RESULT== "36000c29a340c7c2dc0a2c8248246121e", NAME= "asm-crs1", OWNER= "grid", GROUP= "dba", MODE= "0660"

KERNEL== "sd*", BUS== "scsi", PROGRAM== "/ sbin/scsi_id-whitelisted-replace-whitespace-device=/dev/$name", RESULT== "36000c29699ebddebc1aa11c92779ac3f", NAME= "asm-data1", OWNER= "grid", GROUP= "dba", MODE= "0660"

KERNEL== "sd*", BUS== "scsi", PROGRAM== "/ sbin/scsi_id-whitelisted-replace-whitespace-device=/dev/$name", RESULT== "36000c293b2fb491391ff10e0855cabf8", NAME= "asm-data2", OWNER= "grid", GROUP= "dba", MODE= "0660"

KERNEL== "sd*", BUS== "scsi", PROGRAM== "/ sbin/scsi_id-whitelisted-replace-whitespace-device=/dev/$name", RESULT== "36000c29c906e2b7c21899af6c3fa0f4c", NAME= "asm-crs2", OWNER= "grid", GROUP= "dba", MODE= "0660"

KERNEL== "sd*", BUS== "scsi", PROGRAM== "/ sbin/scsi_id-whitelisted-replace-whitespace-device=/dev/$name", RESULT== "36000c29c51370cf9874f20287354e19c", NAME= "asm-data3", OWNER= "grid", GROUP= "dba", MODE= "0660"

ORACLE_SID=ora12c

Export ORACLE_BASE=/u01/app/oracle

Export ORACLE_HOME=/u01/app/oracle/12.1.0.1/product/dbhome_1

Export ORACLE_BASE ORACLE_HOME ORACLE_SID

NLS_LANG=american_america.UTF8

Export NLS_LANG

LD_LIBRARY_PATH=$ORACLE_CRS_HOME/lib:$ORACLE_HOME/lib:/lib:/usr/lib:/usr/local/lib

Export LD_LIBRARY_PATH

PATH=$PATH:$ORACLE_HOME/bin:$ORACLE_CRS_HOME/bin:/usr/bin:/etc:/usr/sbin:/usr/ucb:$HOME/bin:/usr/bin/X11:/sbin:.

Export PATH

Export NLS_DATE_FORMAT= "yyyy-mm-dd HH24:MI:SS"

Stty erase ^ h

Export ORACLE_SID=+ASM1

Export ORACLE_BASE=/u01/app/grid

Export ORACLE_HOME=/u01/12.1.0.1/grid

Export ORACLE_TERM=xterm

Export TMP=/tmp

Export TMPDIR=$TMP

PATH=$PATH:$HOME/bin

Export PATH=/usr/sbin:$PATH:$ORACLE_HOME/bin:$PATH

Export LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib

Export CLASSPATH=$ORACLE_HOME/JRE:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib

After reading the above, have you mastered how to bind linux udev bare devices? If you want to learn more skills or want to know more about it, you are welcome to follow the industry information channel, thank you for reading!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report