logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

更改Linux系统时间

临时更改方法date -s '-8hour'

#linux
Linux查看系统信息

1、查看cpu型号cat /proc/cpuinfo | grep name | cut -f2 -d: | uniq -c2、查看cpu情况lscpu3、查看内存cat /proc/meminfo或free4、查看内存条数和大小sudo dmidecode -t memory5、主板型号sudo dmidecode |grep -A16 "System Infor...

iperf的简易使用

资源地址https://download.csdn.net/download/weixin_43431593/193416081、里面包含iperf的win和linux版本2、win里面使用的是iperf.exe指令,直接解压即可通过cmd窗口来使用3、linux则需要把文件iperf上传到linux系统任意目录,赋予最高权限后使用使用方式这里的PC端是个人电脑,设备端是linux设备,二者均可作

python操作服务器

python通过客户端的方式访问服务器paramiko模块提供了连接服务的客户端,代码如下:import paramikoimport time# 操作Linux服务器ssh = paramiko.SSHClient()ssh.set_missing_host_key_policy(paramiko.AutoAddPolicy())ssh.connect('10.12.1.212...

Ubuntu上运行selenium的pytest脚本

环境部署1、查看python版本# 一般情况下,ubuntu 18.04 默认安装了python3python32、安装pip3# 一般情况下,默认没有pip3,因此需要安装sudo apt-get install python3-pip3、安裝pytest、selenium等(1)脚本依赖库pip3 install pytestpip3 install selenium(2)最新版本google

win10: 共享文件夹利器Syncthing

下载地址需求驱动,我需要在linux\Android\Windows下共享文件。因此,找了一个软件。该软件官网地址如下:https://syncthing.net/windows下安装软件下载地址:https://syncthing.net/downloads/打开软件:查看官方文档点击上述界面的文档,打开文档来学习使用方式...

Centos8安装ElasticSearch

安装JDK1.8官网下载jdk1.8,接着上传JDK后进行安装:rpm -ivh jdk-8u211-linux-x64.rpm下载ElasticSearch6.7.2并解压cd /usr/localwget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-6.7.2.tar.gztar -zxvf elasti

Linux如何设置一个脚本为自启动,使得关闭终端也能运行

问题描述我在工作之中,出现了一个问题,就是打开终端运行程序,接着关闭终端后,程序就停止了。这个问题很正常,那么我们该如何处理呢?那就是设置成自启动程序,这样即使关闭终端也不会停止运行了 。操作步骤新建服务:touch /etc/systemd/system/node_exporter.service配置服务:vim /etc/systemd/system/node_exporter....

cmake和make不能使用的Linux解决方案

问题描述:问题一:[root@tptest build]# cmake …-bash: cmake: command not found问题二:[root@tptest build]# make …-bash: make: command not found问题三:[root@tptest build]# make -j4make: *** No targets specifie...

Ubuntu登录ftp,并下载文件

安装sudo apt install lftpsudo apt install screen下载文件(1) 连接格式:lftp account@ip(2)查看ftp服务器的文件(3)查看本地目录(下载到我本地的目录)(4)进入ftp文件的目录,查看被下载的文件(5)下载文件cudnn…mirror cudnn-10.1-linux-x64-v7.6.5.32.tgz报错:解决办法:先退出lftpe

    共 36 条
  • 1
  • 2
  • 3
  • 4
  • 请选择