Linux °²×°ÖÐÎÄ°ü
Linux °²×°ÖÐÎÄ°ü
Ê×ÏÈ£¬°²×°ÖÐÎÄ°ü£º
#yum groupinstall chinese-support
Æä´Î£¬ÐÞ¸ÄÒ»ÏÂ×Ö·û±àÂëµÄÅäÖá£
# vi /etc/sysconfig/i18n
Ð޸ĺóÄÚÈÝÈçÏ£º
LANG="zh_CN.GB18030"
SUPPORTED="zh_CN.UTF-8:zh_CN:zh:en_US.UTF-8:en_US:en:zh_CN.GB18030"
SYSFONT="latarcyrheb-sun16"
×îºóÖØÆô·þÎñÆ÷£º
#reboot
Ïà¹ØÎĵµ£º
1 Ê×ÏÈORACLE_SIDÎÊÌâ
[oracle@paopao ~]$ echo $ORACLE_SID
orcl
ÒòΪҪ´´½¨µÄÊý¾Ý¿âÃûΪorcl1£¬ËùÒÔ¸ü¸ÄORACLE_SIDÈçÏ£º
[oracle@paopao ~]$ export ORACLE_SID=orcl1
2 ×¼±¸³õʼ»¯²ÎÊýÎļþ
##########################################################################
####
# Copyright (c) 19 ......
ÄÚºËÇý¶¯·ÖÀà
Çý¶¯ÊµÏÖ¹¦ÄÜ£º
¶Á
д
´ò¿ª
ÉèÖÃ
×îÖÕÄ¿µÄ²Ù×÷Ó²¼þÉ豸£ºÊý¾Ý´«ÊäºÍÊý¾Ý¿ØÖÆ
Ó²¼þ²Î¿¼ÊֲᣬÄÚºËÌṩµÄ¹¦ÄÜ£º²Ù×÷ʱÐò£¬×ÜÏßÈçºÎ²Ù×÷£¬ÄÚºËAPI
1.×Ö·ûÉ豸£¨char£©
2.¿éÉ豸£¨block£©
3.ÍøÂçÉ豸£¨net£©
ÄÚºËÄ£¿é²Ù×÷ÃüÁî
make
¼ÓÔØ:sudo modprobe ./Mo ......
Ò»£¬Ó²¼þÅäÖÃ×îµÍÒªÇó£º
32루X86£©£º
¸öÈËÈÏΪÖÁÉÙ1GÄڴ棨linux ÉÏ512M ¿ÉÒÔ£¬µ«Ì«¹ýÓÚÃãÇ¿ÁË£¬ÄÇÑùÈÝÒ×ËÀ»ú»ò¿¨×¡²»¶¯£¬»áÈÃÈË×¥¿ñµÄ;
windows 512M µÄ¿Ï¶¨²»ÐУ©
10GµÄ¿ÉÓô ......
#include <unistd.h>
int daemon(int nochdir,int noclose)
ÔÚ´´½¨¾«Áé½ø³ÌµÄʱºò,ÍùÍùÐèÒª½«¾«Áé½ø³ÌµÄ¹¤×÷Ŀ¼ÐÞ¸ÄΪ"/"¸ùĿ¼
²¢ÇÒ½«±ê×¼ÊäÈë,Êä³öºÍ´íÎóÊä³öÖض¨Ïòµ½/dev/null
daemonµÄ×÷ÓþÍÊǵ±²ÎÊýnochdirΪ0ʱ,½«¸ùĿ¼ÐÞ¸ÄΪ¹¤×÷Ŀ¼
nocloseΪ0ʱ,×öÊäÈë,Êä³öÒÔ¼°´íÎóÊä³öÖض¨Ïòµ½/dev/null
Ö´ ......