LinuxϵÄOracle 10g°²×°¼°ÅäÖÃ
Ò».×ÊÔ´ÐèÒª£º
ÖÁÉÙ1024 MBÎïÀíÄÚ´æ
1024£2048 Ðè1.5±¶µÄ½»»¥¿Õ¼ä
2048£8192 Ðè1±¶µÄ½»»¥¿Õ¼ä
8192£ Ðè0.75±¶µÄ½»»¥¿Õ¼ä
ÖÁÉÙ400 MB /tmp ÁÙʱĿ¼¿Õ¼ä
oracleÈí¼þÐèÒª1.5 GB µ½ 3.5 GB ´ÅÅ̿ռä
ĬÈÏÊý¾Ý¿âÐèÒª1.2 GB
¶þ.²é¿´ÏµÍ³×ÊÔ´Ïà¹ØÓï¾ä£º
cat /etc/issue
uname -r
grep MemTotal /proc/meminfo
grep SwapTotal /proc/meminfo
grep "model name" /proc/cpuinfo
free
df -k /tmp
df -k
°²×°Ç°µÄ¼ì²éºÍ×¼±¸¹¤×÷£º
p4198954_21_linux.zip ÔÚÔËÐÐ runInstaller ֮ǰ´ò.
rpm -ivh compat-oracle-rhel4-1.0-5.i386.rpm (p4198954_21_linux.zip)
(²»´òPATCHÒ²¿ÉÒÔ£©
°²×° libaio-0.3.102-1.i386.rpm
libaio-devel0.3.102-1.i386.rpm
ÔÚRed Hat Enterprise Linux ½éÖʵĵÚÈýÕÅCD,ÒÔ root Óû§Éí·ÝÔËÐÐÒÔÏÂÃüÁ
rpm -ivh /mnt/cdrom/RedHat/RPMS/ libaio-0.3.102-1.i386.rpm
Èý.´´½¨Êý¾Ý¿â°²×°µÄ×¼±¸¹¤×÷:
1.´´½¨Óû§ºÍ×é(user/group)£»
groupadd dba
groupadd oinstall
useradd oracle -g oinstall -G dba
passwd oracle
Èç¹ûnobodyÓû§²»´æÔÚ£¨id nobodyÃüÁî²é¿´)£¬Ôò´´½¨£º
useradd nobody
2.½¨Á¢oracle°²×°Îļþ¼Ð(sample)£»
mkdir -p /opt/oracle/product/10g
mkdir /opt/oracle/database
chown -R oracle.oinstall /opt/oracle
chmod 755 -R /opt/oracle
2£¬ ÅäÖû·¾³±äÁ¿£»
ҪʹÓà Oracle ²úÆ·£¬Ó¦¸Ã»ò±ØÐëÉèÖü¸¸ö»·¾³±äÁ¿¡£Èç¹ûÄúÔÚͬһ·þÎñÆ÷Éϰ²×°Á˶à¸ö Oracle ²úÆ·»òÊý¾Ý¿â£¬Ôò ORACLE_HOME¡¢ ORACLE_SID ºÍ PATH ±äÁ¿¿ÉÄÜ»á¸ü¸Ä¡£ORACLE_BASE ±äÁ¿²»Ó¦¸ü¸Ä£¬²¢¿ÉÒÔÔÚÐèҪʱÔÚÄúµÄµÇ¼ÅäÖÃÎļþÖÐÉèÖÃËü¡£ Oracle ÌṩÁËÒ»¸ö³Æ×÷ oraenv µÄʵÓóÌÐòÀ´ÉèÖÃÆäËû±äÁ¿¡£
¶ÔÓÚÊý¾Ý¿â·þÎñÆ÷£¬½¨ÒéÉèÖÃÒÔÏ»·¾³±äÁ¿£º
ʹÓõÚÒ»²½´´½¨µÄÓû§ÃûOracleµÇ½:
su oracle
vi ~/.bash_profile
ÐÞ¸ÄÒÔÏÂÊÇ
Ïà¹ØÎĵµ£º
1. HCI²ãÐÒé¸ÅÊö£º
HCIÌṩһÌ×ͳһµÄ·½·¨À´·ÃÎÊBluetoothµ×²ã¡£ÈçͼËùʾ£º
´ÓͼÉÏ¿ÉÒÔ¿´³ö£¬Host Controller Interface(HCI) ¾ÍÊÇÓÃÀ´¹µÍ¨HostºÍModule¡£Hostͨ³£¾ÍÊÇPC£¬ ModuleÔòÊÇÒÔ¸÷ÖÖÎïÀíÁ¬½ÓÐÎʽ£¨USB,serial,pc-cardµÈ£©Á¬½Óµ½PCÉϵÄbluetooth Dongle¡£
ÔÚHostÕâÒ»¶Ë£ºapplication,SDP,L2capµÈÐÒé ......
ÀýÒ»£º·¢ËÍSignaling Packet£º
Signaling CommandÊÇ2¸öBluetoothʵÌåÖ®¼äµÄL2CAP²ãÃüÁî´«Êä¡£ËùÒÔµÃSignaling CommandʹÓÃCID 0x0001.
¶à¸öCommand¿ÉÒÔÔÚÒ»¸öC-frame£¨control frame£©Öз¢ËÍ¡£
Èç¹ûÒªÖ±½Ó·¢ËÍSignaling Command.ÐèÒª½¨Á¢SOCK_RAWÀàÐ͵ÄL2CAPÁ¬½ÓSocket¡£ÕâÑù²ÅÓлú»á×Ô¼ºÌî³äCommand Code£¬Identi ......
1. ѧ»áд¼òµ¥µÄmakefile
2. ±àһЩӦÓÃ
³ÌÐò
£¬¿ÉÒÔÓÃmakefileÅÜÆðÀ´
3. ѧ»áдÇý¶¯
µÄmakefile
4. дһ¼òµ¥charÇý¶¯£¬makefile±àÒëͨ¹ý£¬¿ÉÒÔinsmod£¬ lsmod£¬ rmmod. ÔÚÇý¶¯µÄinitº¯ÊýÀï´òÓ¡hello world£¬insmodºóÓ¦¸ÃÄܹ»Í¨¹ýdmesg¿´µ½Êä³ö
¡£
5. дһÍêÕûÇý¶¯£¬ ¼ÓÉÏread£¬ write£¬ ioctl£¬ pollingµÈ¸ ......
¡¡¡¡
¡¡¡¡
¡¡¡¡±¾ÊéÈ«Ãæ½éÉÜÁËUbuntu LinuxµÄÏà¹ØÖªÊ¶£¬ÄÚÈÝÏêʵ£¬ÂÛÊöÇåÎú¡£Ö÷ÒªÄÚÈݰüÀ¨Ubuntu½éÉÜ¡¢Îļþϵͳ¹ÜÀí¡¢½ø³Ì¹ÜÀí¡¢Ñ¹ËõÓë²éѯϵͳ¡¢ShellÓ¦Óá¢TCP/IP»ù´¡¡¢ÍøÂç¹ÜÀí¡¢ÍøÂçÓ²ÅÌÒÔ¼°¼ÓÃܰ²È«Í¨ÐŵÈÄÚÈÝ¡£
¡¡¡¡±¾ÊéÊÇÒ»±¾ÀíÂÛÓëʵ¼ù²¢ÖصÄÊé¼®£¬¿É×÷ΪרҵÈËÔ±µÄ²Î¿¼Êé¼®£¬Ò²ÊʺÏÓÚ¶ÔUbuntu ......
forkº¯Êýѧϰ£º
#include <sys/types.h>
#include <unistd.h>
#include <stdio.h>
#include <stdlib.h>
main ()
{
pid_t pid; pid=fork();
if (pid < 0)
printf("error in fork!");
else if (pid == 0)
printf("i ......