09 2017 档案

查看Linux网卡地址,网络地址
摘要:查看网络地址 或 或 ,此指令在部分linux系统中不支持 阅读全文

posted @ 2017-09-29 18:57 lion_zheng 阅读(354) 评论(0) 推荐(0)

查看linux版本
摘要:查看version文件 cat /proc/version 阅读全文

posted @ 2017-09-26 10:14 lion_zheng 阅读(93) 评论(0) 推荐(0)

Windows Host 文件
摘要:Windows XP Home / Windows 7/ Windows Server 2008 如果碰到Localhost打不开设定的地址。我认为可能有其他进程或软件控制了Localhost这个地址(2017 09 19 猜测,以后可能更新) 一个变通的方法是在host文件中定义另一个本地域名。 阅读全文

posted @ 2017-09-19 19:28 lion_zheng 阅读(158) 评论(0) 推荐(0)

从windows CMD 命令行(CMD promp)运行Docker
摘要:英文原帖 Running Docker from Windows CMD prompt https://medium.com/@neil.avery_68603/running docker from windows cmd prompt 6540daebedad 打开CMD窗口,尝试运行docke 阅读全文

posted @ 2017-09-16 22:05 lion_zheng 阅读(2160) 评论(0) 推荐(0)

复制windows CMD命令行中的内容
摘要:标记文本后,按“回车”,或鼠标“右键”为从CMD中复制文本。 在CMD中,按鼠标"右键",为在CMD中粘贴文本。 阅读全文

posted @ 2017-09-16 17:08 lion_zheng 阅读(286) 评论(0) 推荐(0)

Docker build 安装报错, Could not open requirments file: [Errno 2] No such file or directory:'requirements.txt'
摘要:docker安装教程 https://docs.docker.com/get started/part2/ build the app 相关帖子 https://stackoverflow.com/questions/32207202/multiple django requirements wit 阅读全文

posted @ 2017-09-16 15:42 lion_zheng 阅读(2989) 评论(0) 推荐(0)

使用SSH密钥方式登录ubuntu Linux,指令(ssh-keygen 和 ssh-copy-id)
摘要:实验目的 从myVM1(本地主机)上登录myVM2(远程主机)。采用密钥方式,不输入密码。 测试环境 主机:window7 sp1 64位 专业版 虚拟机:VMware workstation 12 player 虚拟机操作系统: ubuntu 16.4 请确保你的ubuntu虚拟机能够连接Inte 阅读全文

posted @ 2017-09-15 23:47 lion_zheng 阅读(1588) 评论(0) 推荐(0)

显示、更改ubuntu linux主机名(计算机名)
摘要:在bash中输入 可以显示计算机名。Linux和windows都可以使用这条指令。 主机名保存在/etc/hostname文件中 需要进入Root权限才可以修改该文件。 sudo gedit /etc/hostname 修改主机名,保存文件并推出。重启ubunt。 阅读全文

posted @ 2017-09-15 22:11 lion_zheng 阅读(390) 评论(0) 推荐(0)

如何在VMware ubuntu linux虚拟机中安装VMware tools
摘要:VMware Tools可以实现在主机虚拟机之间拷贝文字、文件等功能。本文讲述如何在VMware ubuntu linux虚拟机中安装VMware tools. 测试环境: VMware Workstation 12.5 主机:windows7 sp1 x64 虚拟机:ubuntu linux 16 阅读全文

posted @ 2017-09-14 23:06 lion_zheng 阅读(1337) 评论(0) 推荐(0)

VMware bridge 桥接方式连接internet
摘要:经过反复测试,关于VMware内虚拟机(包括ubuntu linux和windows)连接internet 目前的结论是: 1 如果主机使用有线网卡,虚拟机可以连接internet 2 如果主机使用无线网卡(wifi),虚拟机是否能够联网,取决于无线网络的特性 测试环境: 主机 windows7 s 阅读全文

posted @ 2017-09-14 20:35 lion_zheng 阅读(495) 评论(0) 推荐(0)

在STEP7 TIA PORTAL中,设置模块的地址和设备名(Device name)
摘要:assign device name, ip address for PROFINET componet in TIA Portal 方法1: PLC online & diagnostics Functions Assign PROFINET device name PLC 在线和诊断 功能 分配 阅读全文

posted @ 2017-09-12 15:43 lion_zheng 阅读(3052) 评论(0) 推荐(0)

查看linux网卡硬件名称
摘要:查看linux网卡硬件名称 阅读全文

posted @ 2017-09-11 19:15 lion_zheng 阅读(655) 评论(0) 推荐(0)

Ubuntu linux安装putty
摘要:Step1 安装Putty $ sudo apt get install putty Step2 使用Putty Client 查找已经安装完的putty客户端 设置Remote Server的IP地址和端口号 选择接受security Alert 登录 阅读全文

posted @ 2017-09-11 10:33 lion_zheng 阅读(15395) 评论(0) 推荐(0)

Linux修改文件permission可执行属性
摘要:列出文件属性 ls al 修改文件属性为可读、可写 sudo chmod c 777 阅读全文

posted @ 2017-09-10 07:19 lion_zheng 阅读(350) 评论(0) 推荐(0)

在windows中,使用SSH登录VMware ubuntu linux虚拟机
摘要:测试环境 主机:window7 sp1 64位 专业版 虚拟机:VMware workstation 12 player 虚拟机操作系统: ubuntu 16.4 目标:在ubuntu下运行SSH服务,从宿主操作系统windows7中,登录ubuntu 虚拟机VMware的设置 VMware的网络适 阅读全文

posted @ 2017-09-10 06:49 lion_zheng 阅读(1713) 评论(0) 推荐(0)

Docker - Failed to connect to localhost port 4000: Connection refused
摘要:转载、翻译自 https://stackoverflow.com/questions/44014698/docker failed to connect to localhost port 4000 connection refused 按照Docker的安装指导进行操作时,在Get Started 阅读全文

posted @ 2017-09-09 10:55 lion_zheng 阅读(2393) 评论(0) 推荐(0)

导航