ÅäÖÃLinux wget,yum ʹÓôúÀí·ÃÎÊÍøÂç
ÅäÖÃLinux wget,yum ʹÓôúÀí·ÃÎÊÍøÂç¡£
Èç¹ûÄãµÄlinuxÖ÷»úÐèҪͨ¹ý´úÀí·þÎñÆ÷²ÅÄÜ·ÃÎÊÍⲿÍøÂç¡£¿ÉÒÔͨ¹ýÈçÏ·½Ê½ÊµÏÖ¡£
1.wget
ÐèÒªÔÚµ±Ç°Óû§µÄĿ¼Ï´´½¨Ò»¸ö".wgetrc"Îļþ
[root@linux ~]#vi .wgetrc
http-proxy = 10.1.18.34:3128
ftp-proxy = 10.1.18.34:3128
·Ö±ð±íʾhttpµÄ´úÀí·þÎñÆ÷ºÍftpµÄ´úÀí·þÎñÆ÷¡£Èç¹û´úÀí·þÎñÆ÷ÐèÒªÃÜÂëÔòʹÓãº
--proxy-user=USERÉèÖôúÀíÓû§
--proxy-passwd=PASSÉèÖôúÀíÃÜÂë
ÕâÁ½¸ö²ÎÊý¡£
ʹÓòÎÊý--proxy=on/off ʹÓûòÕ߹رմúÀí¡£
2.yum
[root@linux ~]# vi /etc/yum.conf
#about yum proxy
#day 2010-03-06
#wellpan
#=================
proxy=http://10.1.18.34:3128/
#================
ÒòΪÎÒ²âÊԵĴúÀíûÓÐÒªÇóÃÜÂëÑéÖ¤£¬Èç¹ûÒªÇóûÓÐÊäÈëÓû§ÃûºÍÃÜÂë.
Ïà¹ØÎĵµ£º
dns
/etc/resolv.conf
Ö÷»úÃû
1)#hostname tt.com
2)/etc/sysconfig/networkÖеÄhostname
3)ÐÞ¸Ä/etc/hostsÎļþ
=>sendmail->/etc/mail/local-host-names
gateway
etc/sysconfig/network
ip
/etc/sysconfig/network-scripts/ifcfg-eth0
1. ±ä¸üµ±Ç°Ö÷»úÃû
Á½ÖÖ·½·¨£º echo new-hostname > /proc/s ......
1. Ôö¼ÓÒ»¸öÐÂÓû§
ÔÚLinuxϵͳÖУ¬Ö»ÓÐrootÓû§²ÅÄܹ»´´½¨Ò»¸öÐÂÓû§£¬ÈçϵÄÃüÁн¨Ò»¸öµÇ¼Ãûuser1µÄÓû§¡£
# useradd user1
µ«ÊÇ£¬Õâ¸öÓû§»¹²»Äܹ»µÇ¼£¬ÒòΪ»¹Ã»¸øËüÉèÖóõʼÃÜÂ룬¶øûÓÐÃÜÂëµÄÓû§ÊDz»Äܹ»µÇ¼ϵͳµÄ¡£ÔÚĬÈÏÇé¿öÏ£¬½«»áÔÚ/homeĿ¼ÏÂн¨Ò»¸öÓëÓû§ÃûÏàͬµÄÓû§Ö÷Ŀ¼¡£Èç¹ûÐèÒªÁíÍâÖ¸¶¨ ......
×î½üÔÚ×öÒ»¸öI2C¼üÅ̵ÄLinuxÇý¶¯£¬²Î¿¼ÁËÆäËûоƬµÄһЩ´úÂ룬ÆäÖнÐø·¢ÏÖÓÐЩÈÃÈËÃÔ»óµÄ¶«Î÷£¬°ÑÎÒµÄÃÔ»ó¼°Àí½âÔÚÕâÀï¼ÓÒԼǼ£º
1. i2c_driver½á¹¹ÌåµÄprobe³ÉÔ±µÄÔÐÍ£º
int (*probe)(struct i2c_client *, const struct i2c_device_id *);
¼´£ºprobeº¯Êý±»µ÷ÓÃʱ»á´ÓÉϱߴ«Á½¸ö¸ö²Î ......
¼¤¶¯°¡£¬½ñÌìÏÂÎç·ÅѧÀíÍê·¢»ØÀ´ÎÒ°Ö¸æËßÎÒ˵¼ÄÀ´Ñù¶«Î÷£¬»¹ÊÇ´Ó¹úÍâ¼ÄÀ´µÄ£¡ÕâÊÇÎÒµÚÒ»´Î´Ó¹úÍâ±ðÈ˸øÎҼĶ«Î÷¡£·Ï»°²»¶à˵£¬ÉÏͼ²ÅÊÇÍõµÀ¡£ÓÉÓÚÅÄÉãÌõ¼þ¹ýÓÚ¼òª£¨ÁªÏëI398ÊÖ»ú+ÊÖµçͲ£©£¬Óе㱾ßÁË¡£
°ü¹üÕýÃæµÄÍâ°ü×°
°ü¹ü±³Ã棨Ϊ·ÀÖ¹¸öÈËÐÅϢй¶ÄÃÅçÆáºÍгÁËһϣ©
°ü¹ü×îÉÏÃ棬ÓÉÓÚÓ¢ÓïˮƽÓÐÏÞÿ̫¿´¶®ÊÇÊ²Ã´Ò ......
Linux¿ªÆôTelnet£¨¸½RHEL5)
1¡£Èç¹û°²×°ÁËtelnet¡¢telnet-serverµÄrpm°ü£¬¾ÍÌøµ½2¡££¬·ñÔò°²×°Õâ¸ö°ü¡£
2¡£ÐÞ¸Ätelnet·þÎñÅäÖÃÎļþ
vi /etc/xinetd.d/telnet
service telnet
{
disable = yes
flags = REUSE
socket_type = stream
wait = no
user = root
server = /usr/sbin/in.telnetd
log_on_failur ......