首先介绍下ifconfig: ifconfig - configure a network interface (ifconfig if意思是interface)通常会输出:eth0,eth1,eth2……代表网卡一,网卡二,网卡三……lo代表127.0.0.1,即localhost参考:http:...
分类:
其他好文 时间:
2015-01-08 13:08:55
阅读次数:
148
首先需要在http://tomcat.apache.org/download-80.cgi下载最新安装包安装tomcat将apache-tomcat-8.0.15.tar.gz文件上传到/usr/local中执行以下操作:复制代码代码如下:[root@admin local]# cd /usr/lo...
分类:
其他好文 时间:
2015-01-07 20:32:46
阅读次数:
218
# wget http://www.apache.org/dist/httpd/httpd-2.2.9.tar.gz (此处我是直接用的下载好的包)# tar -zxvf httpd-2.2.9.tar.gz# cd httpd-2.2.9# ./configure --prefix=/usr/lo...
分类:
Web程序 时间:
2015-01-07 06:58:12
阅读次数:
120
http://www.7tutorials.com/connecting-windows-remote-desktop-ubuntuA useful feature of Windows is being able to connect to your Desktop from another lo...
wangdd@wdd-pc:~$gedit /var/lib/locales/supported.d/local添加:zh_CN.GBK GBKzh_CN.GB2312 GB2312 终端执行命令: sudo dpkg-reconfigure --force localesGenerating lo...
分类:
系统相关 时间:
2015-01-06 11:39:22
阅读次数:
215
题目链接:http://poj.org/problem?id=1947题意:给n(n#include #include #include #include #include #include #include #include #include #include #define LL long lo...
分类:
其他好文 时间:
2015-01-05 20:20:03
阅读次数:
126
amoeba版本:5.1.45-mysql-amoeba-proxy-2.2.0Sourcedistribution主:192.168.204.128从:192.168.204.129amoeba:192.168.204.130dbServers.xml文件:amoeba.xml文件在主从服务器上执行:grantalloncjnew.*torickcj@‘192.168.204.130‘identifiedby‘cmysqlj‘;启动amoeba:/usr/lo..
分类:
数据库 时间:
2015-01-05 07:08:20
阅读次数:
237
使用 logcat 命令 ??????? ?查看和跟踪系统日志缓冲区的命令logcat的一般用法是: [adb]?logcat?[<option>]?...?[<filter-spec>]?... 下文介绍过滤器和命令选项,详细内容可参见Listing of lo...
分类:
数据库 时间:
2015-01-04 21:33:29
阅读次数:
201
首先添加所需要驱动包(可通过nuget获得)using MongoDB.Bson;using MongoDB.Driver;using MongoDB.Driver.Builders;一、设置配置信息 //连接信息 static string conn = "mongodb://lo...
分类:
数据库 时间:
2015-01-04 17:02:57
阅读次数:
249
Apache日志统计举例
加些来了解一下如何统计Apache的访问日志,一般可以用tail命令来实时查看日志文件变化,但是各种的应用系统中的日志会非常复杂,一堆长度超过你浏览极限的日志出现在你眼前时,你会觉得非常无奈,怎么办呢?这时可以用grep、sed、awk和sort等筛选工具帮助你解决这个问题。下面总结了几个常见分析方法。
(1)查看IP($1代表IP)
#cataccess_lo...
分类:
Web程序 时间:
2015-01-03 22:29:07
阅读次数:
268