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

LinuxÏ´´½¨Êý¾Ý¿â±í£¨sqlite3£©µÄ½Å±¾

±¾ÎÄÒÔÊý¾Ý¿âÖеÄÊý¾Ý±íUserInfoΪʵÀýչʾÊý¾Ý¿â±íµÄ´´½¨¼°Êý¾Ý¼Ç¼µÄ¼Èë¡£
#!/bin/sh
#variables definition
#database location
db=/conf/db
#
#create table userInfo
#name: User name
#passwd: Password
#Privilege: User privilege -- Administrator:0 Operator:1
#
echo "create table UserInfo(name varchar(30) not null primary key, passwd varchar(8) not null, privilege int not null);" \
| /usr/local/bin/sqlite3 $db
echo "insert into UserInfo values('admin', 'access', 0);" | /usr/local/bin/sqlite3 $db
echo "insert into UserInfo values('user', 'access', 1);" | /usr/local/bin/sqlite3 $db


Ïà¹ØÎĵµ£º

linux½ø³Ì״̬dzÎö

ÖÚËùÖÜÖª£¬ÏÖÔڵķÖʱ²Ù×÷ϵͳÄܹ»ÔÚÒ»¸öCPUÉÏÔËÐжà¸ö³ÌÐò£¬ÈÃÕâЩ³ÌÐò±íÃæÉÏ¿´ÆðÀ´ÊÇÔÚͬʱÔËÐеġ£linux¾ÍÊÇÕâÑùµÄÒ»¸ö²Ù×÷ϵͳ¡£
¡¡¡¡ÔÚlinuxϵͳÖУ¬Ã¿¸ö±»ÔËÐеijÌÐòʵÀý¶ÔÓ¦Ò»¸ö»ò¶à¸ö½ø³Ì¡£linuxÄÚºËÐèÒª¶ÔÕâЩ½ø³Ì½øÐйÜÀí£¬ÒÔʹËüÃÇÔÚϵͳÖГͬʱ”ÔËÐС£
linuxÄں˶Խø³ÌµÄÕâÖÖ¹ÜÀí·ÖÁ½¸ö·½Ã棺½ø ......

ÅäÖÃ×Ô¼ºµÄLinux svnserve·þÎñÆ÷

Ò»¡¢Ð½¨²¢³õʼ»¯°æ±¾¿â
1.н¨´úÂë²Ö¿â
# svnadmin create /home/myrepos
ÕâÑù£¬ÎÒÃǾÍÔÚ/homeĿ¼ÏÂн¨Á˰汾¿âmyrepos¡£
2.³õʼ»¯´úÂë²Ö¿â
#mkdir -p code/{branches,tags,trunk}
°´ÕÕsvnÊÖ²áÉϵĽ¨Ò飬ÎÒÃǰ汾¿âµÄ²¼¾Ö²ÉÓÃbranches/tags/trunkÕâÑùµÄÈý¸öĿ¼¡£
È»ºó¿ÉÒÔ½«´úÂëÖ±½Ó¿½±´µÄtrunkĿ¼£¬Ò²¿ÉÒÔËæºó ......

RedHat Linux AS5 LAMPÏêϸÅäÖÃ

Apache ÊÇÊÀ½çÅÅÃûµÚÒ»µÄWeb ·þÎñÆ÷, ¸ù¾ÝNetcrafËù×÷µÄµ÷²é,ÊÀ½çÉϰٷÖÖ®ÎåÊ®ÒÔÉ쵀 Web ·þÎñÆ÷ÔÚʹÓà Apache¡£ ÓÈÆäÊÇÏÖÔÚ£¬Ê¹Óà LAMP£¨Linux + Apache + MySQL + PHP£©À´´î½¨Öеȼ¶±ðµÄÓ¦ÓÃÒѾ­ÊÇÒ»ÖÖÁ÷Ðеķ½Ê½£¬Òò´Ë£¬ÕÆÎÕ Apache µÄÅäÖÃÊÇϵͳ¹¤³Ìʦ±Ø±¸µÄ¼¼ÄÜÖ®Ò»¡£ ʹÓà LAMP£¨Linux + Apache + MySQL + PHP£©À´´î½ ......

linux arp ÃüÁî³£ÓòÎÊýÏê½â

linux arp ÃüÁî³£ÓòÎÊýÏê½â
ÏÔʾºÍÐ޸ĵØÖ·½âÎöЭÒé(ARP)ʹÓõēIP µ½ÎïÀ픵ØÖ·×ª»»±í¡£
ARP -s inet_addr eth_addr [if_addr]
ARP -d inet_addr [if_addr]
ARP -a [inet_addr] [-N if_addr] [-v]
 -a            Í¨¹ýѯÎʵ±Ç°Ð­ÒéÊý¾Ý£¬ÏÔʾµ±Ç° ARP Ïî¡£Èç¹ûÖ¸¶¨ ......

linux ÏÂѹËõ¡¢½âѹ ´ò°üÃüÁî

ZZ ×Ôhttp://dev.firnow.com/course/6_system/linux/Linuxjs/200896/139627.html     
      .tar
¡¡¡¡½â°ü£º tar xvf FileName.tar
¡¡¡¡´ò°ü£ºtar cvf FileName.tar DirName
¡¡
¡¡£¨×¢£ºtarÊÇ´ò°ü£¬²»ÊÇѹËõ£¡£©
¡¡¡¡--------------------------------------------- ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ