利用shell监控服务器使用资源(cpu,内存,硬盘,网络)
利用shell监控服务器使用资源(cpu,内存,硬盘,网络)
1. 安装依赖包
[root@rpi3 ~]# yum -y install gc gcc gcc++ gcc-c++ wget make libxml2 libxml2-devel openssl openssl-devel curl-devel libjpeg-devel libpng-devel freetype-devel bison autoconf openldap-devel pcre-devel zlib-devel
先是 fdisk /dev/mmcblk0
我的 3号分区是根目录
然后你删除 3号分区 然后再创建一个3号分区
然后重启。
1、firewalld的基本使用
启动: systemctl start firewalld
查看状态: systemctl status firewalld
停止: systemctl disable firewalld
禁用: systemctl stop firewalld
为了能安装高版本的php
#rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
#rpm -Uvh https://mirror.webtatic.com/yum/el7/webtatic-release.rpm