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

Redhat AS4 Linux³£Ó÷þÎñºÍ¹¤¾ß


ÕâÀï¼Ç¼Redhat LinuxÖеÄһЩ³£Ó÷þÎñºÍÅäÖù¤¾ß¡£°æ±¾»ùÓÚAS4¡£
1.Firewall
ͨ¹ýÃüÁîÐÐÅäÖãºlokkit
ͼÐνçÃæÅäÖãºApplications->System Settings->Security Level
2.samba
/etc/init.d/smb start | /etc/init.d/smb stop | /etc/init.d/smb restart
»òÕß
service smb start | service smb stop | service smb restart
sambaµÄÅäÖ㬿ÉÒÔͨ¹ýÐÞ¸Ä/etc/samba/smb.confÎļþ»òÕßApplications->System Settings->Server Settings->Samba´ò¿ªÍ¼ÐνçÃæÅäÖá£
ʹÓÃsmbmount //ip/sharefolder /localmoutpoint ¿ÉÒÔ½«¹²ÏíĿ¼mountµ½±¾µØÎļþϵͳÖУ¬·ñÔòÐèҪʹÓÃsmbclient //ip/sharefolderµÄ·½Ê½À´·ÃÎÊ£¬²»Ì«·½±ã¡£
3.telnet
ĬÈÏ°²×°ºótelnetδÆôÓ᣼ì²âtelnet״̬#chkconfig --list | grep telnet£¬Èç¹û·µ»ØΪkrb5-telnet:off¡£ÔòtelnetδÆôÓá£
Ö´ÐÐ#chkconfig krb5-telnet on¼´¿É¿ªÆôtelnet·þÎñ¡£
Ò²¿ÉÒÔͨ¹ýntsysv¹¤¾ß£¬»òÕßÖ±½ÓÐÞ¸Ä/etc/xinetd.d/krb5-telnetÅäÖÃÎļþʵÏÖ¡£
ĬÈÏÇé¿öÏ£¬rootÎÞ·¨telnet£¬ÕâÊÇΪ°²È«¿¼ÂÇ£¬ÊµÔÚÐèҪʹÓÃroot¿ÉÒÔ¿¼ÂÇÆÕͨÓû§loginºósu³Éroot¼´¿É¡£
service xinetd start | service xinetd stop | service xinetd restart
4.SSH
ϵͳĬÈÏÆôÓÃÁËssh£¬Ò²¿ÉÒÔʹÓÃchkconfigÀ´²é¿´ºÍ¸ü¸Ä·þÎñ״̬¡£
ÕâÊÇÒ»ÖֱȽϰ²È«µÄÔ¶³Ì½ÓÈëϵͳµÄ·½·¨£¬½¨ÒéʹÓÃÒÔÌæ´útelnet¡£²»ÐèÒª×öʲôÅäÖã¬Ö±½ÓʹÓÃssh¿Í»§¶Ë£¬±ÈÈçputty¾ÍÄܵÇÈ룬ĬÈÏÒ²²»ÄÜʹÓÃrootÓû§¡£
service sshd start | service sshd stop | service sshd restart
Í£Ö¹·þÎñºó²»Ó°ÏìÒѾ­µÇÈëµÄÁ¬½Ó£¬Ö»»á¾Ü¾øеĽÓÈëÇëÇó¡£
SSH¿ÉÒÔ»ùÓÚ¿ÚÁîÈÏÖ¤»òÕßÃÜÔ¿ÈÏÖ¤¡£ÔÚrac°²×°ÖУ¬ÓÉÓÚÒªÇó²»µ¯³öÊäÈëÓû§ÃÜÂëµÄÌáʾ£¬ÐèÒª¶Ôssh½øÐÐÅäÖÃÒÔʹÓÃÃÜÔ¿ÈÏÖ¤¡£
ʹÓÃssh-keygen -d ÃüÁîÉú³ÉÒ»¶ÔÃÜÔ¿£¬Ä¬ÈÏ·ÅÔÚ/root/.ssh/id_dsa(˽Կ)ºÍ/root/.ssh/id_dsa.pub(¹«Ô¿)¡£È»ºó½«¹«Ô¿¸½¼Óµ½Ä¿±ê»úÆ÷µÄ/home/oracle/.ssh/id_dsa/authorized_keysÎļþÖУ¬¾Í¿ÉÒÔ´Ó±¾µØÎÞÐëÃÜÂë·ÃÎÊÔ¶³ÌÖ÷»úÁË¡£


Ïà¹ØÎĵµ£º

Linux¶àÏ̱߳à³ÌµÄ»ù±¾µÄº¯Êý

  º¯ÊýÔ­ÐÍ£º                  
#include <pthread.h>
int pthread_create(pthread_t *restrict tidp,const pthread_attr_t *restrict attr, void *(*start_rtn)( ......

ǶÈëʽLinux±àÒëÆ÷gccʹÓÃ


At first, GCC is used for GNU C Compiler. At present£¬it supports JAVA Ada C++ and so on.
GCC±àÒëÁ÷³Ì·ÖΪ£º
1.Pre-Processing£¨Ô¤´¦Àí£©
   gcc -E -o hello.i hello.c
   Ñ¡Ïî-E  Ê¹µÃ±àÒëÆ÷ÔÚÔ¤´¦Àí½áÊøʱֹͣ±àÒë
   Ñ¡Ïî-o   Ö¸¶¨GCCµÄÊä ......

LINUXÄں˱àÒ루ת£©

×î½üÔÚÍøÉÏ¿´Á˼¸¸öLinuxÄں˱àÒë·½ÃæµÄÎÄÕ£¬ÓÉÓںܶàÕâÑùµÄÌû×Ó£¬Ëæ±ã¿´Á˼¸¸ö¶¼²î²»¶à°É¡£ÔÚÎÒÕæÕý×Ô¼º¶¯ÊÖȥʵ¼ùµÄʱºò£¬³öÏÖÁ˺ܶàµÄÎÊÌâ¡£¸Ð¾õÊDz»ÄÜÍêÈ«°´ÕÕ±ðÈ˵ķ½·¨À´£¬ÒòΪÄãÃǵĵ±Ê±µÄ»úÆ÷¹¤×÷»·¾³¿ÉÄÜÊDz»Ò»ÑùµÄ¡£Õû¸ö¹ý³ÌÇúÕÛ¿²¿À¡£µ«ÊÇ×îºó»¹Êdzɹ¦À²£¡ÏÂÃæÎÒ½«¸ø³ö×Ô¼ºµÄʵ¼ù¹ý³ÌºÍ×¢Òâµã¡£
Ò»,ΪʲôҪ± ......

linux install memcached,Linux°²×°memcached

rzÉÏ´«Îļþµ½Ä³Ä¿Â¼
½âѹËõ tar zxvf
½øÈëlibeventĿ¼ ./configure
תµ½rootÓû§ make install
½øÈëmemcachedĿ¼ ./configure
תµ½rootÓû§ make install
Æô¶¯memcached
cd /usr/local/bin
/usr/local/bin/memcached -d -P /var/local/logs/memcached.pid -t 4 -m 200 -u root -c 1024 -v >> /var/local/l ......

linux BASH»ù´¡ÖªÊ¶¼¯½õ

1£¬shell export ×÷ÓÃ
http://blog.sina.com.cn/s/blog_62945c360100ffvk.html
2£¬alias ls="ls --color=auto"
    °²×°ÁËarchlinuxºó£¬·¢ÏÖʹÓÃlsÃüÁîʱ£¬Ä¿Â¼ºÍÎļþ²¢Ã»ÓÐÒÔÑÕÉ«Çø·Ö¿ªÀ´£¬¾õµÃºÜ²»·½±ã£¬ËùÒԾ͵½ÍøÉÏËÑÁËһϣ¬·¢ÏÖ¿ÉÒÔʹÓÃaliasÃüÁÔÚ/etc/profileµÄĩβ¼ÓÈëalias ls="ls ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ