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

LinuxÏÂÈí¼þ¡¢PHPºÍPerlµÄÄ£¿éµÈ¶¼ÊµÏÖÁË×Ô¶¯°²×°

LinuxÏÂÈí¼þ¡¢PHPºÍPerlµÄÄ£¿éµÈ¶¼ÊµÏÖÁË×Ô¶¯°²×°£¬ÕæµÄºÜ·½±ã£¬±¾Îļòµ¥½éÉÜһϡ£
linuxÏ¿ÉÒÔʹÓÃyum¹¤¾ß£¬RedhatÏÂ×Ô¶¯´øÓУº
yum list php*   //¿ÉÒԲ鿴phpµÄÏà¹ØÄ£¿é
yum install php //°²×°phpÕâ¸öÄ£¿é
phpÄ£¿éµÄ×Ô¶¯°²×°(ÀûÓÃpecl.php.netºÍpear.php.netÔÚÏß°²×°)£º
ÀûÓÃpearºÍpecl¹¤¾ß£¬Ê×ÏÈÐèÒª°²×°php-pearÄ£¿é£¬È»ºó
pecl install pecl-http  //°²×°pecl-phpÄ£¿é
pecl list-all  //²é¿´ÏßÉ϶¼ÓÐÄÄЩģ¿é£¬ÒÔ±ãÓÚ°²×°
perlÄ£¿éµÄ×Ô¶¯°²×°(ÀûÓÃwww.cpan.org/ ÔÚÏß°²×°)£º
perl¡¡-MCPAN¡¡-e¡¡shell¡¡¡¡
cpan>h  £¨»ñµÃ°ïÖú£©¡¡  
cpan>m £¨ÁгöCPANÉÏËùÓÐÄ£¿éµÄÁÐ±í£©¡¡
cpan>install¡¡module_name¡¡£¨×Ô¶¯Íê³É´ÓÏÂÔØµ½°²×°µÄÈ«¹ý³Ì¡££©¡¡  
cpan>q¡¡£¨°²×°Í꣬ºóÍ˳ö£©
¾ÙÀýÄ£¿é£º
(1)Net::FTP
(2) Net::Telnet
(3) LWP::Simple, get()
(4) Expect
(5) XML::Simple, XMLin()
(6) Data::Dumper, Dumper()
(7) IO::Socket
(8) Date::Manip, DateCalc(), UnixDate()
(9) Date::Manip, Date_Cmp()
(10) File::Find, find()
(11) ExtUtils::Installed, new(), modules(), version()
(12) DBI, connect(), prepare(), execute(), fetchrow_array()
(13) Getopt::Std
(14) Proc::ProcessTable
(15) Shell
(16) Time::HiRes, sleep(), time()
(17) HTML::LinkExtor, links(), parse_file()
(18) Net::Telnet, open(), print(), getline()
(19) Compress::Zlib, gzopen(), gzreadline(), gzclose()
(20) Net::POP3, login(), list(), get()
(21) Term::ANSIColor
(22) Date::Calc Calendar(), Today()
(23) Term::Cap, Tgetend(), Tgoto, Tputs()
(24) HTTPD::Log::Filter
(25) Net::LDAP
(26) Net::SMTP mail(), to(), data(), datasend(), auth()
(27) MIME::Base64, encode_base64(), decode_base64()
(28) Net::IMAP::Simple, login(), mailboxes(), select(), get()...
(29) Bio::DB::GenBank, Bio::SeqIO
(30) Spreadsheet::ParseExcel
(31) Text::CSV_XS, parse(), fields(), error_input()
(32) Benchmark
×Ô¶¯ÔÚÏß°²×°£¬ÕæµÄºÜ·½±ã¡£


Ïà¹ØÎĵµ£º

PHP µ÷ÓÃshellÃüÁî

¿ÉÒÔʹÓõÄÃüÁ
popen
fpassthru
shell_exec
exec
system
1.popen
resource popen
( string command, string mode )
´ò¿ªÒ»¸öÖ¸Ïò½ø³ÌµÄ¹ÜµÀ£¬¸Ã½ø³ÌÓÉÅÉÉú¸ø¶¨µÄ command
ÃüÁîÖ´Ðжø²úÉú¡£
·µ»ØÒ»¸öºÍ fopen()
Ëù·µ»ØµÄÏàͬµÄÎļþÖ¸Õ룬ֻ²»¹ýËüÊǵ¥ÏòµÄ£¨Ö»ÄÜÓÃÓÚ¶Á»òд£©²¢ÇÒ±ØÐëÓà pclose()
À´¹Ø±Õ ......

װLinuxϵͳ

½ñÌì×°ÁËÒ»ÌìµÄLinuxϵͳ£¬ÓëÆä˵°²×°»¹²»Èç˵ÊÇÏÂÔØÁËÒ»Ì죬ÏȺó×°ÁËfedora core 4£¬fedora core 6£¬×îºó×°fedora core 8ÖÕÓÚ¿ÉÒÔÓÃÁË£¬Ã¿¸ö¶¼ÊÇ3G¶à£¬ÒòΪÔÚѧУµÄ¹¤×÷ÊÒ£¬ËùÒÔÏÂÔØËÙ¶ÈÆ½¾ù¿ÉÒÔ´ïµ½1.9M²»µ½£¬Õâ¿ÉÊÇÏÞËٵ쬾ÍËãÕâÑùÎҵĵçÄÔÒ²ÒòΪÏÂÔØËÙ¶ÈÌ«¿ìËÀÁËN»ØÁË£¬¶¼ÊÇÇ¿ÖÆPowerµÄ£¬ÕæµÃ×°µÃÓеãÓôÃÆ°¡£¬×°FC4ÊÇÒ ......

Linux¶¨Ê±ÈÎÎñϵͳCronÈëÃÅ

cronÊÇÒ»¸ölinuxÏµĶ¨Ê±Ö´Ðй¤¾ß£¬¿ÉÒÔÔÚÎÞÐèÈ˹¤¸ÉÔ¤µÄÇé¿öÏÂÔËÐÐ×÷Òµ¡£ÓÉÓÚCron ÊÇLinuxµÄÄÚÖ÷þÎñ£¬µ«Ëü²»×Ô¶¯ÆðÀ´£¬¿ÉÒÔÓÃÒÔÏµķ½·¨Æô¶¯¡¢¹Ø±ÕÕâ¸ö·þÎñ£º
¡¡¡¡/sbin/service crond start //Æô¶¯·þÎñ
¡¡¡¡/sbin/service crond stop //¹Ø±Õ·þÎñ
¡¡¡¡/sbin/service crond restart //ÖØÆô·þÎñ
¡¡¡¡/sbin/service cron ......

LINUX ϰ²×°TFTP·þÎñ

TFTPÊÇÓÃÀ´ÏÂÔØÔ¶³ÌÎļþµÄ×î¼òµ¥ÍøÂçЭÒ飬Ëü»ùÓÚUDPЭÒé¶øÊµÏÖ¡£Ç¶ÈëʽlinuxµÄtftp¿ª·¢»·¾³°üÀ¨Á½¸ö·½Ã棺һÊÇǶÈëʽlinuxËÞÖ÷»úµÄ tftp-serverÖ§³Ö£¬¶þÊÇǶÈëʽlinuxÄ¿±ê»úµÄtftp-clientÖ§³Ö¡£ÒòΪu-boot±¾ÉíÄÚÖÃÖ§³Ötftp-client£¬ËùÒÔǶÈëʽĿ±ê»ú¾Í²»ÓÃÅäÖÃÁË¡£ÏÂÃæ¾ÍÏêϸ½éÉÜÒ»ÏÂlinuxËÞÖ÷»útftp-serverµÄ°²×°ÅäÖá£
......

linux϶¨Ê±Ö´Ðмƻ®ÈÎÎñ


linux϶¨Ê±Ö´Ðмƻ®ÈÎÎñ
²é¿´/etc/crontabÎļþ
SHELL=/bin/bash
PATH=/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=root
HOME=/
# run-parts
01 * * * * root run-parts /etc/cron.hourly
02 4 * * * root run-parts /etc/cron.daily
22 4 * * 0 root run-parts /etc/cron.weekly
42 4 1 * * root run-parts /etc/cr ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ