Ò׽ؽØÍ¼Èí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

linux Ï fluent UDF ÓÃµÄ makefile

Linux ϱàÒë fluent UDF ʹµÄ makefile£¬¸ù¾Ý fluent ×Ô´øµÄ makefile Ð޸ĵġ£
µ÷ÓõÄʱºò£¬Ö±½Ó¼ÓÉÏÄ¿±ê£¬Èç
make -f makefile_linux lnamd64
#----------------------------------------------------------------------#
# makefile for user defined functions.
#----------------------------------------------------------------------#
#----------------------------------------------------------------------#
# User modifiable section.
#----------------------------------------------------------------------#
SRCDIR = ./src
MYSRCS =  mymodels.c \
          myuns.c    \
          mybc.c     \
SOURCES = $(addprefix $(SRCDIR)/, $(MYSRCS))
HEADERS =  $(SRCDIR)/myudf.h
FLUENT_INC = /opt/progs/Fluent.Inc
ARCH = lnamd64
MAKE = make -f makefile_linux
# Precompiled User Object files (for example .o files from .f sources)
USER_OBJECTS=
#----------------------------------------------------------------------#
# Build targets (do not modify below this line).
#----------------------------------------------------------------------#
CC= cc -DRP_CONFIG_3DDP=1
SHELL= /bin/sh
RELEASE= 6.3.26
VERSION= 3ddp
ARCHC=$(ARCH)
TARGET= libhylab.so
UDFDATA= udf_names.c
OBJECTS= $(UDFDATA:.c=.o) $(MYSRCS:.c=.o)
INCLUDES= -I$(FLUENT_INC)/fluent$(RELEASE)/$(ARCH)/$(VERSION) \
          -I$(FLUENT_INC)/fluent$(RELEASE)/src \
          -I$(FLUENT_INC)/fluent$(RELEASE)/cortex/src \
          -I$(FLUENT_INC)/fluent$(RELEASE)/client/src \
          -I$(FLUENT_INC)/fluent$(RELEASE)/tgrid/src \
          -I$(FLUENT_INC)/fluent$(RELEASE)/multiport/src \
      -I.
CFLAGS_ALPHA=        -c


Ïà¹ØÎĵµ£º

×Ô¶¯Éú³ÉlinuxϵIJúÆ·ÉÏÏßÎļþ

    Èç¹ûÄãÊÇÒ»¸öÈí¼þ¿ª·¢ÈËÔ±£¬Èç¹ûÄãÊÇÒ»¸ö¾­³£×ö²úÆ·ÉÏÏß²Ù×÷µÄ³ÌÐòÔ±£¬ÄãÒ»¶¨»á¶ÔtarÃüÁîºÜÊìϤ£¬ËüÊÇÒ»¸ö´ò°üÃüÁµ«¾ßÌåµÄ´ò°üÄÚÈÝ¿ÉÄÜÊÇÒ»¸öºÜ³¤µÄÎļþÁÐ±í£¬Èç¹û²¿·ÖÎļþÉÏÏߵϰÈ˹¤ÖÆ×÷Ò»¸öÎļþÁбíÊÇÒ»¼þºÜÀ˷Ѿ«Á¦µÄÊÂÇé¡£
 
    ÓÚÊÇÎÒдÁËÒ»¸öshell½Å±¾,ÓÃÀ´²éÕÒ ......

linuxÏÂopen()Óëfopen()

fopen£¨´ò¿ªÎļþ£©
Ïà¹Øº¯Êý
    open£¬fclose
±íÍ·Îļþ
    #include<stdio.h>
¶¨Ò庯Êý
    FILE * fopen(const char * path,const char * mode);
º¯Êý˵Ã÷
    ²ÎÊýpath×Ö·û´®°üº¬Óû´ò¿ªµÄÎļþ·¾¶¼°ÎļþÃû£¬²ÎÊýmode×Ö·û´®Ôò´ú±í×ÅÁ÷ÐÎ̬¡£ ......

LinuxÏÂApache ÅäÖÃÎļþÏê½â


### Section 1: Global Environment
//µ±·þÎñÆ÷ÏìÓ¦Ö÷»úÍ·£¨header£©ÐÅϢʱÏÔʾApacheµÄ°æ±¾ºÍ²Ù×÷ϵͳÃû³Æ
ServerTokens OS
//ÉèÖ÷þÎñÆ÷µÄ¸ùĿ¼
ServerRoot "/etc/httpd"
#ScoreBoardFile run/httpd.scoreboard
//ÉèÖÃÔËÐÐApacheʱʹÓõÄPidFileµÄ·¾¶
PidFile run/httpd.pid
//Èô300ÃëºóûÓÐÊÕµ½»òËͳöÈκÎÊ ......

Linux ¹ÜÀí¹¤¾ß½éÉÜ

¡¾IT168 ·þÎñÆ÷
ѧԺ
¡¿
  LinuxÊÇÒ»¸ö¶àÓû§µÄ²Ù×÷ϵͳ
£¬ËýÓÐÍêÃÀµÄÓû§¹ÜÀí¹¤¾ß£¬ÕâЩ¹¤¾ß°üÀ¨Óû§µÄ²éѯ¡¢Ìí¼Ó¡¢Ð޸ģ¬ÒÔ¼°Óû§Ö®¼äÏ໥Çл»µÄ¹¤¾ßµÈ£»Í¨¹ýÕâЩ¹¤¾ß£¬ÎÒÃÇÄܰ²È«
¡¢ÇáËɵÄÍê³ÉÓû§¹ÜÀí£»
    ÔÚÕâÀïÎÒÃÇÒªÒýÈëÓû§¿ØÖƹ¤¾ßµÄ¸ÅÄ±ÈÈç¶ÔÓû§Ìí¼ÓµÄuseradd»òadduser £¬¶ÔÓû§ ......

Tuning TCP for Linux 2.4 and 2.6

Tuning TCP for Linux 2.4 and 2.6
NB: Recent versions of Linux (version 2.6.17 and later) have full autotuning with 4 MB maximum buffer sizes. Except in some rare cases, manual tuning is unlikely to substantially improve the performance of these kernels over most network paths, and is not generally ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ