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

cygwin Ààlinux¿ª·¢»·¾³µÄÅäÖÃ


»¨Á˰ëÌìÅäÖúÃÁËcygwinµÄ½çÃæ£¬ ÏÂÃæ×öÒ»¼Í¼£¬ÒÔ±¸Ï´βéÔÄ
1. ¹ØÓÚtermµÄÎÊÌ⣬ Èç¹ûÏÓ°²×°µÄterm²»¹»pp£¬¿ÉÒÔʹÓÃputty£¬ÄǾÍÐèÒª°²×°openssh°ü£¬ÒÔ±ã¿ÉÒÔʹÓÃputty£¬
opensshµÄ°²×°¹ý³Ì²ÎÔÄhttp://pigtail.net/LRP/printsrv/cygwin-sshd.html ÀïÃæ½éÉܵĺÜÏêϸ¡£ÏÂÃæÌô¼¸¸ö¹Ø¼üµã¼Ç¼ÈçÏ£º
(2b) Download
cygwin's setup.exe from http://www.cygwin.com/ and save
setup.exe in c:\cygwin
Click Start...Run...and type c:\cygwin\setup.exe
If you are asked about "Just Me" or "All Users", choose "All Users"
When it asks for "Local Package
Directory", type
c:\cygwin
When a selection
screen comes up, (you can resize the windows to see better)
click the little
View button for "Full" view  ,
find the
package "openssh", click on the
word "skip" so that an appears in Column
B,
see this illustration.
Click to
start installing cygwin and ssh.
Size of the basic cygwin system is about 40
Meg, this may take a while.
Take a coffee break. 
(3) Right click My Computer, Properties, Advanced,
Environment Variables
See this illustration (red dots)
Click the
"New" button to add a
new entry to system variables:
variable name is CYGWIN
variable value is ntsec
(4) Right click My Computer, Properties, Advanced,
Environment Variables
See this illustration (green dots)
Select the
Path variable and click the "Edit"
button:
append  ;c:\cygwin\bin  to the end of the existing variable
string.
(5) Open a cygwin window (by double clicking the icon), a
black screen pops open, type
ssh-host-config      (on slower computers, it may take several minutes to
generate the dsa keys)
When the script asks you about
"privilege separation", answer yes
When the script asks about
"create local user sshd", answer yes
When the script
asks you about "install sshd as a service", answer yes
When the script asks you for
"CYGWIN="     your answer is ntsec
See Note 5 below if you need
to


Ïà¹ØÎĵµ£º

linux ½ø³ÌµÄ×ÊԴʹÓÃ

LinuxÄÚºË×·×Ùÿ¸ö½ø³ÌʹÓõÄ×Ê ±ÈÈç ¶ÑÕ»  ´úÂë¶Î  Êý¾Ý¶Î ÔËÐеÄλÖÃ
int getrusage(int who , struct rusage * usage) ¼ì²é½ø³Ì±¾Éí£¬×Ó½ø³Ì»òÕßÁ½ÕßÖ®ºÍµÄ×ÊԴʹÓÃ
       º¯Êý·µ»ØÒ»¸öusage½á¹¹£¬´æ·Å½ø³ÌʹÓõÄ×ÊÔ´
       usageÊǺܳ¤µÄL ......

Linux½¨Á¢Ê¹ÓÃÏÞÖÆ¼°getrlimitºÍsetrlimitº¯Êý

ÕâÒ»²¿·ÖµÄÌá³öÊÇΪÁË·Àֹʧ¿ØµÄ½ø³ÌÆÆ»µÏµÍ³µÄÐÔÄÜ
nuixºÍLinux¸ú×Ù½ø³ÌʹÓõĴ󲿷Ö×ÊÔ´£¬ÔÊÐíÓû§ºÍϵͳ¹ÜÀíԱʹÓöԽø³ÌµÄ×ÊÔ´ÏÞÖÆ
 ÉèÖõÄÏÞÖÆÓÐÁ½ÖÖ£º Ó²ÏÞÖÆºÍÈíÏÞÖÆ
Ó²ÏÞÖÆÊÇ¿ÉÒÔÔÚÈκÎʱºòÈκνø³ÌÖÐÉèÖà µ«Ó²ÏÞÖÆÖ»ÄÜÓɳ¬¼¶Óû§ÌáÆð
ÈíÏÞÖÆÊÇÄÚºËʵ¼ÊÖ´ÐеÄÏÞÖÆ£¬Èκνø³Ì¶¼¿ÉÒÔ½«ÈíÏÞÖÆÉèÖÃΪÈÎÒ ......

LinuxÏÂtar bz gzµÈѹËõ°üµÄѹËõºÍ½âѹ

ÕâÊÇÍøÉÏÌṩµÄ·½·¨£º
¡¡¡¡.Tar.gz
¡¡¡¡½âѹ£ºTar zxvf FileName.Tar.gz
¡¡¡¡Ñ¹Ëõ£ºTar zcvf FileName.Tar.gz DirName
      ´óÖÂ×ܽáÁËÒ»ÏÂLinuxϸ÷ÖÖ¸ñʽµÄѹËõ°üµÄѹËõ¡¢½âѹ·½·¨¡£µ«ÊDz¿·Ö·½·¨ÎÒûÓÐÓõ½£¬Ò²¾Í²»È«£¬Ï£Íû´ó¼Ò°ïÎÒ²¹³ä£¬ÎÒ½«ËæÊ±ÐÞ¸ÄÍêÉÆ£¬Ð»Ð»£¡
¡¡¡¡.Tar
¡¡¡¡½â° ......

LinuxÏÂconfigureÃüÁî²ÎÊýµÄÏêϸ˵Ã÷

Linux»·¾³ÏµÄÈí¼þ°²×°£¬²¢²»ÊÇÒ»¼þÈÝÒ×µÄÊÂÇé;Èç¹ûͨ¹ýÔ´´úÂë±àÒëºóÔÚ°²×°£¬µ±È»ÊÂÇé¾Í¸üΪ¸´ÔÓһЩ;ÏÖÔÚ°²×°¸÷ÖÖÈí¼þµÄ½Ì³Ì¶¼·Ç³£ÆÕ±é;µ«Íò±ä²»ÀëÆäÖУ¬¶Ô»ù´¡ÖªÊ¶µÄÔúÊµÕÆÎÕ£¬°²×°¸÷ÖÖÈí¼þµÄÎÊÌâ¾ÍÓ­Èжø½âÁË¡£Configure½Å±¾ÅäÖù¤¾ß¾ÍÊÇ»ù´¡Ö®Ò»£¬ËüÊÇautoconfµÄ¹¤¾ßµÄ»ù±¾Ó¦Óá£
ÓëһЩ¼¼ÇÉÏà±È£¬ConfigureÏԵûù´¡Ò» ......

linuxÏ´´½¨mysqlÓû§

1¡¢´´½¨mysqlÊý¾Ý¿âµÄ¹ÜÀíÓû§
Êý¾Ý¿â°²×°ºÃºó£¬ÎÒÃÇÓ¦¸ÃΪmysqlÊý¾Ý¿â´´½¨Ò»¸ö¹ÜÀíÕʺš£Òª°ÑrootÓû§ÉèÖÃΪ¹ÜÀíÔ±£¬´ËʱÐèÒªÖ´ÐÐÏÂÃæÃüÁ
[root@CDS2 bin]# /usr/bin/mysqladmin -u root password 123456
˵Ã÷£ºÉÏÃæ´´½¨µÄmysqlÊý¾Ý¿â¹ÜÀíԱΪroot£¬ÃÜÂë123456
2¡¢´´½¨Ò»°ãµÄÓû§
¹¤×÷ÖÐÓõ½web·þÎñÆ÷ºÍmysql·þÎñÆ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ