2015 年文章归档
共 3 篇文章
如何用命令获取公共IP地址
Last updated on April 24, 2013 Authored by Dan Nanni6 Comments Suppose your Linux machine is behind a NAT router. Then what's visible to your machine is only a LAN IP address assigned to its LAN interface. Then how can you detect the public (or WAN) IP address assigned to the NAT router, preferably…
2015-01-14 15:33 · 互联网
ARM架构上安装mysql
1、修改源 sudo cp /etc/apt/sources.list /etc/apt/sources.list.backup //备份源 sudo vim /etc/apt/sources.list 修改源地址为: deb http://ports.ubuntu.com/ubuntu-ports/ trusty main universe deb-src http://ports.ubuntu.com/ubuntu-ports/ trusty main universe 2、更新源,sudo apt-get update 3、搜索数据的包 apt-cache search mysql 搜…
2015-01-09 10:30 · 数据库
ARM架构上lubuntu更换源地址
文件/etc/apt/sources.list是一个普通可编辑的文本文件,保存了ubuntu软件更新的源服务器的地址。和sources.list功能一样的是/etc/apt/sources.list.d/*.list(*代表一个文件名,只能由字母、数字、下划线、英文句号组成)。sources.list.d目录下的*.list文件为在单独文件中写入源的地址提供了一种方式,通常用来安装第三方的软件。 deb http://archive.ubuntu.com/ubuntu/ trusty main restricted universe multiverse deb http://archive…
2015-01-09 10:16 · linux