`
i_am_birdman
  • 浏览: 274527 次
  • 性别: Icon_minigender_1
  • 来自: 厦门
社区版块
存档分类
最新评论
文章列表

xmlhttp.status==0

    博客分类:
  • ajax
遇到到个xmlhttp.status=0的问题。 后来看了下因为 <input type="submit" onclick="register()" value="完成" /> 把submit改掉就ok
尼吗各种费劲。。。
如果要在eth0网卡设备上添加两个lP别名192.168.8.43和192.168.8.44,可以通过以下的ifconfig和route命令来进行: [root@ShadowFiend Gogo_yueyue]# ifconfig eth0:2 172.29.0.76 broadcast 172.29.255.255 netmask 255.255.0.0 up [root@ShadowFiend Gogo_yueyue]# route add -host 172.29.0.76 dev eth0:2 检验 [Gogo_yueyue@ShadowFiend ~]$ ifc ...
逐渐开始明白,不断探究应用不了解的技术,是一个程序员是否合格的评定标准。
Postgresql提供了3种备份方式。 1.pg_dump. 2.File system level backup. 3.Continuous archiving. 数据量不大时用第一种方法。第二种方法由于限制太多,备份恢复时必须关闭数据库,用得少。 第三种适用于大数据量的备份。

echo -e

[Gogo_yueyue@ShadowFiend ~]$ echo -e "helloWorld\n" helloWorld [Gogo_yueyue@ShadowFiend ~]$ echo "helloWorld\n" helloWorld\n -e     enable interpretation of backslash escapes
项目上的都是用的静态页面,由于jetty7.0处理静态页面不如nginx,apache等http服务器,所以做了nginx,jetty整合。
[root@ShadowFiend Gogo_yueyue]# ssh-keygen -t rsa Generating public/private rsa key pair. Enter file in which to save the key (/root/.ssh/id_rsa): Enter passphrase (empty for no passphrase): Enter same passphrase again: Your identification has been saved in /root/.ssh/id_rsa. Your publ ...
[root@ShadowFiend etc]# /etc/init.d/nagios start Starting nagios:This account is currently not available. done. [root@ShadowFiend etc]# su nagios This account is currently not available. 解决方法:把/etc/passwd中nagios的shell设置成/bin/bash 再重启没有发现错误

nagios的安装

(1) 将Nagios监控服务器的运行用户和组设置为nagios,并且将nagios的主程序目录设置为nagios,保证系统的安全。 [root@ShadowFiend Gogo_yueyue]# useradd -s /sbin/nologin nagios [root@ShadowFiend Gogo_yueyue]# vi /etc/passwd [root@ShadowFiend Gogo_yueyue]# mkdir /usr/local/nagios [root@ShadowFiend Gogo_yueyue]# chown -R nagios.nagios /usr/l ...
[福建]Mr.G(51061358)  21:26:14 有个需求 一个IP反向代理到另一个IP 这个是什么意思? [福建]Mr.G(51061358)  21:40:14 IPTABLES能不能把对本机IP的全部端口请求指到另一个IP啊?怎么写? [上海]不死鸟(18390381)  21:45:50 DNAT么? [福建]Mr.G(51061358)  21:47:37 是iptables的一种吗? 应该是把对这个IP的80请求转发到另一个IP的80 [上海]不死鸟(18390381)  21:50:44 只是一个端口的很好写的啊 [上海]不死鸟(18390381)  21:50:52 ...

ulimit

通过 ulimit 改善系统性能[url] http://www.ibm.com/developerworks/cn/linux/l-cn-ulimit/[/url] ulimit 是一种 linux 系统的内键功能,它具有一套参数集,用于为由它生成的 shell 进程及其子进程的资源使用设置限制。 进程的最大连接数受到linux系统进程的最大打开文件数限制,默认是1024. [root@ShadowFiend tree-1.6.0]# ulimit -a core file size (blocks, -c) 0 data seg size ...

linux tree 命令

http://www.centerkey.com/tree/上的源码: #!/bin/sh ####################################################### # UNIX TREE # # Version: 2.3 # # File: ~/apps/tree/tree.sh # # ...
java projects 打包jar的方法: (1):用eclipse,myeclipse的export功能。 (2):用 jar      jar用法: jar 是随 JDK 安装的,在 JDK 安装目录下的 bin 目录中,Windows 下文件名为 jar.exe,Linux 下文件名为 jar。它的运行需要用到 JDK 安装目录下 lib 目录中的 tools.jar 文件。不过我们除了安装 JDK 什么也不需要做,因为 SUN 已经帮我们做好了。我们甚至不需要将 tools.jar 放到 CLASSPATH 中。   使用不带任何的 jar 命令我们可以看到 jar 命令的用法如 ...
从ADOBE网站上下载了个RPM (http://get.adobe.com/flashplayer/otherversions/) 然后 rpm -ivh adobe-release-x86_64-1.0-1.noarch.rpm 就可以安装了 yum install flash-plugin
Global site tag (gtag.js) - Google Analytics