- iftop可以用来监控网卡的实时流量(可以指定网段)、反向解析IP、显示端口信息等,详细的将会在后面的使用参数中说明。 Linux安装iftop> yum install iftop -y> iftop界面如下 界面参数说明=>代表发送数据<=代表接收数据TX:发送流量RX:接收流量TOTAL:总流量Cumm:运行iftop到目前时间的总流量peak:流量峰值rates:分别表示过去 2s ... iftop可以用来监控网卡的实时流量(可以指定网段)、反向解析IP、显示端口信息等,详细的将会在后面的使用参数中说明。 Linux安装iftop> yum install iftop -y> iftop界面如下 界面参数说明=>代表发送数据<=代表接收数据TX:发送流量RX:接收流量TOTAL:总流量Cumm:运行iftop到目前时间的总流量peak:流量峰值rates:分别表示过去 2s ...
- 在/etc/bashrc配置history的变量> vim /etc/bashrcexport HISTTIMEFORMAT="%Y-%m-%d:"> source /etc/bashrc> history1006 2021-05-19:vim /etc/bashrc 1007 2021-05-19:history 1008 2021-05-19:source /etc/bashrc... 在/etc/bashrc配置history的变量> vim /etc/bashrcexport HISTTIMEFORMAT="%Y-%m-%d:"> source /etc/bashrc> history1006 2021-05-19:vim /etc/bashrc 1007 2021-05-19:history 1008 2021-05-19:source /etc/bashrc...
- 所有 Linux 发行版都带有 PHP。但是,建议下载最新的PHP源代码,在Linux上编译安装。这将使在新补丁或新版本可供从 PHP 下载后立即持续升级 PHP 变得更加容易。本文介绍了如何在 Linux 上从源代码安装 PHP5。1. 先决条件Apache Web 服务器应该已经安装。2.下载PHP从PHP 官网页面下载最新的源代码。当前的稳定版本是 5.2.6。将源移动到 /usr/l... 所有 Linux 发行版都带有 PHP。但是,建议下载最新的PHP源代码,在Linux上编译安装。这将使在新补丁或新版本可供从 PHP 下载后立即持续升级 PHP 变得更加容易。本文介绍了如何在 Linux 上从源代码安装 PHP5。1. 先决条件Apache Web 服务器应该已经安装。2.下载PHP从PHP 官网页面下载最新的源代码。当前的稳定版本是 5.2.6。将源移动到 /usr/l...
- 大多数 Linux 发行版都带有 MySQL。如果你想使用 MySQL,我的建议是你下载最新版本的 MySQL 并自行安装。稍后您可以在它可用时将其升级到最新版本。在本文中,我将解释如何在 Linux 平台上安装最新的免费社区版 MySQL。1.下载MySQL最新的稳定版本从mysql.com下载 mySQL 。请下载适合您的 Linux 平台的 MySQL 社区版。我下载了“Red Hat... 大多数 Linux 发行版都带有 MySQL。如果你想使用 MySQL,我的建议是你下载最新版本的 MySQL 并自行安装。稍后您可以在它可用时将其升级到最新版本。在本文中,我将解释如何在 Linux 平台上安装最新的免费社区版 MySQL。1.下载MySQL最新的稳定版本从mysql.com下载 mySQL 。请下载适合您的 Linux 平台的 MySQL 社区版。我下载了“Red Hat...
- 所有 Linux 发行版都带有 Apache。不过建议下载最新的Apache源码,在Linux上编译安装。这将使在新补丁或版本可供从 Apache 下载后立即持续升级 Apache 变得更加容易。本文解释了如何在 Linux 上从源代码安装 Apache2。1. 下载阿帕奇从Apache http://httpd.apache.org 官网下载最新版本。Apache 的当前稳定版本是 2.2... 所有 Linux 发行版都带有 Apache。不过建议下载最新的Apache源码,在Linux上编译安装。这将使在新补丁或版本可供从 Apache 下载后立即持续升级 Apache 变得更加容易。本文解释了如何在 Linux 上从源代码安装 Apache2。1. 下载阿帕奇从Apache http://httpd.apache.org 官网下载最新版本。Apache 的当前稳定版本是 2.2...
- ECS信息规格:2vCPUs | 4GiB | kc1.large.2镜像:openEuler 20.03 64bit with ARM | 公共镜像 linux netstat 查看端口和已建立的链接 ip a 查看网卡信息地址已部分隐藏# ip a1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN g... ECS信息规格:2vCPUs | 4GiB | kc1.large.2镜像:openEuler 20.03 64bit with ARM | 公共镜像 linux netstat 查看端口和已建立的链接 ip a 查看网卡信息地址已部分隐藏# ip a1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN g...
- ECS信息规格:2vCPUs | 4GiB | kc1.large.2镜像:openEuler 20.03 64bit with ARM | 公共镜像 linux SELINUX 查看配置文件 /etc/sysconfig/selinux是符号链接# stat /etc/sysconfig/selinux File: /etc/sysconfig/selinux -> ../seli... ECS信息规格:2vCPUs | 4GiB | kc1.large.2镜像:openEuler 20.03 64bit with ARM | 公共镜像 linux SELINUX 查看配置文件 /etc/sysconfig/selinux是符号链接# stat /etc/sysconfig/selinux File: /etc/sysconfig/selinux -> ../seli...
- ECS信息规格:2vCPUs | 4GiB | kc1.large.2镜像:openEuler 20.03 64bit with ARM | 公共镜像 linux alias和bashrc 查看命令的别名 alias 查看已经设置的命令别名# aliasalias cp='cp -i'alias egrep='egrep --color=auto'alias fgrep='fgrep -... ECS信息规格:2vCPUs | 4GiB | kc1.large.2镜像:openEuler 20.03 64bit with ARM | 公共镜像 linux alias和bashrc 查看命令的别名 alias 查看已经设置的命令别名# aliasalias cp='cp -i'alias egrep='egrep --color=auto'alias fgrep='fgrep -...
- ECS信息规格:2vCPUs | 4GiB | kc1.large.2镜像:openEuler 20.03 64bit with ARM | 公共镜像 linux which whatis whereis 查看python命令的信息which 查找指令的绝对路径# which python/usr/bin/pythonstat 查看文件具体信息# stat /usr/bin/python... ECS信息规格:2vCPUs | 4GiB | kc1.large.2镜像:openEuler 20.03 64bit with ARM | 公共镜像 linux which whatis whereis 查看python命令的信息which 查找指令的绝对路径# which python/usr/bin/pythonstat 查看文件具体信息# stat /usr/bin/python...
- ECS信息规格:2vCPUs | 4GiB | kc1.large.2镜像:openEuler 20.03 64bit with ARM | 公共镜像 linux shell 输出helloworld shell 输出helloworld# vim hello.sh#!/bin/bashecho 'hello world'echo 'hello'# bash hello.shhello ... ECS信息规格:2vCPUs | 4GiB | kc1.large.2镜像:openEuler 20.03 64bit with ARM | 公共镜像 linux shell 输出helloworld shell 输出helloworld# vim hello.sh#!/bin/bashecho 'hello world'echo 'hello'# bash hello.shhello ...
- ECS信息规格:2vCPUs | 4GiB | kc1.large.2镜像:openEuler 20.03 64bit with ARM | 公共镜像 linux yum 查看main和repository配置文件 yum 查看main部分的配置文件# cat /etc/yum.conf [main]gpgcheck=1installonly_limit=3clean_requireme... ECS信息规格:2vCPUs | 4GiB | kc1.large.2镜像:openEuler 20.03 64bit with ARM | 公共镜像 linux yum 查看main和repository配置文件 yum 查看main部分的配置文件# cat /etc/yum.conf [main]gpgcheck=1installonly_limit=3clean_requireme...
- ECS信息规格:2vCPUs | 4GiB | kc1.large.2镜像:openEuler 20.03 64bit with ARM | 公共镜像 linux 查看网络配置文件和路由信息 ifconfig 查看正在工作的网卡设备名称IP信息已隐藏获取网卡设备名称:eth0# ifconfig eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAS... ECS信息规格:2vCPUs | 4GiB | kc1.large.2镜像:openEuler 20.03 64bit with ARM | 公共镜像 linux 查看网络配置文件和路由信息 ifconfig 查看正在工作的网卡设备名称IP信息已隐藏获取网卡设备名称:eth0# ifconfig eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAS...
- ECS信息规格:2vCPUs | 4GiB | kc1.large.2镜像:openEuler 20.03 64bit with ARM | 公共镜像 linux 查看硬盘和网卡的信息 查看硬盘的信息# fdisk -lDisk /dev/vda: 40 GiB, 42949672960 bytes, 83886080 sectorsUnits: sectors of 1 * 512 =... ECS信息规格:2vCPUs | 4GiB | kc1.large.2镜像:openEuler 20.03 64bit with ARM | 公共镜像 linux 查看硬盘和网卡的信息 查看硬盘的信息# fdisk -lDisk /dev/vda: 40 GiB, 42949672960 bytes, 83886080 sectorsUnits: sectors of 1 * 512 =...
- ECS信息规格:2vCPUs | 4GiB | kc1.large.2镜像:openEuler 20.03 64bit with ARM | 公共镜像 linux 查看CPU 内存 硬盘的信息 查看CPU的信息# cat /proc/cpuinfo processor : 0BogoMIPS : 200.00Features : fp asimd evtstrm aes pmull sh... ECS信息规格:2vCPUs | 4GiB | kc1.large.2镜像:openEuler 20.03 64bit with ARM | 公共镜像 linux 查看CPU 内存 硬盘的信息 查看CPU的信息# cat /proc/cpuinfo processor : 0BogoMIPS : 200.00Features : fp asimd evtstrm aes pmull sh...
- ECS信息规格:2vCPUs | 4GiB | kc1.large.2镜像:openEuler 20.03 64bit with ARM | 公共镜像 linux date 查看系统时间与使用参数生成时间戳 date 查看系统时间# dateSat Oct 2 21:53:40 CST 2021 date 使用参数生成时间戳# date "+%Y%m%d-%H%M%S"2021100... ECS信息规格:2vCPUs | 4GiB | kc1.large.2镜像:openEuler 20.03 64bit with ARM | 公共镜像 linux date 查看系统时间与使用参数生成时间戳 date 查看系统时间# dateSat Oct 2 21:53:40 CST 2021 date 使用参数生成时间戳# date "+%Y%m%d-%H%M%S"2021100...
上滑加载中
推荐直播
-
华为云码道Agent集成与鸿蒙实战2026/08/11 周二 19:00-21:00
王一男-华为云码道产品规划专家;李炎-华为云码道产品专家;彭江敏-华为云鸿蒙端云一体化开发专家
本次直播带你解读华为云码道7月份产品新特性、新功能。更有专家演示码道Agent Space × 钉钉机器集成实战,从0到1打通消息通道;码道鸿蒙端云一体化实战,快速搭建员工签到系统。
回顾中 -
华为云开发者AI素养直播课·第五期2026/09/04 周五 16:00-18:00
林华鼎-华为云AI开发者运营负责人;蒋春阳-华为云AI开发者案例开发专家
本期直播内容: AI工具体验营 · 第5-8课连讲。Agent-Team 多智能体协作完成毕业设计实践
回顾中 -
华为云开发者AI素养ClassRoom·第六期2026/09/08 周二 19:00-20:00
樊渊-2026华为软件挑战赛冠军
高手来了:看软挑高手解析二维排样问题—从工业难题到算法突破
回顾中
热门标签