LinuxÏ°²×°OpenSSH
ÒòΪ×Ô¼ºµÄɵ£¬ËùÒÔ²ÅÓеĴËƪÈÕÖ¾¡£Ò²ÐíÓÐÈË¿ÉÒÔ·¢ÏÖ£¬ÔÚÎÒ²©¿ÍÉÏÒѾÓÐƪÃûΪ“LFSÅäÖÃIP¼°°²×°OpenSSH”£¬¶øÔÙдÕâƪÈÕ¼ÇÊÇÒòΪ×Ô¼ºÔÚLinuxÏÂʹÓÃÁ˹âÅÌÀïµÄOpenSSH£¬È»ºó×°ÉϺóʹÓÃ×Ô¼ºÓ²ÅÌÉϵÄSSHʱÀÏÊÇÌáʾÒѾռÓ㬽á¹û·´¸´×°Á˺ü¸±é²ÅÒâʶµ½Õâ¸öÎÊÌ⣡~Õâ¾ÍºÃ±ÈÒ»¸öÈËÆïÔÚÂíÉÏÊýÂíµÄÊýÄ¿Ò»Ñù£¬×ÜÊÇÉÙһͷ¡£°¥£¬±¯¾ç¡£
¡¡¡¡ÇÐÈëÕýÌâ¡£
¡¡¡¡ÏÂÔØopenssl-0.9.8e.tar.gz°üºÍopenssh-4.6p1.tar.gz°ü¡£ÏÈ×°SSL¡£
¡¡¡¡°²×°openssl
#cd /usr/local/src
#tar zxvf openssl-0.9.8e.tar.gz
#cd openssl-0.9.8e
#./config shared zlib
#make
#make test
#make install
mv /usr/bin/openssl /usr/bin/openssl.OFF
mv /usr/include/openssl /usr/include/openssl.OFF
ln -s /usr/local/ssl/bin/openssl /usr/bin/openssl
ln -s /usr/local/ssl/include/openssl /usr/include/openssl
¡¡¡¡ÅäÖÿâÎļþËÑË÷·¾¶
#echo ”/usr/local/ssl/lib” >> /etc/ld.so.conf
#ldconfig -v
¡¡¡¡²é¿´opensslµÄ°æ±¾ºÅ£¬ÒÔÑéÕýÊÇ·ñ°²×°ÕýÈ·
#openssl version -a
OpenSSL 0.9.8e 11 Apr 2007
built on: Sat Mar 24 21:24:41 CST 2007
platform: linux-elf
options: bn(64,32) md2(int) rc4(idx,int) des(ptr,risc1,16,long) idea(int) blowfish(idx)
compiler: gcc -fPIC -DOPENSSL_PIC -DZLIB -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DL_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -Wall -DOPENSSL_BN_ASM_PART_WORDS -DOPENSSL_IA32_SSE2 -DSHA1_ASM -DMD5_ASM -DRMD160_ASM -DAES_ASM
OPENSSLDIR: ”/usr/local/ssl”
¡¡¡¡°²×°OpenSSH
#cd /usr/local/src
#tar zxvf openssh-4.6p1.tar.gz
#cd openssh-4.6p1
#./configure –prefix=/usr –sysconfdir=/etc/ssh –with-pam –with-zlib –with-ssl-dir=/usr/local/ssl &n
Ïà¹ØÎĵµ£º
ÓÉÓÚÓû§ÔÚUNIXϾ³£»áÓöµ½SUID¡¢SGIDµÄ¸ÅÄ¶øÇÒSUIDºÍSGIDÉæ¼°µ½ÏµÍ³°²È«£¬ËùÒÔÓû§Ò²±È½Ï¹ØÐÄÕâ¸öÎÊÌâ¡£
Ò»¡¢ UNIXϹØÓÚÎļþȨÏ޵ıíʾ·½·¨ºÍ½âÎö
SUID ÊÇ Set User ID, SGID ÊÇ Set Group IDµÄÒâ˼¡£
UNIXÏ¿ÉÒÔÓÃls -l ÃüÁîÀ´¿´µ½ÎļþµÄȨÏÞ¡£ÓÃlsÃüÁîËùµÃµ½µÄ±íʾ·¨µÄ¸ñʽÊÇÀàËÆÕâÑùµÄ£º-rwxr-xr-x ¡£ÏÂÃæ ......
LinuxÊÇÒ»Ì×Ãâ·ÑʹÓúÍ×ÔÓÉ´«²¥µÄÀàUnix²Ù×÷ϵͳ£¬Ëü×îÏÈÓÃÓÚ»ùÓÚx86ϵÁÐCPUµÄ¼ÆËã»úÉÏ¡£Õâ¸öϵͳÊÇÓÉÊÀ½ç¸÷µØµÄ³ÉǧÉÏÍòµÄ³ÌÐòÔ±Éè¼ÆºÍʵÏֵġ£ÆäÄ¿µÄÊǽ¨Á¢²»ÊÜÈκÎÉÌÆ·»¯Èí¼þµÄ°æȨÖÆÔ¼µÄ¡¢È«ÊÀ½ç¶¼ÄÜ×ÔÓÉʹÓõÄUnix¼æÈݲúÆ·¡£
ÎÒÃDz»È¥½éÉܲÙ×÷ϵͳµÄÀúÊ·ÁË£¬Ò²²»¹Ü²Ù×÷ϵͳÕâÃÅѧ¿ÆÉ϶ԲÙ×÷ϵͳµÄ·ÖÀàÁË£¬Ïл°ÉÙ˵£¬L ......
Ç°Ì᣺linuxÔÚÐéÄâ»úÉÏ£¬Ôݲ»ÖªµÀ²»ÔÚÐéÄâ»úÉÏÇé¿öÊÇÔõÑùµÄ¡£Ê¹ÓÃhost£onlyÁªÍø¡£
1.°²×°serv-u
2.linuxÉÏÉèÖÃip£¬Ê¹Ö®ÓëwindowÉÏVmnet1Á¬½ÓµÄipÔÚÒ»¸öÍø¶Î¡£ÔÒò¿ÉÄÜÊÇ£¬winÉϵÄVmnet1Ï൱ÓÚÖ÷»ú£¨192.168.1.1£©¡£
vi /etc/sysconfig/network-scripts/ifcfg-eth0 £º
DEVICE=eth0
BOOTPROTO=none
ONBOOT=yes
IPADDR ......
ʹÓÃGTK+ºÍGlade¿ìËÙ¿ª·¢LinuxͼÐνçÃæ
Glade
,
GTK
,
Linux
,
draft
,
ͼÐÎ
* ʹÓà GTK+ ºÍ Glade ¿ìËÙ¿ª·¢
Linux
ͼÐνçÃæ
** GTK+ ¼ò½é
*** »ù±¾¸ÅÄî
GTK+ ÊÇÒ»ÖÖÓÃÓÚ´´½¨Í¼ÐνçÃæµÄ¿â. àÅ, gnome ÓõľÍÊÇËü, ²»¹ý²¢²»ÊÇ˵ֻ
ÓÐÔÚ gnome »·¾³ÖвÅÄÜÓÃ, ֻҪϵͳ
ÉÏ×°ÓÐ GTK µÄ¿â (»ù±¾ÉÏÓÐͼР......
ÈκÎÒ»¸öÓø߼¶ÓïÑÔ±àдµÄ²Ù×÷ϵͳ£¬ÆäÄÚºËÔ´´úÂëÖÐ×ÜÓÐÉÙ²¿·Ö´úÂëÊÇÓûã±àÓïÑÔ±àдµÄ¡£¶Á
¹ýUnix Sys VÔ´´úÂëµÄ¶ÁÕ߶¼ÖªµÀ£¬ÔÚÆäÔ¼3ÍòÐеĺËÐÄ´úÂëÖÐÓûã±àÓïÑÔ±àдµÄ´úÂëÔ¼2000ÐУ¬·Ö
³É²»µ½20¸öÀ©Õ¹ÃûΪ.sºÍ.mµÄÎļþ£¬ÆäÖд󲿷ÖÊǹØÓÚÖжÏÓëÒì³£´¦ÀíµÄµ×²ã³ÌÐò£¬»¹ÓоÍÊÇÓë³õʼ
»¯ÓÐ¹ØµÄ³Ì ......