1、查看dns: cat /etc/resolv.conf 2、Ubuntu固定ip sudo vim /etc/network/interfaces 修改如下部分: auto eth0 iface eth0 inet static address 59.77.132.80 netmask 255. ...
分类:
系统相关 时间:
2016-10-19 16:36:14
阅读次数:
213
workstation(192.168.1.105):yum-yinstallpostfix//centos系统已经默认安装了vim/etc/postfix/main.cf//配置SMTP75myhostname=workstation.example.com83mydomain=example.com99myorigin=$mydomain116inet_interfaces=all164mydestination=$myhostname,localhost.$mydomain,loc..
分类:
其他好文 时间:
2016-10-15 14:31:30
阅读次数:
151
FireMonkey has many layout controls to choose from. Come learn the differences and how to use them to create dynamic, multi-platform user interfaces. ...
分类:
其他好文 时间:
2016-10-13 19:17:58
阅读次数:
241
It’s easy to pass the wrong value to a function. Typescript interfaces are great because they catch errors at compile time or in an IDE. In this lesso ...
分类:
其他好文 时间:
2016-10-10 07:38:01
阅读次数:
194
1.配置添加IP:vi/etc/network/interfaces修改如下内容#Theprimarynetworkinterfaceautoeth0ifaceeth0inetstaticmtu1410address192.168.1.100address2#添加多个IP地址netmask255.255.255.0gateway192.168.1.1保存,重启网卡servicenetworkingrestart或者/etc/init.d/networking..
分类:
系统相关 时间:
2016-10-03 00:40:35
阅读次数:
225
网络配置的两种方式 Ubuntu下修改网络配置有两种方式:图形界面方式(network-manager)和修改/etc/network/interfaces 但是如果两种方式的网络设置不同,就会产生冲突,即:network-manager与/etc/network/interfaces文件冲突。 S ...
分类:
Web程序 时间:
2016-09-28 18:58:07
阅读次数:
164
1 sudo vi /etc/network/interfaces 设置IP、子网掩码、网关 2 sudo vi /etc/resolv.conf 设置DNS服务器 3 sudo /etc/init.c/networking restart 重启网卡 ping一下,可以联网 4 由于关机后下一次开机 ...
分类:
系统相关 时间:
2016-09-25 14:34:53
阅读次数:
278
地址:https://docs.oracle.com/javase/tutorial/sound/SPI-intro.html What Are Services? Services are units of sound-handling functionality that are automat ...
分类:
其他好文 时间:
2016-09-22 13:19:48
阅读次数:
202
反射:运行时动态实例化任何一个类。 看此文章前至少对JAVA反射有一定了解... Jdk动态代理的实现就是使用了反射机制,关键代码在Proxy.newProxyInstance(ClassLoader loader,Class<?>[] interfaces,InvocationHandler h) ...
分类:
其他好文 时间:
2016-09-19 19:20:56
阅读次数:
161
每次设置都忘了之前怎么设置的,所以今天记录下来。 1. 找到文件并作如下修改: sudo vim /etc/network/interfaces 修改如下部分: auto eth0iface eth0 inet staticaddress 192.168.0.7gateway 192.168.0.1 ...
分类:
系统相关 时间:
2016-09-18 16:58:10
阅读次数:
129