??xml version="1.0" encoding="utf-8" standalone="yes"?>国产成人精品免费视,欧美好骚综合网,国产精品伦理久久久久久http://www.aygfsteel.com/abin/category/52789.htmlzh-cnMon, 26 Aug 2013 20:50:45 GMTMon, 26 Aug 2013 20:50:45 GMT60Fedora16下搭建ftp基本Ҏhttp://www.aygfsteel.com/abin/archive/2013/08/26/403331.htmlabingabingMon, 26 Aug 2013 14:31:00 GMThttp://www.aygfsteel.com/abin/archive/2013/08/26/403331.htmlhttp://www.aygfsteel.com/abin/comments/403331.htmlhttp://www.aygfsteel.com/abin/archive/2013/08/26/403331.html#Feedback0http://www.aygfsteel.com/abin/comments/commentRss/403331.htmlhttp://www.aygfsteel.com/abin/services/trackbacks/403331.html【搭建环境】Linux (Fedora 16)

【基本实现】在自己的电脑上搭徏ftpQ实现同一|段匿名dQƈ能上传下载文件?/p>

【涉及技术】vsftpdQiptables

【方法?/p>

1. 先查看自q机子上是否已安装vsftpd (very secure FTP Daemon)Q这是linux上常用的ftpd技术,配置Ҏ比较cM配置Apache。命令行输入Q?/p>

#rpm -qa | grep vsftp

若出现内容,则表C已安装Q若无,则手动抓包下载:

# sudo yum install vsftpd

 

2 .启动vsftpd服务。很多教E写的是/etc/init.d/vsftpd startQ但是我试了下后发现不行Q应该如下输入:

# sudo service vsftpd start

相应的,start 可换成stopQrestart{,从字面意思就知道其意思?/p>

查看是否有启动vsftpdQ?/p>

# pstree | grep vsftpd

若有则表C启动成功。至此,可通过#ftp L?localhost/127.0.0.1 来测试ftp是否正常工作?br />

 

3. 配置 相关文g。vsftpd.conf 全局配置文g攑֜/etc/vsftpd/下。ؓ了防止配|错了,先拷贝一份副本,之后q入文档q行~辑。完成后重启ftp卛_?/p>

#cp /etc/vsftpd/vsftpd.conf /etc/vsftpd/vsftpd1.conf

#sudo vim /etc/vsftpd/vsftpd.conf

Z允许匿名dQ则anonymous_enable必须{于YESQ其他相应的配置属性简单列表如下:

anonymous_enable=YES              允许匿名d
Local_enable=YES                       允许本地用户d
write_enable=YES                        开放本地用L写权?br />dirmessage_enable=YES              当切换到目录Ӟ昄该目录下?message隐含文g的内?br />xferlog_enab1e =YES                   ȀzM传和下蝲日志
connect_from_port_20 = YES      启用FTP数据端口的连接请?br />xferlog_std_format =YES            使用标准的ftpd xferlog日志格式
pam_service_name=vsftpd           讄认证服务的配|文件名Uͼ该文件存攑֜/etc/pam.d/
userlist_enableQYES                   Ȁzvsftpd查userlist_file指定用户是否可以讉Kvsftpd服务?/p>

 

4. 本机q行试。在览器上输入ftp://localhost或者ftp://127.0.0.1Q若搭徏成功Q则会有相应的文件夹Q而这文gҎ默认?var/ftp/下,当然以后你还可以q行修改。另一个方法是可以直接在命令行输入Q?/p>

#ftp 127.0.0.1

因ؓ匿名dQ蟩q输入用户名和密码后输入Q?/p>

ftp>user anonymous

再次跌输入密码Q此时会昄d成功的字栗?/p>

 

5. 关闭防火墙。此时去同一|段的主问ftpQ会发现一直链接不上。暂时了解到的是现在的linuxpȝZ更好地控?IP 信息包过滤和防火墙配|,使用了iptables的东ѝ首先得关闭SElinuxQ该配置文g?etc/selinux/下:

#vim /etc/selinux/config

扑ֈ相应语句Q将其改成:SELINUX=disabled

重启之后Q如果发现还不行Q则暂时的办法可以关闭整个防火墙Q不推荐Q:

#sudo service iptables stop

C此步则肯定能从别的主问自己搭建的ftp的,只是可能q需要涉及文件夹权限问题Q修改之后就能实现文件上传下载了?/p>

完毕?/p>

 

【补充?/p>

若出?strong>vsftpd: refusing to run with writable anonymous root的错误,大概是ftp目录权限问题Q修正方法:

chown root:root /var/ftp
chmod 755 /var/ftp



abing 2013-08-26 22:31 发表评论
]]>
查看linux下的字体http://www.aygfsteel.com/abin/archive/2013/07/12/401503.htmlabingabingFri, 12 Jul 2013 07:11:00 GMThttp://www.aygfsteel.com/abin/archive/2013/07/12/401503.htmlhttp://www.aygfsteel.com/abin/comments/401503.htmlhttp://www.aygfsteel.com/abin/archive/2013/07/12/401503.html#Feedback0http://www.aygfsteel.com/abin/comments/commentRss/401503.htmlhttp://www.aygfsteel.com/abin/services/trackbacks/401503.html查看所有字体:
fc-list

查看中文字体
fc-list :lang=zh

用fc-list扑և语言为zh的字体文Ӟ可见pȝ里中文字体少的可怜。知道了q些字体Q还需要进一步了解这些字体对应的文gQ可以运行fc-matchE序得到Q?br />fc-match -v "AR PL UKai CN"

Pattern has 32 elts (size 48)
    family: "AR PL UKai CN"(s)
    familylang: "en"(s)
    style: "Book"(s)
    stylelang: "en"(s)
    fullname: "AR PL UKai CN"(s)
    fullnamelang: "en"(s)
    slant: 0(i)(s)
    weight: 80(i)(s)
    width: 100(i)(s)
    size: 12(f)(s)
    pixelsize: 12.5(f)(s)
    spacing: 90(i)(w)
    foundry: "unknown"(s)
    hintstyle: 3(i)(s)
    hinting: FcTrue(s)
    verticallayout: FcFalse(s)
    autohint: FcFalse(s)
    globaladvance: FcFalse(w)
    file: "/usr/share/fonts/cjkunifonts-ukai/ukai.ttc"(s)
    index: 0(i)(s)
    outline: FcTrue(s)
    scalable: FcTrue(s)
    dpi: 75(f)(s)
    scale: 1(f)(s)
    minspace: FcFalse(w)
    charset: 0000: 00000000 ffffffff ffffffff 7fffffff 00000000 ffffffff ffffffff ffffffff
    0001: ffffffff ffffffff ffffffff ffffffff 00800000 00018003 fffffff0 ff3f3fcf
    0002: cfffffff 008fffc0 08130010 00200502 00000608 30000000 2f002fc0 00000c00
                    
    02f8: 00000000 08000020 00000001 01000000 00100000 00000040 00002000 00000000
    02f9: 00000000 00000000 00000000 00000000 00100000 10040000 00100000 00000000
(s)
    lang: aa|af|ast|ay|bg|bi|bin|br|bs|ca|ch|co|cs|cy|da|de|el|en|eo|es|et|eu|fi|fj|fo|fr|fur|fy|ga|gd|gl|gn|gv|ho|hr|hu|ia|ibo|id|ie|io|is|it|ki|kl|kum|kw|la|lb|lt|lv|mg|mh|mi|mo|mt|nb|nds|nl|nn|no|nr|nso|ny|oc|om|os|pl|pt|rm|ro|ru|se|sel|shs|sk|sl|sma|smj|smn|so|sq|ss|st|sv|sw|tn|tr|ts|ven|vi|vo|vot|wa|wen|wo|xh|yap|yo|zh-cn|zh-sg|zh-tw|zu(s)
    fontversion: 13107(i)(s)
    capability: "otlayout:DFLT otlayout:bopo otlayout:cyrl otlayout:grek otlayout:hani otlayout:kana otlayout:latn"(s)
    fontformat: "TrueType"(s)
    embeddedbitmap: FcTrue(s)
    decorative: FcFalse(s)


q里只查阅了字体“AR PL UKai CN”Q可以看到其对应文g"/usr/share/fonts/cjkunifonts-ukai/ukai.ttc"Q其他的字体信息也可以通过该方法查得?/div>


abing 2013-07-12 15:11 发表评论
]]>shell awkhttp://www.aygfsteel.com/abin/archive/2013/02/03/395085.htmlabingabingSun, 03 Feb 2013 13:14:00 GMThttp://www.aygfsteel.com/abin/archive/2013/02/03/395085.htmlhttp://www.aygfsteel.com/abin/comments/395085.htmlhttp://www.aygfsteel.com/abin/archive/2013/02/03/395085.html#Feedback0http://www.aygfsteel.com/abin/comments/commentRss/395085.htmlhttp://www.aygfsteel.com/abin/services/trackbacks/395085.htmlshell awk
http://www.cnblogs.com/orez88/articles/1889781.html

abing 2013-02-03 21:14 发表评论
]]>
Fedora 17 开启ssh服务http://www.aygfsteel.com/abin/archive/2013/02/03/395082.htmlabingabingSun, 03 Feb 2013 09:52:00 GMThttp://www.aygfsteel.com/abin/archive/2013/02/03/395082.htmlhttp://www.aygfsteel.com/abin/comments/395082.htmlhttp://www.aygfsteel.com/abin/archive/2013/02/03/395082.html#Feedback0http://www.aygfsteel.com/abin/comments/commentRss/395082.htmlhttp://www.aygfsteel.com/abin/services/trackbacks/395082.htmlFedora 17 已经安装好openssh server?不用再装
不过默认无开?/p>

首先su root
1.开启ssh服务
# systemctl start sshd.service

2.随系l一起启动服?/p>

# systemctl enable sshd.service

在terminal 中输 setup 寚w火墙 d22 端口

3.开启防火墙22端口

# iptables -I INPUT -p tcp --dport 22 -j ACCEPT


过ok

1、在root权限下,修改ssh配置文gQvi /etc/ssh/ssh_config

一下三个注释去掉,卛_其前?#8220;#”P

RSAAuthentication yes

PasswordAuthentication yes

Port 22

2、启动SSH服务Qservice sshd start

3、测试是否安装成功:ssh 192.168,.253.18    #Ҏip

出现Q?Are you sure you want to continue connecting (yes/no)? yes  #输入yes
出现Q?a href="mailto:root@192.168.253.18's">root@192.168.253.18's password:            #输入Ҏ对应角色密码
提示QLast login: Sun Nov 18 14:34:41 2012 from 192.168.253.20  #d成功

 

4、操作完成后一定要退出登录:logout    #忘记退出的后果是,所有命令行操作都在Ҏ机器上!

以下为免密码d配置Q?/p>

1、生成密钥: ssh-keygen -t rsa

提示Q?/p>

The key's randomart image is:
+--[ RSA 2048]----+
|          +*++..|
|        . ooo.. |
|        +  .o . |
|      + o .  + o|
|      . S .  o *.|
|      .    o .E+|
|            .  |
|                |
|                |
+-----------------+

2、密钥传l对Ҏ器: ssh-copy-id -i ~/.ssh/id_rsa.pub 192.168.253.18
3、再重新d卛_不用密码Qssh 192.168.253.18

PSQ如果链接对方主机提CPORT 22 connection refused提示Q可在对方主Z重新启动ssh服务Qservice sshd start


本篇文章来源?Linux公社|站(www.linuxidc.com)  原文链接Q?a >http://www.linuxidc.com/Linux/2013-01/78033.htm



abing 2013-02-03 17:52 发表评论
]]>
sed 命ohttp://www.aygfsteel.com/abin/archive/2012/12/14/393014.htmlabingabingFri, 14 Dec 2012 09:56:00 GMThttp://www.aygfsteel.com/abin/archive/2012/12/14/393014.htmlhttp://www.aygfsteel.com/abin/comments/393014.htmlhttp://www.aygfsteel.com/abin/archive/2012/12/14/393014.html#Feedback0http://www.aygfsteel.com/abin/comments/commentRss/393014.htmlhttp://www.aygfsteel.com/abin/services/trackbacks/393014.html
sed -n '1,1000p'  abin.log
2、正则表辑ּ查询日志Q?br />
sed -n '/17378/p'  abin.log
sed '/17378/!d'  abin.log


abing 2012-12-14 17:56 发表评论
]]>
linux grep命ohttp://www.aygfsteel.com/abin/archive/2012/11/12/391215.htmlabingabingMon, 12 Nov 2012 09:31:00 GMThttp://www.aygfsteel.com/abin/archive/2012/11/12/391215.htmlhttp://www.aygfsteel.com/abin/comments/391215.htmlhttp://www.aygfsteel.com/abin/archive/2012/11/12/391215.html#Feedback0http://www.aygfsteel.com/abin/comments/commentRss/391215.htmlhttp://www.aygfsteel.com/abin/services/trackbacks/391215.html阅读全文

abing 2012-11-12 17:31 发表评论
]]>
linux grep一些常用命令记?/title><link>http://www.aygfsteel.com/abin/archive/2012/11/12/391208.html</link><dc:creator>abing</dc:creator><author>abing</author><pubDate>Mon, 12 Nov 2012 07:43:00 GMT</pubDate><guid>http://www.aygfsteel.com/abin/archive/2012/11/12/391208.html</guid><wfw:comment>http://www.aygfsteel.com/abin/comments/391208.html</wfw:comment><comments>http://www.aygfsteel.com/abin/archive/2012/11/12/391208.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.aygfsteel.com/abin/comments/commentRss/391208.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/abin/services/trackbacks/391208.html</trackback:ping><description><![CDATA[匚wMOBILE_EXCEPTION_192.168.101.220\ 2012-11-12.log里面的字W串15779Q?br /><br />1、more MOBILE_EXCEPTION_192.168.101.220\ 2012-11-12.log | grep -i '15779'<br />2、more MOBILE_EXCEPTION_192.168.101.220\ 2012-11-12.log | grep -n '15779'<br /><br />2、grep '15779' MOBILE_EXCEPTION_192.168.101.220\ 2012-11-12.log <br /><span style="text-align: left; widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; display: inline !important; font: 13px/19px verdana, Arial, helvetica, sans-seriff; white-space: normal; orphans: 2; float: none; letter-spacing: normal; color: rgb(75,75,75); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">如果有很?输出Ӟ您可以通过道其转到’less’上阅读:</span><br />3?nbsp;grep '15779' MOBILE_EXCEPTION_192.168.101.220\ 2012-11-12.log | less<br />4?br />l计W合条g的日志行敎ͼ<br />[abin@abin logs]$ grep -c 'WapsActivityNotify, httpClientq回l果Q{"message":"无效下蝲","success":false}'  WAPS_ADVERTISE_127.0.0.1\ 2012-11-28.log <br />82<br /><img src ="http://www.aygfsteel.com/abin/aggbug/391208.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/abin/" target="_blank">abing</a> 2012-11-12 15:43 <a href="http://www.aygfsteel.com/abin/archive/2012/11/12/391208.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Linux用户、用L、文件权限学习笔?/title><link>http://www.aygfsteel.com/abin/archive/2012/11/09/391120.html</link><dc:creator>abing</dc:creator><author>abing</author><pubDate>Fri, 09 Nov 2012 15:18:00 GMT</pubDate><guid>http://www.aygfsteel.com/abin/archive/2012/11/09/391120.html</guid><wfw:comment>http://www.aygfsteel.com/abin/comments/391120.html</wfw:comment><comments>http://www.aygfsteel.com/abin/archive/2012/11/09/391120.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.aygfsteel.com/abin/comments/commentRss/391120.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/abin/services/trackbacks/391120.html</trackback:ping><description><![CDATA[<h2>Linux用户、用L、文件权限学习笔?br /><p style="margin: 0px; padding: 0px; color: #454545; font-family: tahoma, helvetica, arial; font-size: 14px; font-weight: normal; background-color: #ffffff; ">最q打更仔细学习一下linux操作pȝ。先是恶补了一下用戗用L、文件权限这三样比较重要的知识?br />学习q几样东西,得先掌握linux的权限系l相关知识?br />linux的权限系l主要是q戗用L和权限组成?br />用户是一个个的登录ƈ使用linux的用戗linux内部用UID表示?br />用户l就是用L分组。linux内部用GID表示?br />权限分ؓ诅R写、执行三U权限?/p><br style="color: #454545; font-family: tahoma, helvetica, arial; font-size: 14px; font-weight: normal; background-color: #ffffff; " /><p style="margin: 0px; padding: 0px; color: #454545; font-family: tahoma, helvetica, arial; font-size: 14px; font-weight: normal; background-color: #ffffff; ">linux的用户信息保存在/etc/passwd文g中,另外Q?etc/shadow文g存放的是用户密码相关信息?br /><br />/etc/passwd文g格式Q?br />用户?密码:UID:GID:用户信息:HOME目录路径:用户shell<br />其中UID?则是用户rootQ??99为系l用P500以上为普通用?/p><br style="color: #454545; font-family: tahoma, helvetica, arial; font-size: 14px; font-weight: normal; background-color: #ffffff; " /><p style="margin: 0px; padding: 0px; color: #454545; font-family: tahoma, helvetica, arial; font-size: 14px; font-weight: normal; background-color: #ffffff; ">/etc/shadow保存用户密码信息Q包括加密后的密码,密码q期旉Q密码过期提C天数等?/p><br style="color: #454545; font-family: tahoma, helvetica, arial; font-size: 14px; font-weight: normal; background-color: #ffffff; " /><p style="margin: 0px; padding: 0px; color: #454545; font-family: tahoma, helvetica, arial; font-size: 14px; font-weight: normal; background-color: #ffffff; ">用户l信息保存在/etc/group文g?<br />格式如下Q?br />用户l名:l密?GID:l内帐号Q多个帐L逗号分隔Q?/p><br style="color: #454545; font-family: tahoma, helvetica, arial; font-size: 14px; font-weight: normal; background-color: #ffffff; " /><p style="margin: 0px; padding: 0px; color: #454545; font-family: tahoma, helvetica, arial; font-size: 14px; font-weight: normal; background-color: #ffffff; ">用户d后,/etc/passwd文g里的GID为用L初始用户l?br />用户的初始用Lq一事实不会?etc/group中体现?/p><br style="color: #454545; font-family: tahoma, helvetica, arial; font-size: 14px; font-weight: normal; background-color: #ffffff; " /><p style="margin: 0px; padding: 0px; color: #454545; font-family: tahoma, helvetica, arial; font-size: 14px; font-weight: normal; background-color: #ffffff; "></p><br style="color: #454545; font-family: tahoma, helvetica, arial; font-size: 14px; font-weight: normal; background-color: #ffffff; " /><p style="margin: 0px; padding: 0px; color: #454545; font-family: tahoma, helvetica, arial; font-size: 14px; font-weight: normal; background-color: #ffffff; "><strong>查看当前用户的用L命oQ?/strong><br />[root@local opt]#groups<br />root bin daemon sys adm disk wheel<br />输出的信息中Q第一个用L为当前用L有效用户l(当前用户l)</p><br style="color: #454545; font-family: tahoma, helvetica, arial; font-size: 14px; font-weight: normal; background-color: #ffffff; " /><p style="margin: 0px; padding: 0px; color: #454545; font-family: tahoma, helvetica, arial; font-size: 14px; font-weight: normal; background-color: #ffffff; "></p><br style="color: #454545; font-family: tahoma, helvetica, arial; font-size: 14px; font-weight: normal; background-color: #ffffff; " /><p style="margin: 0px; padding: 0px; color: #454545; font-family: tahoma, helvetica, arial; font-size: 14px; font-weight: normal; background-color: #ffffff; "><strong>切换有效用户l命令:<br /></strong>[root@local opt]#newgrp 用户l名<br />要离开新的有效用户l,则输入exit回R?/p><br style="color: #454545; font-family: tahoma, helvetica, arial; font-size: 14px; font-weight: normal; background-color: #ffffff; " /><p style="margin: 0px; padding: 0px; color: #454545; font-family: tahoma, helvetica, arial; font-size: 14px; font-weight: normal; background-color: #ffffff; "></p><br style="color: #454545; font-family: tahoma, helvetica, arial; font-size: 14px; font-weight: normal; background-color: #ffffff; " /><p style="margin: 0px; padding: 0px; color: #454545; font-family: tahoma, helvetica, arial; font-size: 14px; font-weight: normal; background-color: #ffffff; "><strong>新徏用户命oQ?br /></strong>[root@local opt]#useradd 用户?-g 初始用户l?-G 其他用户l(修改/etc/groupQ?-c 用户说明 -u 指定UID</p><br style="color: #454545; font-family: tahoma, helvetica, arial; font-size: 14px; font-weight: normal; background-color: #ffffff; " /><p style="margin: 0px; padding: 0px; color: #454545; font-family: tahoma, helvetica, arial; font-size: 14px; font-weight: normal; background-color: #ffffff; "></p><br style="color: #454545; font-family: tahoma, helvetica, arial; font-size: 14px; font-weight: normal; background-color: #ffffff; " /><p style="margin: 0px; padding: 0px; color: #454545; font-family: tahoma, helvetica, arial; font-size: 14px; font-weight: normal; background-color: #ffffff; "><strong>建完用户需要ؓ用户讄密码Q?br /></strong>[root@local opt]#passwd 用户?/p><br style="color: #454545; font-family: tahoma, helvetica, arial; font-size: 14px; font-weight: normal; background-color: #ffffff; " /><p style="margin: 0px; padding: 0px; color: #454545; font-family: tahoma, helvetica, arial; font-size: 14px; font-weight: normal; background-color: #ffffff; "></p><br style="color: #454545; font-family: tahoma, helvetica, arial; font-size: 14px; font-weight: normal; background-color: #ffffff; " /><p style="margin: 0px; padding: 0px; color: #454545; font-family: tahoma, helvetica, arial; font-size: 14px; font-weight: normal; background-color: #ffffff; "><strong>用户要修改自己密码命令:</strong><br />[root@local opt]#passwd</p><br style="color: #454545; font-family: tahoma, helvetica, arial; font-size: 14px; font-weight: normal; background-color: #ffffff; " /><p style="margin: 0px; padding: 0px; color: #454545; font-family: tahoma, helvetica, arial; font-size: 14px; font-weight: normal; background-color: #ffffff; "></p><br style="color: #454545; font-family: tahoma, helvetica, arial; font-size: 14px; font-weight: normal; background-color: #ffffff; " /><p style="margin: 0px; padding: 0px; color: #454545; font-family: tahoma, helvetica, arial; font-size: 14px; font-weight: normal; background-color: #ffffff; "><strong>修改用户信息命oQ?br /></strong>[root@local opt]#usermod 参数 用户?br />参数:<br /><em>-c 说明<br />-g l名 初始用户l?br />-e q期日期 格式QYYYY-MM-DD<br />-G l名 其他用户l?br />-l 修改用户?br />-L 锁定账号Q在/etc/shadow文g中用户对应密码密码串的前面加上两个叹?!!)Q?br />-U 解锁</em></p><br style="color: #454545; font-family: tahoma, helvetica, arial; font-size: 14px; font-weight: normal; background-color: #ffffff; " /><p style="margin: 0px; padding: 0px; color: #454545; font-family: tahoma, helvetica, arial; font-size: 14px; font-weight: normal; background-color: #ffffff; "></p><br style="color: #454545; font-family: tahoma, helvetica, arial; font-size: 14px; font-weight: normal; background-color: #ffffff; " /><p style="margin: 0px; padding: 0px; color: #454545; font-family: tahoma, helvetica, arial; font-size: 14px; font-weight: normal; background-color: #ffffff; "><strong>删除用户命oQ?/strong><br />[root@local opt]#userdel [-r] 用户?br />其中Q参?r为删除用Lhome目录?br />其实Q可能在pȝ其他地方也有该用hӞ要完整删除一个用户和其文件要先找到属于他的文Ӟ<br />[root@local opt]#find / -user 用户?br />然后删除Q再q行userdel删除用户?/p><br style="color: #454545; font-family: tahoma, helvetica, arial; font-size: 14px; font-weight: normal; background-color: #ffffff; " /><p style="margin: 0px; padding: 0px; color: #454545; font-family: tahoma, helvetica, arial; font-size: 14px; font-weight: normal; background-color: #ffffff; "><strong>查看可用shell命oQ?br /></strong>[root@local opt]#chsh -l <br /><strong>修改自己的shell命oQ?/strong><br />[root@local opt]#chsh -s</p><br style="color: #454545; font-family: tahoma, helvetica, arial; font-size: 14px; font-weight: normal; background-color: #ffffff; " /><p style="margin: 0px; padding: 0px; color: #454545; font-family: tahoma, helvetica, arial; font-size: 14px; font-weight: normal; background-color: #ffffff; "><strong>查看自己或某人UID/GID信息Q?br /></strong>[root@local opt]#id [用户名]<br />q回信息中groups为有效用L</p><br style="color: #454545; font-family: tahoma, helvetica, arial; font-size: 14px; font-weight: normal; background-color: #ffffff; " /><p style="margin: 0px; padding: 0px; color: #454545; font-family: tahoma, helvetica, arial; font-size: 14px; font-weight: normal; background-color: #ffffff; "><strong>新增用户l命令:</strong><br />[root@local opt]#groupadd 用户l名</p><br style="color: #454545; font-family: tahoma, helvetica, arial; font-size: 14px; font-weight: normal; background-color: #ffffff; " /><p style="margin: 0px; padding: 0px; color: #454545; font-family: tahoma, helvetica, arial; font-size: 14px; font-weight: normal; background-color: #ffffff; "><strong>修改用户l名命oQ?br /></strong>[root@local opt]#groupmod -n 名称</p><br style="color: #454545; font-family: tahoma, helvetica, arial; font-size: 14px; font-weight: normal; background-color: #ffffff; " /><p style="margin: 0px; padding: 0px; color: #454545; font-family: tahoma, helvetica, arial; font-size: 14px; font-weight: normal; background-color: #ffffff; "><strong>删除用户l命令:<br /></strong>[root@local opt]#groupdel 用户l名</p><br style="color: #454545; font-family: tahoma, helvetica, arial; font-size: 14px; font-weight: normal; background-color: #ffffff; " /><p style="margin: 0px; padding: 0px; color: #454545; font-family: tahoma, helvetica, arial; font-size: 14px; font-weight: normal; background-color: #ffffff; "><strong>讄用户l密码命令:</strong><br />[root@local opt]#gpasswd 用户l名</p><br style="color: #454545; font-family: tahoma, helvetica, arial; font-size: 14px; font-weight: normal; background-color: #ffffff; " /><p style="margin: 0px; padding: 0px; color: #454545; font-family: tahoma, helvetica, arial; font-size: 14px; font-weight: normal; background-color: #ffffff; ">如果gpasswd加上参数则有其他功能</p><br style="color: #454545; font-family: tahoma, helvetica, arial; font-size: 14px; font-weight: normal; background-color: #ffffff; " /><p style="margin: 0px; padding: 0px; color: #454545; font-family: tahoma, helvetica, arial; font-size: 14px; font-weight: normal; background-color: #ffffff; "><strong>讄用户l管理员命oQ?/strong><br />[root@local opt]#gpasswd -A 用户?用户l名</p><br style="color: #454545; font-family: tahoma, helvetica, arial; font-size: 14px; font-weight: normal; background-color: #ffffff; " /><p style="margin: 0px; padding: 0px; color: #454545; font-family: tahoma, helvetica, arial; font-size: 14px; font-weight: normal; background-color: #ffffff; "><strong>d某帐号到l命令:<br /></strong>[root@local opt]#gpasswd -M 用户?用户l名</p><br style="color: #454545; font-family: tahoma, helvetica, arial; font-size: 14px; font-weight: normal; background-color: #ffffff; " /><p style="margin: 0px; padding: 0px; color: #454545; font-family: tahoma, helvetica, arial; font-size: 14px; font-weight: normal; background-color: #ffffff; "><strong>从组中删除某帐号命oQ?br /></strong>[root@local opt]#gpasswd -d 用户?用户l名</p><br style="color: #454545; font-family: tahoma, helvetica, arial; font-size: 14px; font-weight: normal; background-color: #ffffff; " /><p style="margin: 0px; padding: 0px; color: #454545; font-family: tahoma, helvetica, arial; font-size: 14px; font-weight: normal; background-color: #ffffff; ">passwd相关参数操作Q?br /><em>-l 锁用?br />-u 解锁用户<br />-n 天数 密码不可改天?br />-x 天数 密码q期天数<br />-w 天数 警告天数</em></p><br style="color: #454545; font-family: tahoma, helvetica, arial; font-size: 14px; font-weight: normal; background-color: #ffffff; " /><p style="margin: 0px; padding: 0px; color: #454545; font-family: tahoma, helvetica, arial; font-size: 14px; font-weight: normal; background-color: #ffffff; "></p><br style="color: #454545; font-family: tahoma, helvetica, arial; font-size: 14px; font-weight: normal; background-color: #ffffff; " /><p style="margin: 0px; padding: 0px; color: #454545; font-family: tahoma, helvetica, arial; font-size: 14px; font-weight: normal; background-color: #ffffff; "><strong>文g权限知识<br /><br /></strong>先看个实例:<br />[root@local opt]#ls -al<br />ls -al 命o是列出目录的所有文Ӟ包括隐藏文g。隐藏文件的文g名第一个字Wؓ'.'<br />-rw-r--r-- 1 root root    81 08-02 14:54 gtkrc-1.2-gnome2<br />-rw------- 1 root root   189 08-02 14:54 ICEauthority<br />-rw------- 1 root root    35 08-05 10:02 .lesshst<br />drwx------ 3 root root 4096 08-02 14:54 .metacity<br />drwxr-xr-x 3 root root 4096 08-02 14:54 nautilus</p><br style="color: #454545; font-family: tahoma, helvetica, arial; font-size: 14px; font-weight: normal; background-color: #ffffff; " /><p style="margin: 0px; padding: 0px; color: #454545; font-family: tahoma, helvetica, arial; font-size: 14px; font-weight: normal; background-color: #ffffff; ">列表的列定义如下Q?br />[权限属性信息] [q接数] [拥有者] [拥有者所属用L] [大小] [最后修Ҏ间] [文g名]</p><br style="color: #454545; font-family: tahoma, helvetica, arial; font-size: 14px; font-weight: normal; background-color: #ffffff; " /><p style="margin: 0px; padding: 0px; color: #454545; font-family: tahoma, helvetica, arial; font-size: 14px; font-weight: normal; background-color: #ffffff; ">权限属性列表ؓ10个字W:<br />W一个字W表C文件类型,d为目?-为普通文?l?b为可存储的接口设?c为键盘鼠标等输入讑֤<br />2??个字W表C所有者权限,5??个字W表C所有者同l用h限,8??0为其他用h?br />W二个字W表C所有者读权限Q如果有权限则ؓrQ没有权限则?<br />W三个字W表C所有者写权限Q如果有权限则ؓwQ没有权限则?<br />W四个字W表C所有者执行权限,如果有权限则为xQ没有权限则?<br />W五个字W表C所有者同l用戯权限Q如果有权限则ؓrQ没有权限则?<br />W六个字W表C所有者同l用户写权限Q如果有权限则ؓwQ没有权限则?<br />W七个字W表C所有者同l用h行权限,如果有权限则为xQ没有权限则?<br />W八个字W表C其他非同组L限,如果有权限则为rQ没有权限则?<br />W九个字W表C其他非同组写权限,如果有权限则为wQ没有权限则?<br />W十个字W表C其他非同组执行权限Q如果有权限则ؓxQ没有权限则?</p><br style="color: #454545; font-family: tahoma, helvetica, arial; font-size: 14px; font-weight: normal; background-color: #ffffff; " /><p style="margin: 0px; padding: 0px; color: #454545; font-family: tahoma, helvetica, arial; font-size: 14px; font-weight: normal; background-color: #ffffff; "><strong>修改文g所属组命oQ?/strong><br />[root@local opt]#chgrp [-R] l名 文g?br />其中-R为递归讄</p><br style="color: #454545; font-family: tahoma, helvetica, arial; font-size: 14px; font-weight: normal; background-color: #ffffff; " /><p style="margin: 0px; padding: 0px; color: #454545; font-family: tahoma, helvetica, arial; font-size: 14px; font-weight: normal; background-color: #ffffff; "><strong>修改文g的所有者和l命令:</strong><br />[root@local opt]#chown [-R] 用户[:用户l] 文g?/p><br style="color: #454545; font-family: tahoma, helvetica, arial; font-size: 14px; font-weight: normal; background-color: #ffffff; " /><p style="margin: 0px; padding: 0px; color: #454545; font-family: tahoma, helvetica, arial; font-size: 14px; font-weight: normal; background-color: #ffffff; "><strong>修改文g讉K权限命oQ?br /></strong>[root@local opt]#chmod [-R] 0777 文g?br /><br />xQ用戗文件和权限相关的东西,ȝ?788了,接下来的是Q^常要敢于用各U命令,勤于看看本篇ȝ啦?/p><p style="margin: 0px; padding: 0px; color: #454545; font-family: tahoma, helvetica, arial; font-size: 14px; font-weight: normal; background-color: #ffffff; ">转:<a style="color: #f87070; ">http://www.sourcejoy.com/other_dev_tech/linux-user-and-file-manage.html</a></p><br /></h2><img src ="http://www.aygfsteel.com/abin/aggbug/391120.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/abin/" target="_blank">abing</a> 2012-11-09 23:18 <a href="http://www.aygfsteel.com/abin/archive/2012/11/09/391120.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>fedora jdk安装http://www.aygfsteel.com/abin/archive/2012/10/28/390367.htmlabingabingSun, 28 Oct 2012 12:52:00 GMThttp://www.aygfsteel.com/abin/archive/2012/10/28/390367.htmlhttp://www.aygfsteel.com/abin/comments/390367.htmlhttp://www.aygfsteel.com/abin/archive/2012/10/28/390367.html#Feedback0http://www.aygfsteel.com/abin/comments/commentRss/390367.htmlhttp://www.aygfsteel.com/abin/services/trackbacks/390367.html查看已经安装的jdkQ?/p>

rpm -qa|grep jdk


卸蝲Q?/p>

rpm -e rpm包名Q上面看到的Q?/p>

若存在依赖关p,先卸载上层的?/p>赋予jdk-6u35-linux-i586-rpm.bin权限Q?br />[abin1@abin1 sysource]$ chmod u+X jdk-6u35-linux-i586-rpm.bin
[abin1@abin1 sysource]$ sudo ./jdk-6u35-linux-i586-rpm.bin
[abin1@abin1 sysource]$ ls
jdk-6u35-linux-i586.rpm                sun-javadb-core-10.6.2-1.1.i386.rpm
jdk-6u35-linux-i586-rpm.bin            sun-javadb-demo-10.6.2-1.1.i386.rpm
sun-javadb-client-10.6.2-1.1.i386.rpm  sun-javadb-docs-10.6.2-1.1.i386.rpm
sun-javadb-common-10.6.2-1.1.i386.rpm  sun-javadb-javadoc-10.6.2-1.1.i386.rpm
[abin1@abin1 sysource]$

安装解压之后生成的jdk-6u35-linux-i586.rpm
[abin1@abin1 sysource]$ rpm -ivh --prefix=/home/abin1/abin2/java/ jdk-6u35-linux-i586.rpm

取消之前赋予 jdk-6u35-linux-i586-rpm.bin 的权?br />[abin1@abin1 sysource]$ chmod u-x jdk-6u35-linux-i586-rpm.bin



配置JDK的环境变量:

[abin1@abin1 ~]$ sudo vi /etc/profile.d/java.sh
[sudo] password for abin1:

 

export JAVA_HOME="/usr/lib/java/jdk1.6.0_25/"  

export PATH="$PATH:$JAVA_HOME/bin"  

export CLASS_PATH="$JAVA_HOME/lib"   

Fedora JDK执行所有的命o
[abin1@abin1 ~]$ source /etc/profile
[abin1@abin1 ~]$ source /etc/profile.d/java.sh
[abin1@abin1 ~]$

试JAVA是否安装
java -version



abing 2012-10-28 20:52 发表评论
]]>
linux jdk1.6安装 http://www.aygfsteel.com/abin/archive/2012/10/17/389696.htmlabingabingTue, 16 Oct 2012 16:10:00 GMThttp://www.aygfsteel.com/abin/archive/2012/10/17/389696.htmlhttp://www.aygfsteel.com/abin/comments/389696.htmlhttp://www.aygfsteel.com/abin/archive/2012/10/17/389696.html#Feedback0http://www.aygfsteel.com/abin/comments/commentRss/389696.htmlhttp://www.aygfsteel.com/abin/services/trackbacks/389696.html

一.下蝲JDK
1.dSun的JDK官方下蝲|址:http://java.sun.com/javase/downloads/index.jsp
2.下蝲jdk-1_5_0_07-linux-i586-rpm.bin文g
 
?安装JDK
1.增加jdk-1_5_0_07-linux-i586-rpm.bin文g的可执行权限
#root> chmod 755 jdk-1_5_0_07-linux-i586-rpm.bin
2.执行jdk-1_5_0_07-linux-i586-rpm.bin
#root> ./ jdk-1_5_0_07-linux-i586-rpm.bin
3.安装PRM包文?br />#root> rpm -ivh jdk-1_5_0_07-linux-i586.rpm
 
?配置环境变量PATH,JAVA_HOME,CLASSPATH
配置环境变量有三U?
1.修改/etc/profile文g(pȝ有效)
(1)#root > vi /etc/profile
(2)使用VI~辑器在profile文g中添加以下语?
JAVA_HOME=/opt/jdk1.5
PATH=QJAVA_HOME/bin:QPATH
CLASSPATH=.QJAVA_HOME/lib/dt.jar:JAVA_HOME/lib/tools.jar export JAVA_HOME,PATH,CLASSPATH
(3)重新d
 
[注意]
<1>Linux下环境变量?分隔路径Q不同于Windows下的Q?br /><2>Linux使用(Q?环境变量?来引用原来变量的?Windows则是使用%+环境变量?%.比如QPATH?PATH%
<3>CLASSPATH中不能存在空|如Windows下的C:\Documents and Settings\seagar\jdk1.5是不合法的路径?br /><4>CLASSPATH中的当前目录"."不能忽略
<5>export把环境变量导Zؓ全局变量
<6>大小写严格区?br /> 
2.修改.bashrc文g(个h用户有效)
(1)#root > vi /home/seagar/.bashrc
(2)使用VI~辑器在.bashrc文g中添加以下语?
JAVA_HOME=/opt/jdk1.5
PATH=QJAVA_HOME/bin:QPATH
CLASSPATH=.QJAVA_HOME/lib/dt.jar:JAVA_HOME/lib/tools.jar
export JAVA_HOME,PATH,CLASSPAT
3.直接在shell修改(当前Shell有效)
export JAVA_HOME=/opt/jdk1.5
export PATH=QJAVA_HOME/bin:QPATH
export CLASSPATH=.QJAVA_HOME/lib/dt.jar:JAVA_HOME/lib/tools.jar
 
?试安装情况
1.java -version查看版本?br />2.使用VI~辑器编写一个JavaE序
(1)#root > vi Hello.java
(2)~写E序
public class Hello
{
     public static void main(String[] args)
     {
          System.out.println("Hello");
     }
}
3.~译:javac Hello.java
4.执行:java Hello


?卸蝲jdk

 

 

   卸蝲rpm版的jdkQ?/p>

   #rpm -qa|grep jdk

   昄Qjdk-1.6.0_10-fcs

   q就说明了你安装了jdkQ下面卸载了它,
   卸蝲Q?span style="color: #008000">#rpm -e  --nodeps  jdk-1.6.0_10-fcs 

 



abing 2012-10-17 00:10 发表评论
]]>
linux 安装文g命ohttp://www.aygfsteel.com/abin/archive/2012/10/17/389695.htmlabingabingTue, 16 Oct 2012 16:05:00 GMThttp://www.aygfsteel.com/abin/archive/2012/10/17/389695.htmlhttp://www.aygfsteel.com/abin/comments/389695.htmlhttp://www.aygfsteel.com/abin/archive/2012/10/17/389695.html#Feedback0http://www.aygfsteel.com/abin/comments/commentRss/389695.htmlhttp://www.aygfsteel.com/abin/services/trackbacks/389695.htmlrpm -ivh --prefix=路径 FILE.rpm
需要注意的是:“路径”必须?home/abin/javaq种?不能为~/java

fedora使用tar.gz包怎么安装到指定文件夹Q?br />tar -zxvf abin.tar.gz -C /home/abin/java

abing 2012-10-17 00:05 发表评论
]]>
Linuxpȝ信息查看命?/title><link>http://www.aygfsteel.com/abin/archive/2012/10/15/389624.html</link><dc:creator>abing</dc:creator><author>abing</author><pubDate>Mon, 15 Oct 2012 15:59:00 GMT</pubDate><guid>http://www.aygfsteel.com/abin/archive/2012/10/15/389624.html</guid><wfw:comment>http://www.aygfsteel.com/abin/comments/389624.html</wfw:comment><comments>http://www.aygfsteel.com/abin/archive/2012/10/15/389624.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.aygfsteel.com/abin/comments/commentRss/389624.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/abin/services/trackbacks/389624.html</trackback:ping><description><![CDATA[<span style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; ">pȝ</span><br style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; " /><span style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; ">  # uname -a #查看内核/操作pȝ/CPU信息</span><br style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; " /><span style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; ">  # head -n 1 /etc/issue #查看操作pȝ版本</span><br style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; " /><span style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; ">  # cat /proc/cpuinfo #查看CPU信息</span><br style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; " /><span style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; ">  # hostname #查看计算机名</span><br style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; " /><span style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; ">  # lspci -tv #列出所有PCI讑֤</span><br style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; " /><span style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; ">  # lsusb -tv #列出所有USB讑֤</span><br style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; " /><span style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; ">  # lsmod #列出加蝲</span><img src="http://www.codesky.net/docimg/201112/28/1139453864.gif" style="margin: 0px; padding: 0px; border: 0px; font-family: Simsun; line-height: 22px; background-color: #f9fcfe; " alt="" /><span style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; ">内核模块</span><br style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; " /><span style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; ">  # env #查看环境变量</span><br style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; " /><span style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; ">  资源</span><br style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; " /><span style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; ">  # free -m #查看内存使用量和交换Z用量</span><br style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; " /><span style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; ">  # df -h #查看各分Z用情?/span><br style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; " /><span style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; ">  # du -sh <目录?gt; #查看指定目录</span><img src="http://www.codesky.net/docimg/201112/28/1139453864.gif" style="margin: 0px; padding: 0px; border: 0px; font-family: Simsun; line-height: 22px; background-color: #f9fcfe; " alt="" /><span style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; ">大小</span><br style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; " /><span style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; ">  # grep MemTotal /proc/meminfo #查看内存总量</span><br style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; " /><span style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; ">  # grep MemFree /proc/meminfo #查看I闲内存?/span><br style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; " /><span style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; ">  # uptime #查看pȝq行旉、用h、负?/span><br style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; " /><span style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; ">  # cat /proc/loadavg #查看pȝ负蝲</span><br style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; " /><span style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; ">  盘和分?/span><br style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; " /><span style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; ">  # mount | column -t #查看挂接</span><img src="http://www.codesky.net/docimg/201112/28/1139453864.gif" style="margin: 0px; padding: 0px; border: 0px; font-family: Simsun; line-height: 22px; background-color: #f9fcfe; " alt="" /><span style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; ">分区状?/span><br style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; " /><span style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; ">  # fdisk -l #查看所有分?/span><br style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; " /><span style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; ">  # swapon -s #查看所有交换分?/span><br style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; " /><span style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; ">  # hdparm -i /dev/hda #查看盘参数(仅适用于IDE讑֤)</span><br style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; " /><span style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; ">  # dmesg | grep IDE #查看启动时IDE讑֤状?/span><br style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; " /><span style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; ">  |络</span><br style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; " /><span style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; ">  # </span><img src="http://www.codesky.net/docimg/201112/28/1139469140.gif" style="margin: 0px; padding: 0px; border: 0px; font-family: Simsun; line-height: 22px; background-color: #f9fcfe; " alt="" /><span style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; ">config #查看所有网l接?/span><img src="http://www.codesky.net/docimg/201112/28/1139453864.gif" style="margin: 0px; padding: 0px; border: 0px; font-family: Simsun; line-height: 22px; background-color: #f9fcfe; " alt="" /><span style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; ">属?/span><br style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; " /><span style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; ">  # iptables -L #查看防火墙设|?/span><br style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; " /><span style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; ">  # route -n #查看路由?/span><br style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; " /><span style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; ">  # netstat -lntp #查看所有监听端?/span><br style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; " /><span style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; ">  # netstat -antp #查看所有已l徏?/span><img src="http://www.codesky.net/docimg/201112/28/1139453864.gif" style="margin: 0px; padding: 0px; border: 0px; font-family: Simsun; line-height: 22px; background-color: #f9fcfe; " alt="" /><span style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; ">q接</span><br style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; " /><span style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; ">  # netstat -s #查看|络l计信息</span><br style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; " /><span style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; ">  q程</span><br style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; " /><span style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; ">  # ps -ef #查看所有进E?/span><br style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; " /><span style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; ">  # top #实时昄q程状?/span><br style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; " /><span style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; ">  用户</span><br style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; " /><span style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; ">  # w #查看zd用户</span><br style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; " /><span style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; ">  # id <用户?gt; #查看指定用户信息</span><br style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; " /><span style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; ">  # last #查看用户d日志</span><br style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; " /><span style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; ">  # cut -d: -f1 /etc/passwd #查看pȝ所有用?/span><br style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; " /><span style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; ">  # cut -d: -f1 /etc/group #查看pȝ所有组</span><br style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; " /><span style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; ">  # crontab -l #查看当前用户</span><img src="http://www.codesky.net/docimg/201112/28/1139453864.gif" style="margin: 0px; padding: 0px; border: 0px; font-family: Simsun; line-height: 22px; background-color: #f9fcfe; " alt="" /><span style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; ">计划d</span><br style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; " /><span style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; ">  服务</span><br style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; " /><span style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; ">  # chkconfig --list #列出所有系l服?/span><br style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; " /><span style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; ">  # chkconfig --list | grep on #列出所有启?/span><img src="http://www.codesky.net/docimg/201112/28/1139453864.gif" style="margin: 0px; padding: 0px; border: 0px; font-family: Simsun; line-height: 22px; background-color: #f9fcfe; " alt="" /><span style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; ">pȝ服务</span><br style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; " /><span style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; ">  </span><img src="http://www.codesky.net/docimg/201112/28/1139479971.gif" style="margin: 0px; padding: 0px; border: 0px; font-family: Simsun; line-height: 22px; background-color: #f9fcfe; " alt="" /><br style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; " /><span style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; ">  # rpm -qa #查看所有安?/span><img src="http://www.codesky.net/docimg/201112/28/1139453864.gif" style="margin: 0px; padding: 0px; border: 0px; font-family: Simsun; line-height: 22px; background-color: #f9fcfe; " alt="" /><span style="font-family: Simsun; line-height: 22px; background-color: #f9fcfe; ">软gSoftware?/span> <img src ="http://www.aygfsteel.com/abin/aggbug/389624.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/abin/" target="_blank">abing</a> 2012-10-15 23:59 <a href="http://www.aygfsteel.com/abin/archive/2012/10/15/389624.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>abin1 is not in the sudoers file. This incident will be reportedhttp://www.aygfsteel.com/abin/archive/2012/10/15/389618.htmlabingabingMon, 15 Oct 2012 14:50:00 GMThttp://www.aygfsteel.com/abin/archive/2012/10/15/389618.htmlhttp://www.aygfsteel.com/abin/comments/389618.htmlhttp://www.aygfsteel.com/abin/archive/2012/10/15/389618.html#Feedback0http://www.aygfsteel.com/abin/comments/commentRss/389618.htmlhttp://www.aygfsteel.com/abin/services/trackbacks/389618.html解决Ҏ如下Q?
1>、进入超U用h式。也是输入"su -",pȝ会让你输入超U用户密码,输入密码后就q入了超U用h式?
2>、添加文件的写权限。也是输入命o"chmod u+w /etc/sudoers"?
3>、编?etc/sudoers文g。也是输入命o"vim /etc/sudoers",输入"i"q入~辑模式Q找到这一行:"root ALL=(ALL) ALL"在v下面d"xxx ALL=(ALL) ALL"
(q里的xxx是你的用户名)Q然后保存(是先摁一下Esc键,然后输入":wq"Q退出?
4>、撤销文g的写权限。也是输入命o"chmod u-w /etc/sudoers"? xQ问题解冟?br />

abing 2012-10-15 22:50 发表评论
]]>
Linux下telnet服务配置和?/title><link>http://www.aygfsteel.com/abin/archive/2012/10/14/389546.html</link><dc:creator>abing</dc:creator><author>abing</author><pubDate>Sun, 14 Oct 2012 15:22:00 GMT</pubDate><guid>http://www.aygfsteel.com/abin/archive/2012/10/14/389546.html</guid><wfw:comment>http://www.aygfsteel.com/abin/comments/389546.html</wfw:comment><comments>http://www.aygfsteel.com/abin/archive/2012/10/14/389546.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.aygfsteel.com/abin/comments/commentRss/389546.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/abin/services/trackbacks/389546.html</trackback:ping><description><![CDATA[<p style="font-size: 13px; line-height: 19px; margin-top: 10px; margin-bottom: 10px; font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; background-color: #eeeedd; "><strong>Telnet服务的安?/strong></p><p style="font-size: 13px; line-height: 19px; margin-top: 10px; margin-bottom: 10px; font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; background-color: #eeeedd; "><strong>       Red Hat Enterprise Linux安装E序默认没有安装Telnet服务Q可使用下面命o查系l是否已l安装了Telnet服务或查看已l安装了何种版本?/strong></p><p style="font-size: 13px; line-height: 19px; margin-top: 10px; margin-bottom: 10px; font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; background-color: #eeeedd; "><strong>rpm -q telnet-server</strong></p><p style="font-size: 13px; line-height: 19px; margin-top: 10px; margin-bottom: 10px; font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; background-color: #eeeedd; "><strong>       如果pȝq没有安装Telnet服务。可Red Hat Enterprise Linux安装盘放入光驱,加蝲光驱后找到Telnet服务的RPM安装包文Ӟ然后安装Telnet服务?br />yum install telnet-server</strong></p><p style="font-size: 13px; line-height: 19px; margin-top: 10px; margin-bottom: 10px; font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; background-color: #eeeedd; "><strong>启动和停止Telnet服务</strong></p><p style="font-size: 13px; line-height: 19px; margin-top: 10px; margin-bottom: 10px; font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; background-color: #eeeedd; "><strong>       Telnet服务q不像其他服务(如HTTP和FTP{)一样作为独立的守护q程q行Q它使用xinetdE序理Q这样不但能提高安全性,而且q能使用xinetd对Telnet服务器进行配|管理?/strong></p><p style="font-size: 13px; line-height: 19px; margin-top: 10px; margin-bottom: 10px; font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; background-color: #eeeedd; "><strong>       Telnet服务安装后默认ƈ不会被xinetd启用Q还要修Ҏ?etc/xinetd.d/telnet其启用。其?etc/xinetd.d/telnet文g是xinetdE序配置文g的一部分Q可以通过它来配置Telnet服务器的q行参数。编辑文?etc/xinetd.d/telnetQ找到语?#8220;disable = yes”Q将其改?#8220;disable = no” 。然后用以下命令重新启动xinetd服务Q?/etc/init.d/xinetd restart</strong></p><p style="font-size: 13px; line-height: 19px; margin-top: 10px; margin-bottom: 10px; font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; background-color: #eeeedd; "><strong>    [root@RHCE~]#vi /etc/xinetd.d/telnet</strong></p><img src ="http://www.aygfsteel.com/abin/aggbug/389546.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/abin/" target="_blank">abing</a> 2012-10-14 23:22 <a href="http://www.aygfsteel.com/abin/archive/2012/10/14/389546.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Fedora防火墙设|?http://www.aygfsteel.com/abin/archive/2012/10/14/389544.htmlabingabingSun, 14 Oct 2012 14:55:00 GMThttp://www.aygfsteel.com/abin/archive/2012/10/14/389544.htmlhttp://www.aygfsteel.com/abin/comments/389544.htmlhttp://www.aygfsteel.com/abin/archive/2012/10/14/389544.html#Feedback0http://www.aygfsteel.com/abin/comments/commentRss/389544.htmlhttp://www.aygfsteel.com/abin/services/trackbacks/389544.html

启动防火?br />

1) 重启后生?
开启: chkconfig iptables on
关闭Q?chkconfig iptables off   或? /sbin/chkconfig --level 2345 iptables off

2) x生效Q重启后失效

service 方式
开启: service iptables start
关闭Q?service iptables stop

iptables方式

查看防火墙状态:
/etc/init.d/iptables status

暂时关闭防火墙:
/etc/init.d/iptables stop

重启iptables:
/etc/init.d/iptables restart


需要说明的是对于Linux下的其它服务都可以用以上命o执行开启和关闭操作?br />
在开启了防火墙时Q做如下讄Q开启相关端口?br />
修改/etc/sysconfig/iptables 文gQ添加以下内容:

-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 80 -j ACCEPT

-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 22 -j ACCEPT

查看所有进E,包括服务Q命令里ps -aux是netconfig在redhat里面是字W界面下的网卡配|工兗?br />
chkconfig --list

可以列出sysV和xinet服务在各个runlevel的默认启动状态?br />
service 服务? 参数

查看状态的参数好像是stat 吧?br />
自启动服?br />
ntsysv 

abing 2012-10-14 22:55 发表评论
]]>
Fedora 启动 SSH服务http://www.aygfsteel.com/abin/archive/2012/10/14/389540.htmlabingabingSun, 14 Oct 2012 12:06:00 GMThttp://www.aygfsteel.com/abin/archive/2012/10/14/389540.htmlhttp://www.aygfsteel.com/abin/comments/389540.htmlhttp://www.aygfsteel.com/abin/archive/2012/10/14/389540.html#Feedback0http://www.aygfsteel.com/abin/comments/commentRss/389540.htmlhttp://www.aygfsteel.com/abin/services/trackbacks/389540.html

一、Fedora 启动sshd服务Q?/span>

1?/span>先确认是否已安装ssh服务Q?/span>

  [root@localhost ~]# rpm -qa | grep openssh-server

 openssh-server-5.3p1-19.fc12.i686 Q这行表C已安装Q?/span>

  若未安装ssh服务Q可输入Q?/span>

  #yum install openssh-server 

  q行安装


2?/span>修改配置文g

   #vi /etc/ssh/sshd_config

   #Port 22  监听的端口号Q默认是22Q可以自定义?/span>

  #Protocol 2  支持的协议,默认好Q不用修?/span>

  #PermitRootLogin yes 是否允许root直接dQ最好设|ؓno

    #MMaxAuthTries 6 最大登录数Q默认是6Q徏议设|ؓ3Q防止别人密码穷举?/span>

   修改完配|后Q重启SSH服务Q?/span>

  [root@localhost ~]# /etc/rc.d/init.d/sshd restart

   Stopping sshd: [ OK ]

Starting sshd: [ OK ]:


3?/span>查看sshd状态:

   #service sshd status


4?/span>端?2Q或者自定义的其他端口)加到防火墙的讄中,标记为Accept

   #iptables -A INPUT -p tcp --dport 22 -j ACCEPT

Q这句很重要Q不然外部连接不了。)

   也可以将上述参数加入防火墙配|中Q?/span>

   #vi /etc/sysconfig/iptables

  加入Q?A INPUT -m state --state NEW -m tcp -p tcp --dport 22 -j ACCEPT

   保存后重启iptables卛_

详情可以查阅 iptables的用?/a>


二、Fedora15/16/17 启动sshd服务Q?/span>

׃Fedora 15/16使用systemd服务Q?/span>

1、启动SSH服务与上面有些不?/span>

# systemctl start sshd.service

或?#service sshd start

也可以用 restart ?nbsp;stop控制sshd服务


2、设|系l启动时开启服?/span>

# systemctl enable sshd.service


3、同样也需开启防火墙22端口

   #iptables -A INPUT -p tcp --dport 22 -j ACCEPT

   也可以将上述参数加入防火墙配|中Q?/span>

   #vi /etc/sysconfig/iptables

   加入Q?A INPUT -m state --state NEW -m tcp -p tcp --dport 22 -j ACCEPT

   保存后重启iptables卛_

详情可以查阅 iptables的用?/a>



转蝲h明FromQ?a target="_blank"> http://blog.163.com/jackswu@yeah


abing 2012-10-14 20:06 发表评论
]]>
tar包、压~与解压~?/title><link>http://www.aygfsteel.com/abin/archive/2012/10/14/389539.html</link><dc:creator>abing</dc:creator><author>abing</author><pubDate>Sun, 14 Oct 2012 10:23:00 GMT</pubDate><guid>http://www.aygfsteel.com/abin/archive/2012/10/14/389539.html</guid><wfw:comment>http://www.aygfsteel.com/abin/comments/389539.html</wfw:comment><comments>http://www.aygfsteel.com/abin/archive/2012/10/14/389539.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.aygfsteel.com/abin/comments/commentRss/389539.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/abin/services/trackbacks/389539.html</trackback:ping><description><![CDATA[<p>在Unix下常遇到一些解包、压包的问题。一般情况下若q文件或文gҎ成tar包,是ؓ了便于文件的传输和管理。例如,通过FTP从Unixq_下蝲目录l构较多的文件夹到Windowsq_或另外一Unixq_Q虽然文件夹不是太大Q但׃每个文g很小Q且非常多,每个文g都要q行文g头、尾查校验。下载速度会非常慢。如果打成tar包,传输׃快很多。存档的文gҎ成tar包也Ҏ理?br />值得注意的是Qtar文g只是文件或文gҎ包,q没有进行压~。如果文本文件较多,对其压羃会节省很大的盘I间Q传输将更快。压~和解压~方法可以参考下文给出的CZ?br />下面我以Sun Solaris 5.8Q其他unix如linux、aix大体相同Qؓ例,常见的一些问题向各位同仁作一下介l,供大家在工作中参考。因水^有限Q仅做抛砖引玉,Ƣ迎大家U极补充? <br /><br />1、如何解开.tgz?tar.gz文gQ?br />2、如何解开.z?Z文gQ?br />3、如何解开.tar.Z文gQ?br />4、如何安装、卸载、列出rpm包信息?Qlinux常用Q?br />5、如何用tar命o试、展开、生成tgz包?<br />6、如何解开和生成tar文gQ?br />7、如何象在PC上的ARJ那样的分解打包Y?<br />8、在Unix下如何压~文Ӟ<br />9、如何解开和生成其他包?jar文gQ?br />10、抛砖引玉,待同仁补?br /><br />============================================================<br />1、如何才能解开.tgz?tar.gz文gQ? <br />1Q方法一Q?br />gzip -d filename.tar.gz ?gzip -d filename.tgz<br />tar -xvf filename.tar<br />2Q方法二Q?br />解压q列表:<br />gzip -dc filename.tgz | tar xvf -           #?tgz文g<br />gzip -dc filename.tar.gz | tar xvf -        #.tar.gz ? .tgz文g<br />只列表不生成文gQ?br />gzip -dc filename.tgz | tar tvf -           #?tgz文g<br />gzip -dc filename.tar.gz | tar tvf -        #.tar.gz ? .tgz文g<br />gzip的其他用方法参见gzip -h</p> <p>============================================================<br />2、如何才能解开.z?Z文gQ? <br />1Q解.z 文g: gzcat filename.z<br />2Q解.Z 文gQuncompress -c filename.Z</p> <p>============================================================<br />3、如何解.tar.Z文gQ? <br />1Q解压ƈ列表Q?br />zcat filename.tar.Z | tar xvf -            #?tar.Z文g<br />uncompress -c tast.tar.Z | xvf -           #uncompress -c ? zcat<br />2Q只列表不生成文Ӟ<br />zcat filename.tar.Z | tar tvf -             #?tar.Z文g<br />uncompress -c filename.tar.Z | tvf -        #uncompress -c ? zcat</p> <p>============================================================<br />4、如何安装、卸载、列出rpm包信息?Qlinux常用Q? <br />1)安装rpm包时昄q度Q例如:?vh参数Q如rpm -ivh ipchains-1.3.6-1.i386.rpm<br />2)直接通过ftp来安装rpm包,例如Qrpm -i <br />3)校验所有的rpm包,查找丢失的文Ӟ例如Qrpm –Va<br />4)查找一个文件属于哪个rpm包,例如Qrpm -qf /usr/bin/who<br />5)列出一个rpm包的描述信息Q例如:rpm -qpi mon-0.37j-1.i386.rpm<br />6)列出一个rpm包的文g信息Q例如:rpm -qpl mon-0.37j-1.i386.rpm<br />7)列出q过滤已l安装的包,例如Qrpm –q |grep IBM<br />8)删除已安装的包,例如Qrpm –e 包名<br />9)其他rpm操作参见 # rpm --help</p> <p>============================================================<br />5、如何用tar命o试、展开、生成tgz包? <br />tar zvfx filename.tgz                       #在当前目录下展开q个?br />tar zvft filename.tgz                       #只测试不展开<br />tar zvfx filename.tgz -C /new-dir           #展开后放?new-dir目录?br />tar zvfc filename.tgz /filename             #?filename目录下所有的文g及子目录打包成filename.tgz</p> <p>============================================================<br />6、如何解开和生成tar文gQ? <br />tar xvf filename.tar                              #当先目录解包<br />tar tvf filename.tar                              #只显CZ生成文g<br />tar cvf filename.tar <file or dir list>          #生成?br />tar的参数很多,要仔l学习参?tar -h</p> <p>============================================================<br />7、如何象在PC上的ARJ那样的分解打包Y? <br /># split -b 100k big.file<br />   big.file分解成若q?00K的小文g (名ؓxa, xb, xc, ...)<br /># split -l 500 big.file<br />   big.file分解成每?00 lines的小文g<br />其它使用Ҏ参见split –h<br /><br />============================================================<br />8、在Unix下如何压~文Ӟ <br />在unix下压~方法有多种Q可以参见gzip、gunzip、zcat、compress{工h档,也可以参见上面所q的一些方法。下面仅以compress命oCZQ? <br />例如Q需要将/filename的文件打包ƈ压羃Q需要做以下步骤Q?br />1Q打?br />tar cvf filename.tar ./dir<br />2Q压~?br />compress filename.tar #生成filename.tar.Z文g<br />如果q原回原来的目录l构<br />1Q解压羃<br />uncompress filename.tar.Z<br />3Q解tar?br />tar xvf filename.tar <br />如果unix命o参数不熟悉,一般也可以通过ftp压~或打包文g传到PC上,利用Windows下的Winzip或rar{压~工兯开?br /><br />==========================================================<br />9、如何解开和生成其他包?jar文gQ? <br />在unix上生成和解开jar包和对tar包的操作差不多?br />例如Q?br />jar cvf filename.jar /dirname    #?dirname 打成jar?br />jar xvf filename.jar             #解开jar?br />jar tvf filename.jar             #只列表不解开jar?/p><img src ="http://www.aygfsteel.com/abin/aggbug/389539.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/abin/" target="_blank">abing</a> 2012-10-14 18:23 <a href="http://www.aygfsteel.com/abin/archive/2012/10/14/389539.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss> <footer> <div class="friendship-link"> <a href="http://www.aygfsteel.com/" title="狠狠久久亚洲欧美专区_中文字幕亚洲综合久久202_国产精品亚洲第五区在线_日本免费网站视频">狠狠久久亚洲欧美专区_中文字幕亚洲综合久久202_国产精品亚洲第五区在线_日本免费网站视频</a> </div> </footer> վ֩ģ壺 <a href="http://" target="_blank"></a>| <a href="http://" target="_blank">˳</a>| <a href="http://" target="_blank">ʡ</a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank">ؿ˹</a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank">̨</a>| <a href="http://" target="_blank">ʯ</a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank">ƽ</a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank">ʯ</a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank">ﶫ</a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank">ĺ</a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank">DZ</a>| <a href="http://" target="_blank">Ϻ</a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank">鴨</a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank">ܿ</a>| <a href="http://" target="_blank">ɽ</a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank">ɾ</a>| <a href="http://" target="_blank"></a>| <script> (function(){ var bp = document.createElement('script'); var curProtocol = window.location.protocol.split(':')[0]; if (curProtocol === 'https') { bp.src = 'https://zz.bdstatic.com/linksubmit/push.js'; } else { bp.src = 'http://push.zhanzhang.baidu.com/push.js'; } var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(bp, s); })(); </script> </body>