08 2015 档案

摘要:1、安装vsftp,本文采用yum安装:#yum install vsftpd2、安装后运行:# service vsftpd restartShutting downvsftpd: [ OK ]Starting vsftpd forvsftpd: [ OK ]3、新增加系统用户ftptest:#u... 阅读全文
posted @ 2015-08-31 16:41 绿色的麦田 阅读(2742) 评论(0) 推荐(0) 编辑
摘要:查找字段名为user_name的所有表 select d.name as table_name, a.name as column_name from syscolumns a inner join sysobjects d on a.id = d.id and d.xtype = 'U' where a.name = 'user_name'; 阅读全文
posted @ 2015-08-28 17:54 绿色的麦田 阅读(291) 评论(0) 推荐(0) 编辑
摘要:1、检查sendmail是否已安装: rpm -qa | grep sendmail 2、yum -y install sendmail 安装 yum -y remove sendmail 卸载 3、启动sendmail服务系统: /etc/rc.d/init.d/sendmail start -bd -q12h 后跟的参数解释如下: -b:设定Sendmai... 阅读全文
posted @ 2015-08-25 19:26 绿色的麦田 阅读(940) 评论(0) 推荐(0) 编辑
摘要:查看imap是否已安装rpm -qa | grep imap以下为未安装的情形:检查是否已安装sendmail:rpm -qa | grep sendmail以下为已安装的返回: 阅读全文
posted @ 2015-08-25 13:51 绿色的麦田 阅读(763) 评论(0) 推荐(0) 编辑
摘要:首先,使用netstat –tunlp查看是否23端口被防火墙封掉了:再使用iptables修改设置,# iptables -I INPUT -p tcp --dport 23 –jACCEPT # iptables -I INPUT -p udp --dport 23 –jACCEPT # ... 阅读全文
posted @ 2015-08-24 17:44 绿色的麦田 阅读(592) 评论(0) 推荐(0) 编辑
摘要:查看系统版本:lsb_release -a [root@localhost /]# lsb_release -a LSB Version: :core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch Distribu... 阅读全文
posted @ 2015-08-24 15:08 绿色的麦田 阅读(423) 评论(0) 推荐(0) 编辑
摘要:df –hl在windows下可以很方便的查看磁盘空间的。但是到了Linux查看磁盘空间,你可能就有点摸不着头脑了,呵呵。不要急,我这就要给你解决这个问题。Df命令是Linux查看磁盘空间系统以磁盘分区为单位查看文件系统,可以加上参数查看磁盘剩余空间信息,命令格式:df -hlLinux查看磁盘空间... 阅读全文
posted @ 2015-08-24 14:41 绿色的麦田 阅读(254) 评论(0) 推荐(0) 编辑