随笔分类 - Linux运维
有时想好好地醉一场,管他一年三百六十日,春尽红颜老;有时想好好地疯一场,管他冷雨敲窗被未温;有时想好好地活出自我,管他异样的眼神与嘲笑。
摘要:1 什么是IPMI IPMI是智能平台管理接口(Intelligent Platform Management Interface)原本是一种Intel架构的企业系统的周边设备所采用的一种工业标准。 简单的说就是将配置好IP的IPMI口接入交换机,你就可以通过电脑远程来管理服务器的一个接口 2 准备
阅读全文
摘要:DELL服务器硬RAID的制作 1. 进入RAID管理界面 服务器开机,看到Press Ctrl-C to start Dell 6Gbps SAS Ctlr Configuration Utility,因服务器型号不同按键略有差别,主要看到关键字SAS Ctlr Configuration Uti
阅读全文
摘要:步骤一:安装rpm-build软件 1)安装rpm-build软件包 [root@root ~]# yum -y install rpm-build 2)生成rpmbuild目录结构 [root@root ~]# rpmbuild -ba nginx.spec //会报错,没有文件或目录 [root
阅读全文
摘要:#!/bin/bashwhile :douptime |awk '{print "CPU",$6,$7,$8,$9,$10}'free -h |awk '/^Mem/{print "free Memory:"$4}'df -h |awk '/\/$/{print "free Disk:"$4}'aw
阅读全文
摘要:命令方式修改 [root@Core ~]# hostnamectl set-hostname node2 [root@Core ~]# exit 重新登录发现主机名修改成功了! 修改配置文件 [root@Core ~]# echo "node3" > /etc/hostname [root@Core
阅读全文
摘要:首先在VMware菜单中点击编辑-->虚拟网卡编辑器,查看NAT网段(子网掩码、网关、起止IP地址) 1.用nmcli命令配置IP地址 [root@Core ~]# nmcli connection show NAME UUID TYPE DEVICE ens33 3a90c11e-a36f-401
阅读全文
摘要:#!/bin/bash #获取用户名 [ pwd == '/root' ] && hn="root@$(hostname):~#" || hn="root@$(hostname):pwd#" d (){ echo -e "\033[1m$hn$dd\033[0m" } a (){ sleep 1 }
阅读全文
摘要:检查你的php-mysql包是否安装 [root@localhost nginx]# rpm -qa php-mysql 没有任何输出则没有安装,接下来用yum安装php-mysql yum -y install php-mysql 重启php-fpm再验证 systemctl restart ph
阅读全文
摘要:查看当前版本是:1.10.3 [root@proxy nginx-1.10.3]# /usr/local/nginx/sbin/nginx -Vnginx version: nginx/1.10.3built by gcc 4.8.5 20150623 (Red Hat 4.8.5-28) (GCC
阅读全文
摘要:编译时指定了用户而没有创建用户导致报错 解决: 查看你添加的用户是什么, [root@localhost nginx]# sbin/nginx -Vnginx version: nginx/1.10.3built by gcc 4.8.5 20150623 (Red Hat 4.8.5-28) (G
阅读全文

浙公网安备 33010602011771号