原创作品,出自 “深蓝的blog” 博客,欢迎转载,转载时请务必注明以下出处,否则追究版权法律责任。
深蓝的blog:
1. 域名解析设置及网络配置
# vi /etc/hosts
127.0.0.1 localhost.localdomain localhost
::1 localhost6.localdomain6 localhos...
分类:
数据库 时间:
2014-10-17 10:19:49
阅读次数:
329
CentOS6.2上Oracle10g安装
1. 域名解析设置及网络配置
# vi /etc/hosts
127.0.0.1 localhost.localdomain localhost
::1 localhost6.localdomain6 localhost6
192.168.56.103 hyl
# vi /etc/s...
分类:
数据库 时间:
2014-10-17 10:15:10
阅读次数:
241
破密:e-->linux16rd.breakCtrl+x-->mount-oremount,rw/sysroot-->chroot/sysroot-->echoflectrag|passwd--stdinroot-->touch/.autorelabel-->Ctrl+D-->reboot修改hostname和ip地址nm-connector-editorIPADDR0-->PREFIX0-->GATEWAY0-->DNS1-->..
分类:
其他好文 时间:
2014-10-16 22:45:04
阅读次数:
183
环境:centos6.5,mysql5.6.19问题:在用telnetl0.0.1.1203306数据库时,报错kHost‘l0.0.1.120‘isblockedbecauseofmanyconnectionerrors;unblockwith‘mysqladminflush-hosts‘Connectionclosedbyforeignhost.原因:是同一IP的connectionerrors超出默认的最大值了。解决方法1:重..
分类:
数据库 时间:
2014-10-16 05:16:32
阅读次数:
358
grunt server默认访问地址为127.0.0.1:9000,如果需要从外部通过IP访问需要将Gruntfile.js的connect.option.hostname改为0.0.0.0
分类:
其他好文 时间:
2014-10-16 01:57:51
阅读次数:
470
系统:#uname-a#查看内核/操作系统/CPU信息#cat/etc/issue#cat/etc/redhat-release#查看操作系统版本#cat/proc/cpuinfo#查看CPU信息#hostname#查看计算机名#lspci-tv#列出所有PCI设备#lsusb-tv#列出所有USB设备#lsmod#列出加载的内核模块#env#查看环境变量资源:#free-m#查看内..
分类:
系统相关 时间:
2014-10-15 21:54:22
阅读次数:
281
一、永久修改 修改/etc/sysconfig/network,在里面指定主机名称HOSTNAME= 然后执行命令 hostname 主机名 这个时候可以注销一下系统,再重登录之后就行了。 或者修改/etc/hosts文件中添加 192.168.2.13??????...
分类:
系统相关 时间:
2014-10-15 19:05:01
阅读次数:
221
# The ServerName directive sets the request scheme, hostname and port that
# the server uses to identify itself. This is used when creating
# redirection URLs. In the context of virtual hosts, the Ser...
分类:
其他好文 时间:
2014-10-15 18:19:41
阅读次数:
186
在局域网中,使用ssh登陆到其他机器上时,有时会出现等待10s以上才能正常登陆的问题。原因:Linux默认使用dns解析登陆IP,但是在局域网,并没有dns服务器,而且机器上也没有添加IP与域名(hostname)的绑定,导致浪费很多时间检查主机名。解决办法:1.在/etc/hosts文件中添加IP...
分类:
系统相关 时间:
2014-10-15 13:55:20
阅读次数:
250
1. sqlplussqlnet.ora 文件格式NAMES.DIRECTORY_PATH= (TNSNAMES,HOSTNAME)。客户端就会首先在tnsnames.ora文件中找orcl的记录。如果没有相应的记录则尝试把orcl当作一个主机名,通过网络的途径去解析它的ip地址然后去连接这个ip上...
分类:
数据库 时间:
2014-10-15 12:33:20
阅读次数:
187