- 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...
上滑加载中
推荐直播
-
HDC深度解读系列 - Serverless与MCP融合创新,构建AI应用全新智能中枢2025/08/20 周三 16:30-18:00
张昆鹏 HCDG北京核心组代表
HDC2025期间,华为云展示了Serverless与MCP融合创新的解决方案,本期访谈直播,由华为云开发者专家(HCDE)兼华为云开发者社区组织HCDG北京核心组代表张鹏先生主持,华为云PaaS服务产品部 Serverless总监Ewen为大家深度解读华为云Serverless与MCP如何融合构建AI应用全新智能中枢
回顾中 -
关于RISC-V生态发展的思考2025/09/02 周二 17:00-18:00
中国科学院计算技术研究所副所长包云岗教授
中科院包云岗老师将在本次直播中,探讨处理器生态的关键要素及其联系,分享过去几年推动RISC-V生态建设实践过程中的经验与教训。
回顾中 -
一键搞定华为云万级资源,3步轻松管理企业成本2025/09/09 周二 15:00-16:00
阿言 华为云交易产品经理
本直播重点介绍如何一键续费万级资源,3步轻松管理成本,帮助提升日常管理效率!
回顾中
热门标签