/images/avatar.png

Mulinux运维

pureftp部署和优化

安装 1 2 3 4 5 6 7 8 9 10 11 12 13 cd /usr/local/src/ wget http://download.pureftpd.org/pub/pure-ftpd/releases/pure-ftpd-1.0.42.tar.bz2 tar jxf pure-ftpd-1.0.42.tar.bz2 cd pure-ftpd-1.0.42 ./configure \ --prefix=/usr/local/pureftpd \ --without-inetd \ --with-altlog \ --with-puredb \ --with-throttling \ --with-peruserlimits \ --with-tls make && make install 配置 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25

Zabbix2.4.7 yum部署

服务端 先添加一个zabbix的官方yum源 1 2 3 4 [root@localhost ~]# rpm -ivh http://repo.zabbix.com/zabbix/2.4/rhel/6/x86_64/zabbix-release-2.4-1.el6.noarch.rpm [root@localhost ~]# setenforce 0 [root@localhost ~]# sed -i "s#SELINUX=enforcing#SELINUX=disabled#g" /etc/selinux/config 安装组件包(会把LAMP环境和ZABBIX组件一起装好) 1 2

Centos6搭建本地YUM源

使用光盘或者iso(一般用于没有通外网时) 挂载光盘 1 2 mount -t iso9660 -o loop /dev/cdrom /media/cdrom #光盘插入光驱后操作 mount -o loop /CentOS_6.4_Final.iso /media/cdrom #挂载本地iso到cdrom 删除/etc/