- 博客(18)
- 收藏
- 关注
原创 Zabbix3.4企业微信告警
第一步:grep -n ''[a-Z] /etc/zabbix/zabbix_server.conf第二步:AlertScriptsPath=/usr/lib/zabbix/alertscripts第三步:vi zabbix_qyweixin.sh第四步:./zabbix_qyweixin.sh HuBo test test第五步:chmod +x
2017-10-29 16:51:13 1094
原创 centos7.4安装zabbix3.4.1
:先检查网卡ifconfig2:网卡的配置文件vi /etc/sysconfig/network-scripts/ifcfg-ens323:重启网卡/etc/init.d/network restart4:检查网络通没通ping baidu.com5:连接Xshell6:查主机名字hostname7:修改主机名字vi /etc/sysconfig/networkNETWORKING=yesHOST
2017-10-29 14:24:37 1357
原创 linux命令用途
命令总结:100个1:mkdir 创建目录的命令 make directorys2: ls -1(long)d(directory)显示目录或者文件 全称list3:cd 切换目录层次 change directory cd . 当前目录 cd .. 去上一级目录4:pwd 查看当前目录5: touch
2017-09-20 09:52:03 3208
原创 数据库的基本命令实战
1:数据库的基本命令实战1)启动和关闭数据库命令/etc/init.d/mysqld start/etc/init.d/mysqld stop2)查看数据库端口ss -lnt|grep 33063)查看数据库进程ps -ef|grep mysql|grep -v grep4)数据库启动原理/etc/init.d/mysqld 是一个she
2017-12-06 13:26:29 324
原创 CentOS 6.8 数据库安装5.5.32
1:安装数据库1)检查版本,内核[root@mysql1 ~]# cat /etc/redhat-release CentOS release 6.8 (Final)[root@mysql1 ~]# unaunalias uname [root@mysql1 ~]# uname -r2.6.32-642.el6.x86_64[root@mysql1 ~]#
2017-12-03 12:20:44 334
原创 Centos7.1搭建openstack私有云
1、需要安装yum源yum install -y http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-5.noarch.rpmyum install -y centos-release-openstack-libertyyum install -y python-openstackclientyum install
2017-11-27 10:40:08 1057
原创 CentOS 7.4 数据库的安装
1:数据库的安装[root@huboxuexi ~]# groupadd mysql[root@huboxuexi ~]# useradd mysql -g mysql -M -s /sbin/nologin[root@huboxuexi ~]# id mysqluid=1000(mysql) gid=1000(mysql) ื้=1000(mysql)[root@apache
2017-11-19 19:26:38 512
原创 centos6.8 yum安装mysql 5.6
一、检查系统是否安装其他版本的MYSQL数据yum list installed | grep mysqlyum -y remove mysql-libs.x86_64二、安装及配置wget http://repo.mysql.com/mysql-community-release-el6-5.noarch.rpmrpm -ivh mysql-community-release-el6
2017-11-18 15:31:45 248
原创 Apache
1:Apache特点:功能强大,配置简单,速度快,应用广泛,性能稳定可靠,并可做代理服务器或负载均衡来使用。2:Apache的应用场景1)使用Apache运行静态HTML网页,图片(处理静态小文件能力不及Nginx)。2)使用Apache结合PHP引擎运行PHP,Perl,Python,等程序,LAMP被称之为经典组合。3)使用Apache结合Tomcat/Resin运
2017-11-17 21:32:20 320
原创 CentOS7.2下安装Apache2.2.34
1:源码下载wget http://mirror.bit.edu.cn/apache/httpd/httpd-2.2.34.tar.gz[root@devops-zabbix hubo]# pwd/home/hubo[root@devops-zabbix hubo]# ls httpd-2.2.34.tar.gz httpd-2.2.34.tar.gz[root@devop
2017-11-17 11:19:30 2054
原创 centos7.2安装堡垒机Jumpserver V3
1;关闭防火墙[root@localhost ~]# systemctl stop firewalld.service[root@localhost ~]# systemctl disable firewalld.serviceRemoved symlink /etc/systemd/system/dbus-org.fedoraproject.FirewallD1.service.
2017-11-09 11:07:33 542
原创 Centos配置yum源
centos6.xcd /etc/yum.repos.d/\cp CentOS-Base.repo CentOS-Base.repo.$(date +%F)wget http://mirrors.163.com/.help/CentOS6-Base-163.repoeple源yum -y install epel-releasecentos7.xmv /etc/yum.repos.
2017-11-02 22:58:23 301
原创 zabbix3.0中文显示乱码的问题
root@zabbix-server include]# pwd/usr/share/zabbix/include[root@zabbix-server include]# vi defines.inc.php#修改第93行define('ZBX_FONT_NAME','msyh');#修改第45行改为define('ZBX_GRAPH_FONT_NAME','msyh')
2017-10-29 15:20:36 566
原创 linux下如何关闭防火墙
Centos6.x/etc/init.d/iptables stopchkconfig iptables offsed -i 's/SELINUX=enforcing/SELINUX=disabled/' /etc/selinux/configgrep SELINUX=disabled /etc/selinux/configsetenforce 0Centos7.xsystem
2017-10-29 12:12:51 2587
原创 centos6.8安装zabbix3.2
1、防火墙及SELINUX关闭http://blog.csdn.net/xiegh2014/article/details/530317812、yum源配置http://blog.csdn.net/xiegh2014/article/details/53031894rpm -ivh http://repo.webtatic.com/yum/el6/latest.rpm3、安装PHP所
2017-10-23 21:58:32 379
原创 linux配置网络
先用查看网卡 ifconfig 配网络setup重启网卡/etc/init.d/network restart网卡的配置文件vi /etc/sysconfig/network-scripts/ifcfg-eth0干掉(dd删除一行) :wq保存 :q!不保存hWADDRUNID把ONBOOT改成yes
2017-09-15 16:26:31 354 1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人