linuxÏ¿ª·¢µÄautomakeÏà¹ØÎÄÕ ֮Èý
¹éÄÉÒ»ÏÂlinuxÏ¿ª·¢µÄautomakeÏà¹ØµÄ£¬Ã»ÓÐʱ¼äдֻºÃתÔØһЩºÃµÄÁË
±¾ÎÄתÔØÓÚ£º http://blog.csdn.net/absurd/archive/2006/06/12/792397.aspx
Autoconf/automake step by step
Autoconf/automake
ÔÚ¿ªÔ´ÉçÇøÀËüµÄÖØÒªÐÔ¿ÉÒÔ˵²»ÏÂÓÚ
gcc
£¬Ä¿Ç°³ýÁË
Xfree86
Í⣬¼¸ºõËùÓеĿªÔ´ÏîÄ¿¶¼Ê¹ÓÃ
Autoconf/automake
£¬ÉõÖÁ
Xfree86
µÄ¿ª·¢ÈËÔ±ÒѾ¼Æ»®Å×Æú
imake
£¬¶ø²ÉÓÃ
Autoconf/automake
×÷Ϊ¹¤³Ì¹ÜÀí¹¤¾ßÁË¡£
Autoconf/automake
Èß³¤µÄÊÖ²áÈÃÎÒ·¸ÔΡ£ËäÈ»ÎÒÔøÄÍ×ÅÐÔ×Óä¯ÀÀ¹ýÒ»±é£¬µ«ÊǾö´ó²¿·ÖÄÚÈÝ£¬ÔÚÈÕ³£¹¤×÷¸ù±¾Óò»ÉÏ¡£¼ÓÉϽ¨Á¢¹¤³ÌµÄ»ú»á²¢²»¶à£¬µÈµ½ÏÂÒ»´ÎÒª½¨Á¢Ê±£¬ÉÏ´Îѧµ½µÄ֪ʶÔçÍü¹âÁË£¬»¹µÃÈ¥¿´ÊֲᣬÕæÊÇÂé·³¡£
´ó¶àÊýʱºò£¬ÎÒ¸üÐèÒªµÄÊÇ
step by step
µÄÖ¸ÄÏ£¬Ö»ÓÐÔÚÌØÊâÇé¿öÏ£¬ÒªÊ¹ÓÃ
Autoconf/automake
µÄ¸ß¼¶¹¦ÄÜʱºò£¬ÎÒ²ÅÔ¸ÒâÈ¥²éÊֲᡣ×î½ü¸ÕºÃ½¨¹ý¼¸¸ö¹¤³Ì£¬¼Ç¸ö±Ê¼Ç°É£¬ÒÔ±ãÏ´βéÔÄ¡£
Ò»¡¢½¨Á¢¿ÉÖ´ÐÐÎļþ¹¤³Ì¡£
l
Ç°Ì᣺
ÏîĿĿ¼£º
helloworld
Ô´ÎÄ
¼þ£º
helloworld/src/helloworld.c
l
ÓÃ
autoscan
²úÉú
configure.in
µÄ¿ò¼Ü£º
[root@linux helloworld]# autoscan
[root@linux helloworld]# mv configure.scan configure.in
´ò¿ª
configure.in
£¬ÎÒÃÇ¿ÉÒÔ¿´µ½£º
#
-*- Autoconf -*-
# Process this file with autoconf to produce a configure script.
AC_PREREQ(2.59)
AC_INIT(FULL-PACKAGE-NAME, VERSION, BUG-REPORT-ADDRESS)
AC_CONFIG_SRCDIR([src/helloworld.c])
AC_CONFIG_HEADER([config.h])
# Checks for programs.
AC_PROG_CC
# Checks for libraries.
# Checks for header files.
# Checks for typedefs, structures, and compil
Ïà¹ØÎĵµ£º
Ò»¡¢Emacs °²×°
1. Èí¼þÏÂÔØ£ºhttp://ftp.gnu.org/gnu/emacs/ ÕÒlatest °æ±¾ÏÂÔØ¡£
2. Èí¼þÉÏ´«£º±¾È˲ÉÓÃÐéÄâ»ú°²×°µÄlinuxϵͳ£¬Ö÷»úÊÇWindows XP£¬¶øÓÉXPÏòlinuxÉÏ´«Îļþ²ÉÓõŤ¾ßÊÇ£ºFileZilla£»´ó¼Ò¿ÉÒÔÔÚÍøÉÏÏÂÔØ£¬ÊµÔÚÏÂÔز»ÁË£¬ ......
½âѹdrupalÎļþ µ½ Îļþϵͳ£var-www
½âѹ ÖÐÎÄ°üµ½Í¬¼¶Ä¿Â¼ÏÂ
¿½±´default.settings.phpÎļþ¸´ÖƲ¢ÖØÃüÃûΪsettings.php
(var/www/sites/default/default.settings.php
¸´ÖƵ½Í¬¼¶Ä¿Â¼var/www/sites/default/settings.phpÖ±½ÓÈ¥¸´ÖÆÕ³Ìù¾ÍokÁËÎûÎû)
¸øд´½¨µÄÎļþsettingsÎļþ¸³ÓèдµÄȨÏÞ
(ÏȽøÈë/var/wwwÏ£¬ÒÔ¹ ......
±¾ÎÄÊÇһλÇ廪ÍËѧѧÉúËùд!ËûµÄÃû×Ö½ÐÍõÛó,È˺ܳöÃû£¬²»ÐÅGOOGLEһϾÍÖªµÀ£¡
ÎÒÒѾ°ëÄêûÓÐʹÓà Windows µÄ·½Ê½¹¤×÷ÁË¡£Linux ¸ßЧµÄÍê³ÉÁËÎÒËùÓеŤ×÷¡£
GNU/Linux ²»ÊÇÿ¸öÈ˶¼ÏëÓõġ£Èç¹ûÄãÖ»ÐèÒª´¦ÀíÒ»°ãµÄÊÂÎñ£¬´òÓÎÏ·£¬ÄÇôÄã
²»ÐèÒªÁ˽âÏÂÃæÕâЩÁË¡£
ÎÒ²»ÊÇÒ»¸ö¿ñÈȵÄ×ÔÓÉÈí¼þ·Ý×Ó£¬ËäÈ»ÎÒºÜϲ»¶×ÔÓÉÈí¼þ¡ ......
ϵͳÐÅÏ¢
uptime
uptime ¸ø³öÏÂÁÐÐÅÏ¢µÄÒ»ÐÐÏÔʾ. µ±Ç°Ê±¼ä, ϵͳÔËÐÐÁ˶à¾Ãʱ¼ä, µ±Ç°µÇ½µÄÓû§ÓжàÉÙ, ÒÔ¼°Ç°1,5ºÍ15·ÖÖÓϵͳµÄƽ¾ù¸ºÔØ.
Áª»úÐÅÏ¢-ʱ¼ä,ÏÔʾÈçÏÂ
11:27pm up 9 days, 7:12, 3 user, load average: 0.07, 0.12, 0.14
µ±Ç°ÏµÍ³Ê±¼ä ϵͳÔËÐÐʱ¼ä µ±Ç°ÔÚÏßÓû§Êý ϵͳ¸ººÉ 1·ÖÖÓÇ° 5 ·ÖÖÓÇ° 15 ·ÖÖÓ ......
°æ±¾:CentOS 5.3
Ò»¡¢hostnameÃüÁî
¹¦ÄÜ£ºÏÔʾ»òÉèÖÃϵͳÖ÷»úÃû(ÁÙʱ£¬ÖØÆô»Ö¸´)
1.hostname ÏÔʾÖ÷»úÃû
hostnameÃüÁîÏÔʾÓÉgethostname º¯Êý·µ»ØµÄϵͳÖ÷»úÃû
hostname -d ÏÔʾdomain name
hostname -f ÏÔʾFQDN
hostname -i ÏÔʾip
2.hostname host
½«Ö÷»úÃûÁÙʱÐÞ ......