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

¹ØÓÚLINUXÈëÃŵÄһЩÕûÀí²ÄÁÏ

LinuxÒ»°ãÓÐËĸöÖ÷Òª²¿·Ö£ºÄںˡ¢Shell¡¢Îļþ½á¹¹ºÍʵÓù¤¾ß¡£
1. LinuxÄÚºË
ÄÚºËÊÇϵͳµÄÐÄÔ࣬ÊÇÔËÐгÌÐòºÍ¹ÜÀíÏñ´ÅÅ̺ʹòÓ¡»úµÈÓ²¼þÉ豸µÄºËÐijÌÐò¡£Ëü
´ÓÓû§ÄÇÀï½ÓÊÜÃüÁî²¢°ÑÃüÁîË͸øÄÚºËÈ¥Ö´ÐС£
½ñÌìLinuxÊÇÒ»¸öÒ»Ì廯Äںˣ¨monolithic kernel£©ÏµÍ³¡£É豸Çý¶¯³ÌÐò¿ÉÒÔÍêÈ«·ÃÎÊÓ²¼þ¡£LinuxÄÚµÄÉ豸Çý¶¯³ÌÐò¿ÉÒÔ·½±ãµØÒÔÄ£¿é»¯£¨modularize£©µÄÐÎʽÉèÖ㬲¢ÔÚϵͳÔËÐÐÆÚ¼ä¿ÉÖ±½Ó×°ÔØ»òжÔØ¡£
Linux²»ÊÇ΢Äںˣ¨microkernel£©¼Ü¹¹µÄÊÂʵÔø¾­ÒýÆðÁËLinus TorvaldsÓëAndy TanenbaumÖ®¼äÒ»³¡ÖøÃûµÄÕùÂÛ¡£ÖÁ½ñÈÔÊÇÈÊÕß¼ûÈÊ¡£¡£
´ËÍ⣬¾¡¹ÜLinus TorvaldsµÄ³õÖÔ²»ÊÇʹLinux³ÉΪһ¸ö¿ÉÒÆÖ²µÄ²Ù×÷ϵͳ£¬½ñÌìµÄLinuxÈ´ÊÇÈ«Çò±»×î¹ã·ºÒÆÖ²µÄ²Ù×÷ϵͳÄںˡ£´ÓÕÆÉϵçÄÔiPaqµ½¾ÞÐ͵çÄÔIBM S/390£¬ÉõÖÁÓÚ΢Èí³öÆ·µÄÓÎÏ·»úXBOX¶¼¿ÉÒÔ¿´µ½LinuxÄں˵Ä×Ù¼£¡£LinuxÒ²ÊÇIBM³¬¼¶¼ÆËã»úBlue GeneµÄ²Ù×÷ϵͳ¡£
LinuxÄ¿Ç°¿ÉÒÔÔÚÒÔϽṹÉÏÔËÐУº
Acorn£ºArchimedes,A5000ºÍRiscPCϵÁÐ
¿µ°Ø£ºAlpha
»ÝÆÕ£ºPA-RISC
IA64£ºÓ¢ÌضûItanium¸öÈ˵çÄÔ
IBMµÄS/390ºÍAS/400
Ó¢Ìضû80386¼°Ö®ºóµÄ¼æÈݲúÆ·£º80386, 80486ºÍÕû¸ö±¼ÌÚϵÁУ»AMD Athlon, Duron, Thunderbird; CyrixϵÁС£¶ÔÓ¢Ìضû8086, 8088, 80186, 80188ºÍ80280оƬµÄÖ§³ÖÕýÔÚ¿ª·¢ÖС£
Mips
ĦÍÐÂÞÀ­68020¼°ÒÔÉÏ: еÄAmigas, һЩƻ¹ûµçÄÔ
PowerPC:ËùÓнÏеÄÆ»¹ûµçÄÔ
SPARCºÍUltraSPARC£ºÉýÑô΢ϵͳµÄ¹¤×÷Õ¾
Hitachi SuperH: SEGA Dreamcast
Ë÷Äṫ˾: PlayStation 2
΢Èí¹«Ë¾: Xbox
ARMϵÁÐ
2. Linux Shell
ShellÊÇϵͳµÄÓû§½çÃ棬ÌṩÁËÓû§ÓëÄں˽øÐн»»¥²Ù×÷µÄÒ»ÖÖ½Ó¿Ú¡£Ëü½ÓÊÕÓû§
ÊäÈëµÄÃüÁî²¢°ÑËüËÍÈëÄÚºËÈ¥Ö´ÐС£
ʵ¼ÊÉÏShellÊÇÒ»¸öÃüÁî½âÊÍÆ÷£¬Ëü½âÊÍÓÉÓû§ÊäÈëµÄÃüÁî²¢ÇÒ°ÑËüÃÇË͵½Äںˡ£²»
½öÈç´Ë£¬ShellÓÐ×Ô¼ºµÄ±à³ÌÓïÑÔÓÃÓÚ¶ÔÃüÁîµÄ±à¼­£¬ËüÔÊÐíÓû§±àдÓÉshellÃüÁî×é³É
µÄ³ÌÐò¡£Shell±à³ÌÓïÑÔ¾ßÓÐÆÕͨ±à³ÌÓïÑԵĺܶàÌص㣬±ÈÈçËüÒ²ÓÐÑ­»·½á¹¹ºÍ·ÖÖ§¿ØÖÆ
½á¹¹µÈ£¬ÓÃÕâÖÖ±à³ÌÓïÑÔ±àдµÄShell³ÌÐòÓëÆäËûÓ¦ÓóÌÐò¾ßÓÐͬÑùµÄЧ¹û¡£
LinuxÌṩÁËÏñMicrosoft WindowsÄÇÑùµÄ¿ÉÊÓµÄÃüÁîÊäÈë½çÃæ--X WindowµÄͼÐÎÓÃ
»§½çÃ棨GUI£©¡£ËüÌṩÁ˺ܶര¿Ú¹ÜÀíÆ÷£¬Æä²Ù×÷¾ÍÏóWindowsÒ»Ñù£¬Óд°¿Ú¡¢Í¼±êºÍ
²Ëµ¥£¬ËùÓеĹÜÀí¶¼ÊÇͨ¹ýÊó±ê¿ØÖÆ¡£ÏÖÔڱȽÏÁ÷ÐеĴ°¿Ú¹ÜÀíÆ÷ÊÇKDEºÍGNOME¡£
ÿ¸öLinuxϵͳµÄÓû§¿ÉÒÔÓµÓÐËû×Ô¼ºµÄÓû§½çÃæ»òShell£¬ÓÃÒÔÂú×ãËûÃÇ×Ô¼º×¨ÃÅ
µÄShellÐèÒª¡£
ͬL


Ïà¹ØÎĵµ£º

linux mysql ¿ª·¢»·¾³

°²×°mysql
sudo apt-get install mysql-servel-5.0 mysql-client-5.0
ÏÂÔØ°²×°¹ý³ÌÖУ¬»áÌáʾÊäÈërootÃÜÂë
°²×°CÓïÑÔ±à³Ì½Ó¿Ú£º
 sudo apt-get install libmysqlclient15-dev
¸ü¶àapi ²é¿´£ºhttp://dev.mysql.com/doc/refman/5.0/en/c.html
Ïà¹ØmysqlÍ·ÎļþºÍ¿âÎļþ°²×°ÔÚ/usr/include/mysql/ºÍ/usr/lib/mysqlÄ¿ ......

Mysql for linux mysql×Ô¶¯±¸·Ý½Å±¾

¿ÉÒÔ½«Õâ¸ö½Å±¾·Å½øcrontab£¬ËûµÄÅäÖÆÎļþÔÚ /etc/crontabÖÐÿÌìÁ賿ִÐÐÒ»´Î£¬×Ô¶¯±¸·Ý Õâ¸ö½Å±¾Ã¿Ìì×î¶àÖ»Ö´ÐÐÒ»´Î£¬¶øÇÒÖ»±£Áô×î½üÎåÌìµÄ±¸·ÝÔÚ·þÎñÆ÷ÉÏ¡£
#!/bin/bash
#This is a ShellScript For Auto DB Backup
#Powered by aspbiz
#2004-09
#Setting
#ÉèÖÃÊý¾Ý¿âÃû£¬Êý¾Ý¿âµÇ¼Ãû£¬ÃÜÂ룬±¸·Ý·¾¶£¬ÈÕ־ ......

linuxÏÂmysqlµÄʹÓÃ


Æô¶¯mysql:  /etc/rc.d/init.d/mysql start
ÐÞ¸ÄÃÜÂë: ¸ñʽ£ºmysqladmin -uÓû§Ãû -p¾ÉÃÜÂë password ÐÂÃÜÂë
ʹÓÃÃÜÂëµÇ¼:  mysql -u root -p
ÏÔʾÊý¾Ý¿â:  show databases;
Ñ¡ÔñÊý¾Ý¿â:  use Êý¾Ý¿âÃû;
ÏÔʾ±í:  show tables;
ÏÔʾ±í½á¹¹:  descibe ±íÃû;
Ô¶³ÌµÇ¼mysqlÐèÒª¿ªÆôÈ ......

suse linux¿ªÆôtelnet·þÎñ

ÔÚÖÕ¶ËÏÔʾ´°¿ÚÔËÐÐyastÃüÁî,³öÏÖͼÐνçÃæ
software-->software management
×ó²àFilter-->Package Group-->Productivity-->Networking-->Other-->telnet server
Ñ¡ÔñÈ·¶¨,»áÌáʾ²åÈësuse linux cd4,·ÅÈë¹âÅ̺óÈ·¶¨Ö±µ½°²×°Íê³É
¿ªÆôtelnet·þÎñ
#chkconfig telnet on
#rcxinetd restart
Èç¹ûrootÓÃ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ