![](https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
系统维护
huhucsdn
这个作者很懒,什么都没留下…
展开
-
putty自动登录
* 使用PUTTYGEN.EXE生成key pair,SSH2,1024位 * 将public key添加到服务器~/.ssh/authorized_keys文件中 * 做一些修改 [code] ---- BEGIN SSH2 PUBLIC KEY ---- Comment: "rsa-key-20090914" AAAAB3NzaC1yc2EAAAABJQAAAIEAuOgJ0I0O...2009-09-14 10:04:39 · 111 阅读 · 0 评论 -
vim启动无比慢
最近gentoo上的vim启动无比慢,可以使用多次的Ctrl+C来加快。 通过 :help slow-start 的说明 If Vim takes a long time to start up, use the --startuptime argument to find out what happens. There are a few common causes: - If...2012-09-13 10:48:14 · 897 阅读 · 0 评论 -
时间服务器列表
http://tf.nist.gov/tf-cgi/servers.cgi Name IP Address nist1-ny.ustiming.org 64.90.182.55 nist1-nj.ustiming.org 96.47.67.105 nist1-pa.ustiming.org 206.246.122.250 time-a.nist.gov 129.6.15.28 ti...原创 2011-04-02 07:52:25 · 188 阅读 · 0 评论 -
Tomcat安装成服务
JDK:1.6 Tomcat:5.0.28 使用service.bat install安装服务成功 但用net start Tomcat5启动服务时,启动失败 日志文件有以下内容: [2011-07-23 18:55:03] [info] Starting service... [2011-07-23 18:55:03] [173 javajni.c] [error] 找不到...原创 2011-07-23 19:13:11 · 74 阅读 · 0 评论 -
在Windows下安装多个MySQL服务
使用zip包安装MySQL 解压后修改其中的my.ini文件,在mysqld段增加两行 basedir = D:/your/mysql/path datadir = D:/your/mysql/path/data 以及 port = xxxxx 安装成NTService mysqld --install-manual your-service-name --defaults...2011-05-18 10:12:38 · 90 阅读 · 0 评论 -
MySQL添加新用户
MySQL在添加一个新用户后 grant all privileges on db.* to 'user'@'%' identified by 'password' 从本机用命令行登录,使用密码登录不了。 不使用密码可以登录,但没有任何权限。 解决办法: 再添加一个用户 grant all privileges on db.* to 'user'@'localhost' i...原创 2010-05-25 23:48:12 · 142 阅读 · 0 评论 -
Gentoo内核编译时如何设定将IDE硬盘设置成sda
Linux新版本的内核允许将IDE硬盘也当成/dev/sdX,而不是之前的/dev/hdX。 [code="text"] 内核选项 Device Drivers ---> < > ATA/ATAPI/MFM/RLL support ---> 这个不要选择 SCSI device support ---> SCSI Transpor...原创 2010-05-22 14:43:06 · 160 阅读 · 0 评论 -
小红伞更新代理
最近在用小红伞,感觉更新速度很慢,找了个代理,还行 服务器:proxy.jmulxy.cn 端口:80 来自:http://bbs.kafan.cn/thread-447380-1-3.html原创 2009-05-19 12:15:23 · 245 阅读 · 0 评论 -
Gentoo安装笔记
把Gentoo安装了一遍,才知道原来一个Linux系统是这样搭建起来的。 [code="bash"] # 准备: # install-x86-minimal-2008.0.iso # vmware 256M内存 8G硬盘 桥接网络 # 启动 # 使用install-x86-minimal-2008.0.iso启动 # 启动选项:gentoo-nofb nox (no fram...2009-04-09 20:10:18 · 146 阅读 · 0 评论 -
mod_jk的中文乱码问题
tomcat的应用deploy后,使用8080端口访问,POST或GET含有中文内容的访问,结果都正常。但是通过apache+mod_jk的访问,POST正常,GET含有中文时,乱码了。查了许多文章,都提到要在AJP 8009的Connector加上URIEncoding="UTF-8",还是木有效果。 几经周折,才在jk的配置中找到解决的办法,原有配置是 JkOptions +Forwa...2012-10-09 17:09:57 · 160 阅读 · 0 评论