display transceiver manuinfo interfacedisplay transceiver interface从下文可以看出 1/0/26 1/0/27 2/0/26三个端口的光模块是假货!!!  <1>display transceiver manuinfo interface GigabitEthernet1/0/25 transceiver manufacture information:   Manu. Serial Number : 210231A563X09…
生成一个临时文件 python manage.py makemigrations 这时其实是在该app下建立 migrations目录,并记录下你所有的关于modes.py的改动,比如0001_initial.py 数据库文件数据库没有增加新的表">但是这个改动还没有作用到数据库文件,数据库没有增加新的表 接着执行migrate,这时候才真的把作用到数据库文件,产生对应的表 根据临时文件生成数据库表 python manage.py migrate 执行这两条命令自动帮我们创建数据库和基本…
如下supervisor的进程的comand配置参数只能写一个命令 1.要执行多条命令,可以写个sh文件包含多条命令,然后sh -x   xxxx.sh,但这样又多了一个文件, 2.把所有命令放在字符串,然后用eval来执行,这样在shell窗口可以执行,但放在supervisor报找不到eval命令.比如: command = eval  "python -u app/utils_ydf/git_client.py&&gunicorn -w 9 -k gevent --bind…
1. 安装 下载并安装,注意安装方式为custom,路径自定义(d:\chengxu\mongodb),安装成功后在mongodb文件夹下新建data文件夹(内新建db文件夹)和logs文件夹(内新建mongodb.log文件) 2. 服务端连接 cmd窗口输入“d:\chengxu\mongodb\bin\mongod.exe --dbpath d:\chengxu\mongodb\data\db”.回车之后出现“waiting for connenctions on port 27017”即…
操作系统: debian, ubuntu, fedora 当前版本: v14.4.0 一键安装命令: curl -sL https://deb.nodesource.com/setup_14.x | sudo bash - sudo apt-get install -y nodejs 原文地址:https://mirrors.tuna.tsinghua.edu.cn/help/nodesource/…
kernel (hd0,0)/vmlinuz boot=casper iso-scan/filename=/ubuntu-10.04.1-desktop-i386.iso ro quiet splash locale=zh_CN.UTF-8 initrd (hd0,0)/initrd.lz…
压缩备份: 1.mysqldump -h localhost -u root -p dbname | gzip > dbname.sql.gz 压缩恢复: 1.gunzip < dbname.sql.gz | mysql -h localhost -u root -p…
ssh-keygenssh-copy-id -i 目标服务器ip…
ssh-keygen -t rsa -P "" -f ~/.ssh/id_rsa //生成当前用户密钥 ssh-copy-id -i /root/.ssh/id_rsa.pub root@192.168.19.203 //拷贝到远程机器上面 ssh root@192.168.19.203 //测试…
<Sysname>  dis transceiver interface GigabitEthernet 1/0/28  查看 GigabitEthernet1/0/28 transceiver information: Transceiver Type : 1000_BASE_LX_SFP Connector Type : LC Wavelength(nm) : 1310 Transfer Distance(km) : 10(9um) Digital Diagnostic Monitorin…