摘要: centOS7安装zabbix3.0 一、前提: 现在zabbix出现了3.0版本,服务器端只支持centOS7,客户端和代理可以支持centOS6,实验环境是服务端安装centOS7,客户用centOS6.5 如没有特别说明文档中#号为解释号,在linux命令符界面#号就是解释号。 1.服务器环境 [root@localhost ~]# cat /etc/redhat-release Cent... 阅读全文
posted @ 2016-12-07 22:43 quicksand.F 阅读(1783) 评论(0) 推荐(0) 编辑
摘要: 转:http://justcoding.iteye.com/blog/1963463 在做shell批处理程序时候,经常会涉及到字符串相关操作。有很多命令语句,如:awk,sed都可以做字符串各种操作。 其实shell内置一系列操作符号,可以达到类似效果,大家知道,使用内部操作符会省略启动外部程序等 阅读全文
posted @ 2016-12-07 22:35 quicksand.F 阅读(386) 评论(0) 推荐(0) 编辑
摘要: Oracle JAVA 8 Stable release has been released on Mar,18 2014 and available to download and install. Oracle Java PPA for Debian systems is being maintained by Webupd8 Team. JAVA 8 is released with man... 阅读全文
posted @ 2016-12-07 20:19 quicksand.F 阅读(477) 评论(0) 推荐(0) 编辑
摘要: 内容简介防火墙的概述iptables简介iptables基础iptables语法iptables实例案例详解(一)防火墙的简介防火墙是指设置在不同网络或网络安全域之间的一系列部件的组合,它能增强机构内部网络的安全性。它通过访问控制机制,确定哪些内部服务允许外部访问,以及允许哪些外部请求可以访问内部服务。它可以根据网络传输的类型决定IP包是否可以传进或传出内部网。防火墙通过审查经过的每一个数据包,判... 阅读全文
posted @ 2016-12-06 23:14 quicksand.F 阅读(181) 评论(0) 推荐(0) 编辑
摘要: 1.创建基于文件夹的存储池(目录) 2.定义存储池与其目录 1 # virsh pool-define-as vmdisk --type dir --target /data/vmfs 3.创建已定义的存储池 (1)创建已定义的存储池 1 # virsh pool-build vmdisk (2)查看已定义的存储池,存储池不激活无法使用。 1 #virsh pool-list --all ... 阅读全文
posted @ 2016-12-05 11:47 quicksand.F 阅读(384) 评论(0) 推荐(0) 编辑
摘要: 由于工作中经常接触到zabbix,所以将agent配置整理一下,方便日常查看。 # This is a config file for the Zabbix agent daemon (Unix) # To get more information about Zabbix, visit http://www.zabbix.com ############ GENERAL PARAMETERS... 阅读全文
posted @ 2016-12-05 10:19 quicksand.F 阅读(291) 评论(0) 推荐(0) 编辑
摘要: yum安装vsfpd: [root@localhost ~]# yum -y install vsftpd db4-utilsLoaded plugins: fastestmirror, refresh-packagekit, security Loading mirror speeds from cached hostfile * base: mirrors.163.com * extras... 阅读全文
posted @ 2016-12-04 23:31 quicksand.F 阅读(1698) 评论(0) 推荐(0) 编辑
摘要: 在浏览器中输入:http://10.50.32.48/zabbix/setup.php 如下图: 点击Next step: 如上图,右侧全为ok,则点击Next step;若右侧有fail的情况,需要检查安装信息,可以百度协助解决,也可以查看zabbix日志:/tmp/zabbix_server.log 如上图,zabbix数据库的连接,需要填写数据库的各个参数,确认无误后点击Next... 阅读全文
posted @ 2016-12-04 19:58 quicksand.F 阅读(983) 评论(0) 推荐(0) 编辑
摘要: 服务器端安装配置:1)、安装: yum -y install gcc gcc-c++ autoconf httpd php mysql mysql-server php-mysql httpd-manual mod_ssl mod_perl mod_auth_mysql php-gd php-xml php-mbstring php-ldap php-pear php-xmlrpc php-bcm... 阅读全文
posted @ 2016-12-04 19:33 quicksand.F 阅读(242) 评论(0) 推荐(0) 编辑
摘要: t1lib_doc.dvi Error解决: 阅读全文
posted @ 2016-12-03 00:03 quicksand.F 阅读(917) 评论(0) 推荐(0) 编辑
摘要: 关闭selinux 安装mysql 安装nginx 测试: 阅读全文
posted @ 2016-12-02 14:42 quicksand.F 阅读(1075) 评论(0) 推荐(0) 编辑
摘要: 安装EPEL源 官方源直接安装 rpm -Uvh http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-5.noarch.rpm 1 rpm -Uvh http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-5.noarch.rpm 国内的往往速度会更快... 阅读全文
posted @ 2016-12-01 17:40 quicksand.F 阅读(313) 评论(0) 推荐(0) 编辑
摘要: Upgrading the S4048-ON Dell Networking OS Image using the Dell Networking OS CLI Bare Metal Provisioning NOTE: If you are using Bare Metal Provisioning (BMP), see the Bare Metal Provisioning topic i... 阅读全文
posted @ 2016-11-22 16:57 quicksand.F 阅读(374) 评论(0) 推荐(0) 编辑
摘要: 1. Obviously the 'ole check the log file for anything nasty cat /var/log/mysqld.log 2. Stop the service service mysqld stop 3. Check to see if the service stopped, it might be calling the wrong pid. p... 阅读全文
posted @ 2016-11-22 12:06 quicksand.F 阅读(1018) 评论(0) 推荐(0) 编辑
摘要: [root@localhost ~]# telnet mail.izyno.com 110 Trying 192.168.199.133... Connected to mail.izyno.com. Escape character is '^]'. +OK Dovecot ready. USER test +OK PASS test Connection closed by foreign h... 阅读全文
posted @ 2016-11-19 15:02 quicksand.F 阅读(1323) 评论(0) 推荐(0) 编辑
摘要: [root@localhost pid]# /usr/sbin/postfix start postfix/postfix-script: warning: not owned by postfix: /var/lib/postfix/. postfix/postfix-script: warning: not owned by postfix: /var/lib/postfix/./maste... 阅读全文
posted @ 2016-11-19 13:42 quicksand.F 阅读(4853) 评论(0) 推荐(0) 编辑
摘要: 一、NTP简介 在计算机的世界里,时间非常地重要,例如对于火箭发射这种科研活动,对时间的统一性和准确性要求就非常地高,是按照A这台计算机的时间,还是按照B这台计算机的时间?NTP就是用来解决这个问题的,NTP(Network Time Protocol,网络时间协议)是用来使网络中的各个计算机时间同步的一种协议。它的用途是把计算机的时钟同步到世界协调时UTC,其精度在局域网内可达0.1ms,在互联... 阅读全文
posted @ 2016-11-16 12:07 quicksand.F 阅读(909) 评论(0) 推荐(0) 编辑
摘要: Cobbler介绍 Cobbler 是一个系统启动服务(boot server),可以通过网络启动(PXE)的方式用来快速安装、重装物理服务器和虚拟机,支持安装不同的 Linux 发行版和 Windows。该工具使用python开发,小巧轻便(才15k行代码),使用简单的命令即可完成PXE网络安装环境的配置,同时还可以管理 DHCP,DNS,以及yum包镜像。 Cobbler 使用命令行方式管理,... 阅读全文
posted @ 2016-11-15 12:14 quicksand.F 阅读(4712) 评论(1) 推荐(1) 编辑
摘要: cobbler配置 cobbler配置 借鉴了网上好多文章,但是因为是去年做的cobbler,忘记是哪些地址,故暂未附上,见谅。 [root@kingserver111 ~]# lsb_release -a LSB Version: :core-4.0-amd64:core-4.0-noarch:g 阅读全文
posted @ 2016-11-15 12:04 quicksand.F 阅读(647) 评论(0) 推荐(0) 编辑
摘要: 140669086946976:error:0E079065:configuration file routines:DEF_LOAD_BIO:missing equal sign:conf_def.c:362:line 358 重启sshd server出现以上报错解决方法如下:注释或者删除最后这几行,重启sshd,OK vim /etc/pki/tls/openssl.cnf [req]... 阅读全文
posted @ 2016-11-09 14:26 quicksand.F 阅读(1587) 评论(0) 推荐(0) 编辑
摘要: #!/bin/bash IFO() { read -p "Configure $line Network card ( 'yes'or'no' )?" CDN /dev/null until [ $? -eq 0 ];do echo -e "\033[33mIP address error! Please run again...\033[0m" exit 4 done }... 阅读全文
posted @ 2016-10-27 22:12 quicksand.F 阅读(272) 评论(0) 推荐(0) 编辑
摘要: httpd 2.4.4 + mysql-5.5.28 + php-5.4.13编译安装过程: 一、编译安装apache 1、解决依赖关系 httpd-2.4.4需要较新版本的apr和apr-util,因此需要事先对其进行升级。升级方式有两种,一种是通过源代码编译安装,一种是直接升级rpm包。这里选择使用编译源代码的方式进行,它们的下载路径为ftp://172.16.0.1/pub/Sourc... 阅读全文
posted @ 2016-10-27 13:46 quicksand.F 阅读(184) 评论(0) 推荐(0) 编辑
摘要: echo -e "\033[34mstop server:\033[0m" service iptables stop service NetworkManager stop chkconfig --del iptables chkconfig --del NetworkManager setenforce 0 cat /etc/redhat-release | cut -d' ' -f3 | c... 阅读全文
posted @ 2016-10-25 09:42 quicksand.F 阅读(211) 评论(0) 推荐(0) 编辑
摘要: #!/bin/bash wget -P /expect_zabbix/ http://10.107.2.44/zabbix_agent/check.sh . /expect_zabbix/check.sh groupadd zabbix /usr/sbin/useradd -g zabbix -s /sbin/nologin zabbix pkill ntp && ntpdate 10.107.2... 阅读全文
posted @ 2016-10-25 09:38 quicksand.F 阅读(235) 评论(0) 推荐(0) 编辑
摘要: 3.添加开机启动 4.参数场景配置 阅读全文
posted @ 2016-10-16 21:46 quicksand.F 阅读(252) 评论(0) 推荐(0) 编辑
摘要: DNS主从服务,子域授权,view视图,日志系统,压力测试 DNS性能测试工具queryperfDNS查询过程: DNS主从建立: 环境: 主服务器:10.140.165.93 从服务器:10.140.165.169 关闭防火墙,关闭selinux. 主服务器建立: 阅读全文
posted @ 2016-10-16 20:48 quicksand.F 阅读(1065) 评论(0) 推荐(0) 编辑
摘要: 更新yum源,备份/etc/apt/sources.list root@mgw-virtual-machine:~# nano /etc/apt/sources.list #添加源 # deb cdrom:[Ubuntu 16.04 LTS _Xenial Xerus_ - Release amd6 阅读全文
posted @ 2016-10-13 13:53 quicksand.F 阅读(913) 评论(0) 推荐(0) 编辑
摘要: 环境: 环境: httpd服务器:10.140.165.169 CA服务器:10.140.165.93 CA服务器配置: 1.安装openssl [root@cnhzdhcp16593 ~]# yum -y install openssl 2.生成CA自己的私钥. [root@cnhzdhcp165 阅读全文
posted @ 2016-10-11 16:02 quicksand.F 阅读(1149) 评论(0) 推荐(0) 编辑
摘要: 使用VMware vSphere Client登录ESXI服务器.如下 在Configuration配置网络 >Networking 阅读全文
posted @ 2016-10-11 12:49 quicksand.F 阅读(6383) 评论(0) 推荐(0) 编辑
摘要: 注:关闭防火墙,selinux VirtualHost定义: 基于IP地址VirtualHost: 编辑httpd.conf文件: #DocumentRoot "/web/html" #注释主服务配置 下面来建立虚拟主机,如果不在httpd.conf文件内编辑虚拟主机,也可以新建一个虚拟主机文件来工 阅读全文
posted @ 2016-10-10 13:03 quicksand.F 阅读(895) 评论(0) 推荐(0) 编辑
摘要: 系统centos6.5x86_64 1.DHCP服务配置. yum安装dncp [root@cnhzdhcp16593 ~]# yum -y install dhcp 配置dhcp服务,新建dhcpd.conf在/etc/dhcp下: ddns-update-style interim;ignore client-updates; subnet 192.168.1.0 netmask ... 阅读全文
posted @ 2016-10-08 14:07 quicksand.F 阅读(406) 评论(1) 推荐(1) 编辑