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

xpµ×ϳɹ¦Ê¹ÓÃsshµÇ¼ubuntu linux(²ÉÓÃÃÜÔ¿·½Ê½)


·þÎñÆ÷¶ËµÄÉèÖãº
°²×°ssh£º
sudo apt-get install ssh
ÒÔÆÕͨÓû§µÄÉí·Ý½¨Á¢¹«Ô¿ºÍ˽Կ£º
ssh-keygen -t rsa
È»ºóÒªÇóÄãÈ·ÈÏÔ¿³×µÄÎļþÃû(ÓÃĬÈϵľͺÃÁË)£»ÊäÈë¿ÚÁÔÙ´ÎÊäÈë¿ÚÁî¡£
ÔÚ~/.ssh/Ï»áÉú³É¹«Ô¿id_rsa.pubºÍ˽Կid_rsa
¸ü¸Ä¹«Ô¿ÎļþÃû£º
cd ~/.ssh/
mv id_rsa.pub authorized_keys
ÉèÖÃÎļþÊôÐÔ£º
chmod 400 authorized_keys
chmod 644 id_rsa                           
±¸·ÝSSH·þÎñµÄÅäÖÃÎļþ
sudo cp /etc/ssh/sshd_config /etc/ssh/sshd_config.ORIGINAL
±à¼­ÅäÖÃÎļþ
sudo gedit /etc/ssh/sshd_config
ÕâÊÇÎÒµÄÅäÖÃÎļþ£¬Öص㲿·ÖÎÒ»áÓúìÉ«×ÖÌ壬עÊÍÓÃÀ¶É«×ÖÌå
# Package generated configuration file
# See the sshd(8) manpage for details
# What ports, IPs and protocols we listen for
Port 22
# Use these options to restrict which interfaces/protocols sshd will bind to
#ListenAddress ::
#ListenAddress 0.0.0.0
Protocol 2
# HostKeys for protocol version 2
HostKey /etc/ssh/ssh_host_rsa_key
HostKey /etc/ssh/ssh_host_dsa_key
#Privilege Separation is turned on for security
UsePrivilegeSeparation yes
# Lifetime and size of ephemeral version 1 server key
KeyRegenerationInterval 3600
ServerKeyBits 1024 //½«ServerKeyÇ¿¶È¸ÄΪ1024±ÈÌØ
# Logging
SyslogFacility AUTH
LogLevel INFO
# Authentication:
LoginGraceTime 120
PermitRootLogin no //½ûÖ¹ÒÔrootµÇ¼
StrictModes no //¹Ø±ÕÑϸñµÇ¼
RSAAuthentication yes
PubkeyAuthentication yes
AuthorizedKeysFile    /home/yourusername/.ssh/authorized_keys //ÕâÀïÊÇÖ¸¶¨Ä㹫³×ËùÔÚµÄλÖã¬yourusernameÓÃÄãµÄÓû§Ãû´úÌæ¡£
# Don't read the user's ~/.rhosts and ~/.shosts files
IgnoreRhosts yes
# For this to work you will also need host keys in /etc/ssh_known_hosts
RhostsRSAAuthentication no
# similar for protocol version 2
HostbasedAuthentication no
# Uncomment if you don't trust ~/.ssh/known_hosts for RhostsRSAAuthentication
#IgnoreUserKnownHosts yes
# To enable empty passwords, change to yes


Ïà¹ØÎĵµ£º

ʵսLinux Bluetooth±à³Ì£¨ËÄ£© L2CAP²ã±à³Ì

£¨L2CAPЭÒé¼ò½é£¬L2CAPÔÚBlueZÖеÄʵÏÖÒÔ¼°L2CAP±à³Ì½Ó¿Ú£©
Ò»£ºL2CAPЭÒé¼ò½é£º
Logical Link Control and Adaptation Protocol(L2CAP)
Âß¼­Á¬½Ó¿ØÖƺÍÊÊÅäЭÒé (L2CAP) ΪÉϲãЭÒéÌá¹©ÃæÏòÁ¬½ÓºÍÎÞÁ¬½ÓµÄÊý¾Ý·þÎñ£¬²¢Ìṩ¶àЭÒ鹦ÄܺͷָîÖØ×é²Ù×÷¡£L2CAP ³äÐíÉϲãЭÒéºÍÓ¦ÓÃÈí¼þ´«ÊäºÍ½ÓÊÕ×î´ó³¤¶ÈΪ 64K µÄ L2CAP Ê ......

linux ÏÂoracle µÄ°²×°(·þÎñ¶ËºÍinstant client)

linux ϰ²×°oracle ÊÇÒ»¼þºÜÁîÈËÍ·ÌÛµÄÊÂÇ飬ÎÒ°Ñ×Ô¼ºµÄ°²×°²½ÖèÄóöÀ´¸ø´ó¼Ò·ÖÏíһϡ£
Ò».linux·þÎñ¶ËµÄ°²×°.
1.ÏÂÔØoracle·þÎñ¶ËÈí¼þ,ÏÂÔØÍøÖ·ÈçÏÂ
http://www.oracle.com/technology/software/products/database/index.html
ÎÒÑ¡ÔñµÄ°æ±¾ÊÇ£ºOracle Database 10g Release 2 (10.2.0.1.0) for Linux x86-64
  ......

һЩ¸ßЧµÄLinuxÃüÁîÐвÙ×÷


1. ²éÕÒJavaÏîÄ¿ÖУ¬main·½·¨¶¨ÒåÔÚÄĸöÎļþÀï.
¡¡¡¡Çл»µ½ÄãÒª²éÕÒÏîÄ¿µÄĿ¼ÏÂÖ´ÐÐ
¡¡¡¡grep -rlI '\
¡¡¡¡Èç¹ûÄã¾õµÃ×Ô¼º´ò×ֿ죬²»ÅÂÂé·³Ö´ÐÐÈçÏÂÃüÁîÒ²¿ÉÒÔÕÒµ½¸ÃÎļþ
¡¡¡¡find -type f -name *.java -exec grep -l '\
¡¡¡¡2 ¿ìËٵĽ¨Á¢Ò»¸öÎļþ£¬²¢ÊäÈëһЩÄÚÈÝ
¡¡¡¡cat >> filename £¬ÊäÈëһЩÄÚÈÝÈ» ......

linux ÊØ»¤½ø³Ì


int Daemon(char* szExecName = NULL)
{
 int res = 0;
 pid_t pc;
 pc = fork();
 if(pc < 0)
 {
  fprintf(stderr,"ERROR_Deamon()_fork(): failed!");
  return -1;
 }
 else if(pc == 0) //sub process
 {
 }
 else if( ......

Linux ¼ÓÔØUÅÌ¡¢¹âÅÌ¡¢ÈíÅÌ & mountʹÓÃÖ¸ÄÏ

Ò»¡¢Linux¼ÓÔØuÅÌ
LinuxÈçºÎ¼ÓÔØ(ÓÅ)UÅÌ
µÚÒ»²½£¬ÒÔrootÓû§µÇ½
ÏȼÓÔØUSBÄ£¿é modprobe usb-storage
ÓÃfdisk -l ¿´¿´´ÅÅ̵ÄÉ豸
¼ÙÈçUÅÌÊÇsda
µÚ¶þ²½£¬È·¶¨ÔÚ Ä¿Â¼ /mnt Ͻ¨Á¢ÁË Îļþ¼Ð /usb,Èç¹û佨Á¢¿É¼üÈëÒ»ÏÂÃüÁ               mkdir /mnt/usb  & ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ