随笔分类 -  Linux

摘要:Port 2223Protocol 2HostKey /etc/ssh/ssh_host_rsa_keyHostKey /etc/ssh/ssh_host_dsa_keyKeyRegenerationInterval 3600ServerKeyBits 768SyslogFacility AUTHL 阅读全文
posted @ 2017-11-07 17:08 Ray雷 阅读(169) 评论(0) 推荐(0)
摘要:Anchors ^ Start of string, or start of line in multi-line pattern \A Start of string $ End of string, or end of line in multi-line pattern \Z End of s 阅读全文
posted @ 2017-08-20 14:45 Ray雷 阅读(468) 评论(0) 推荐(0)
摘要:#!/usr/bin/expect set ipaddress [lindex $argv 0] set passwd [lindex $argv 1] set timeout 3 spawn ssh root@${ipaddress} expect { "yes/no" { send "yes\r 阅读全文
posted @ 2017-08-01 17:00 Ray雷 阅读(254) 评论(0) 推荐(0)
摘要:我们以E3、E5、E7系列进行一个详细解析。首先,Intel E3、E5、E7代表了3个不同档次的至强CPU,至强“E系列”的这种命名方式有些类似桌面上的Core i3,i5,i7;比较通俗易懂的解释就是可以对应我们的豪华汽车生产商宝马3系,5系和7系。分别对应好,更好和最好。 其次,E3-1230 阅读全文
posted @ 2017-08-01 12:01 Ray雷 阅读(2995) 评论(0) 推荐(0)
摘要:https://code.google.com/p/httperf/ ※测量Web服务器的性能 ./configure make &&make install http://www.xenoclast.org/autobench/downloads/autobench-2.1.2.tar.gz ※是 阅读全文
posted @ 2017-08-01 12:00 Ray雷 阅读(264) 评论(0) 推荐(0)
摘要:一 安装篇 1. 安装nginx yum check-update #更新yum源 yum remove httpd* php* #删除系统自带的软件包 yum install nginx #安装nginx 根据提示输入y进行安装 chkconfig nginx on #设置nginx开机启动 se 阅读全文
posted @ 2017-08-01 11:59 Ray雷 阅读(161) 评论(0) 推荐(0)
摘要:一,安装与配置ipvsadm ipvsadm --help #查询是否安装成功 二,配置Director Server服务器 1. ifconifg eth0:0 183.61.87.47 broadcast 192.168.1.200 netmask 255.255.255.255 up #在et 阅读全文
posted @ 2017-08-01 11:57 Ray雷 阅读(313) 评论(0) 推荐(0)
摘要:repository,资源库,源的意思。RHEL EPEL(Extra Packages for Enterprise Linux) Repo是Linux发行版中最大的软件仓库之一,免费,丰富的软件包更新。 安装步骤Centos 5.x wget http://dl.fedoraproject.or 阅读全文
posted @ 2017-08-01 11:57 Ray雷 阅读(340) 评论(0) 推荐(0)
摘要:现在的硬盘很多都大于2T,但是linux自带的fdisk 工具无法格式化大于2T的磁盘,需要使用第三方工具parted,我们来看如何使用parted格式硬盘 1,可以先使用fdisk -l查看系统当前的硬盘,可以看到该系统中挂载了2个6T的硬盘,分别是/dev/vdc /dev/vdd 2,开始格式 阅读全文
posted @ 2017-07-08 12:03 Ray雷 阅读(9804) 评论(0) 推荐(0)
摘要:一,搭建邮件服务器前准备如下: Centos 7.2 64位Postfix-2.8.12.tar.gz Postfix MTA(邮件传输代理)Dovecot-2.1.8.tar.gz IMAP 和 POP3 邮件服务器Postfixadmin-2.3.5.tar.gz 采用PHP编写的开源WEB邮箱 阅读全文
posted @ 2017-04-17 21:34 Ray雷 阅读(831) 评论(0) 推荐(0)