Post by tywtyw2002 on 2009, October 25, 12:06 PM
win7终于发布了!
本人早在15日就已经看见了微软盒装的win7 oem的盘了
可惜是e文的 算了 还是下个中文版的吧
于是在远景找了个种子 挂了2天终于下好了win7 32和64的
到底是按32的呢 还是64的呢 犹豫了半天 决定了还是64位的 因为上毛网不会中毒
就是应用软件少点。
===========================================================
下面开始正题
首先用SLIC_Dump_ToolKit检查了下我的bios slic居然是2.0的无奈
去asus的官网居然只有209的 ps 我的bios是210的 鄙视一下
然后百度搜索了下 找到了个教程
自己改了个2.1的bios 下载地址:http://file.coshim.com/m50drv/ (希望大家点击下ad 。。)点击那个
解压 M50VNV210_SLIC.rar 到c盘根目录
然后开机按f4 进入asus 刷bios 的界面 选择c盘下的M50VNV210_SLIC.rom
1分钟后刷好 系统提示自动重启 那就重启 然后f2 把bios调了 因为刷完原来的设置都没了
之后开机,进入系统,再次运行SLIC_Dump_ToolKit,确认是否添加SLIC2.1成功。若成功,则可进行激活
不成功 基本没有这种几率的 除非你没刷上。
ps 我刷完bios 提示重启 居然是关机把我吓死了 以为又刷坏了。。。 所以如果大家遇到刷完关机不要害怕
别的asus 本本 如果官网没有可以到这里找找http://www.benyouhui.com/thread-1009783-1-1.html
然后按win7 64bit的
选Ultimate 也就是旗舰
怎么装系统不用我说吧
装好系统后就开始 另外的一个非常重要的步骤了 激活
首先以管理员身份启动控制台,点击开始菜单,在下方的搜索框输入cmd,稍等在开始菜单上出现搜索结果,名为cmd.exe,右击这个搜索结果,选择使用管理员身份运行。
然后,使用命令导入证书。 证书下载地址 http://file.coshim.com/m50drv/ 选 ASUS_cret.rar
格式如下:slmgr.vbs -ilc C:\ASUS.XRM-MS,此时名为ASUS.XRM-MS的证书应放置于C盘根目录下。稍等系统会提示导入成功。
再导入OEM KEY,命令如下:slmgr.vbs -ipk 22TKD-F8XX6-YG69F-9M66D-PMJBM
key 有很多 看自己的喜好了 主要要跟当初安装的版本 匹配
Windows 7 Home Premium
7JQWQ-K6KWQ-BJD6C-K3YVH-DVQJG --- 00359-OEM-8992687-00118 --- Asus
6RBBT-F8VPQ-QCPVQ-KHRB8-RMV82 --- 55041-OEM-8992687-00095 --- DELL
VQB3X-Q3KP8-WJ2H8-R6B6D-7QJB7 --- 55041-OEM-8992687-00006 --- Packard Bell
CQBVJ-9J697-PWB9R-4K7W4-2BT4J --- 55041-OEM-8992687-00015 --- SAMSUNG
Windows 7 Professional
YKHFT-KW986-GK4PY-FDWYH-7TP9F --- 55041-OEM-8992671-00004 --- ACER
32KD2-K9CTF-M3DJT-4J3WC-733WD --- 55041-OEM-8992671-00524 --- DELL
74T2M-DKDBC-788W3-H689G-6P6GT --- 55041-OEM-8992671-00008 --- HP
GMJQF-JC7VC-76HMH-M4RKY-V4HX6 --- 55041-OEM-8992671-00013 --- SAMSUNG
Windows 7 Ultimate
FJGCP-4DFJD-GJY49-VJBQ7-HYRR2 --- 00426-OEM-8992662-00006 --- ACER
342DG-6YJR8-X92GV-V7DCV-P4K27 --- 00426-OEM-8992662-00400 --- DELL
22TKD-F8XX6-YG69F-9M66D-PMJBM --- 00426-OEM-8992662-00497 --- Lenovo
49PB6-6BJ6Y-KHGCQ-7DDY6-TF7CD --- 00426-OEM-8992662-00015 --- SAMSUNG
导入成功后同样有提示。
此时系统应已经成功激活,可输入slmgr.vbs -xpr 或 slmgr.vbs -dlv 或 slmgr.vbs -dli确认。保险起见可重启系统后再查看。
好了这样系统就 ok 了 然后找驱动了
驱动直接驱动之家了
声卡呀 显卡呀 inf 呀 都找好了 就可以按下面的asus 的驱动加 应用程序了
http://dlcdnet.asus.com/pub/ASUS ... 7_32_64_1020028.zip
http://dlcdnet.asus.com/pub/ASUS ... ec_WIN7_64_2004.zip
http://dlcdnet.asus.com/pub/ASUS ... er_WIN7_64_1003.zip
http://dlcdnet.asus.com/pub/ASUS ... WIN7_64_1000008.zip
http://dlcdnet.asus.com/pub/ASUS ... _WIN7_64_200005.zip
http://dlcdnet.asus.com/pub/ASUS ... _WIN7_64_300020.zip
http://dlcdnet.asus.com/pub/ASUS ... 32_WIN7_64_3011.zip
http://dlcdnet.asus.com/pub/ASUS ... _WIN7_64_100052.zip
http://dlcdnet.asus.com/pub/ASUS ... 4321575_Win7_64.zip
http://dlcdnet.asus.com/pub/ASUS ... _WIN7_64_700005.zip
http://dlcdnet.asus.com/pub/ASUS ... _WIN7_64_110024.zip
触摸板和 红外驱动的地址在另外一台机器上 一会写上去
触摸板没有支持 dualmode 的win 7 驱动。。
所以用标准的驱动凑乎吧 ps好像很好有人用 触摸板的那个功能吧?
http://dlcdnet.asus.com/pub/ASUS ... 32_WIN7_64_5101.zip
http://dlcdnet.asus.com/pub/ASUS ... N7_32_64_273519.zip
http://dlcdnet.asus.com/pub/ASUS ... IN7_32_64_14011.zip
win7 就全部安装完了 看图吧

===========================
这里开始是软件篇
杀毒 没找到64位的 卡巴6我学校的key不支持64位的
所以下了win的 Microsoft Security Essentials 先对付用 然后再找别的吧 再说64位很少有病毒 http://www.greendown.cn/soft/16116.html
影音播放 暴风影音1 +landon diy版 32位的 用起来不错 可惜不是集成了的 具体步骤过几天我写个教程
下载 迅雷呀 烈火去广告的 5.9.71062的 5.9.2 有bug 注意按迅雷前先装 vc 2007运行库
系统运行库(需要同时安装64位和32位):
Microsoft Visual C++ 2005 SP1 Redistributable Package (x86)
http://www.microsoft.com/downloads/details.aspx?familyid=200B2FD9-AE1A-4A14-984D-389C36F85647displaylang=zh-cn
Microsoft Visual C++ 2005 SP1 Redistributable Package (x64)
http://www.microsoft.com/downloads/details.aspx?FamilyID=eb4ebe2d-33c0-4a47-9dd4-b9a6d7bd44daDisplayLang=zh-cn
Microsoft Visual C++ 2008 SP1 Redistributable Package (x86)
http://www.microsoft.com/downloads/details.aspx?familyid=A5C84275-3B97-4AB7-A40D-3802B2AF5FC2displaylang=zh-cn
Microsoft Visual C++ 2008 SP1 Redistributable Package (x64)
http://www.microsoft.com/downloads/details.aspx?familyid=BA9257CA-337F-4B40-8C14-157CFDFFEE4Edisplaylang=zh-cn
DirectX End-User Runtimes (March 2009) - 简体中文 (兼容x64)
http://www.microsoft.com/downloads/details.aspx?familyid=0CF368E5-5CE1-4032-A207-C693D210F616displaylang=zh-cn
Microsoft .NET Framework 2.0 版可再发行组件包 (x86)
http://www.microsoft.com/downloads/details.aspx?familyid=0856EACB-4362-4B0D-8EDD-AAB15C5E04F5displaylang=zh-cn
Microsoft .NET Framework 2.0 Service Pack 1 (x86)
http://www.microsoft.com/downloads/details.aspx?FamilyId=79BC3B77-E02C-4AD3-AACF-A7633F706BA5displaylang=en
Microsoft .NET Framework 2.0 版可再发行组件包 (x64)
http://www.microsoft.com/downloads/details.aspx?FamilyID=b44a0000-acf8-4fa1-affb-40e78d788b00DisplayLang=zh-cn
Microsoft .NET Framework 2.0 Service Pack 1 (x64)
http://www.microsoft.com/downloads/details.aspx?FamilyID=029196ed-04eb-471e-8a99-3c61d19a4c5aDisplayLang=zh-cn
Windows Installer 4.5 Redistributable - 简体中文 (32/64bit)
http://www.microsoft.com/downloads/details.aspx?FamilyID=5a58b56f-60b6-4412-95b9-54d056d6f9f4DisplayLang=zh-cn
Java SE Runtime Environment(JRE) x64 6.0 Update 14
http://down.tech.sina.com.cn/content/42685.html
Java SE Runtime Environment(JRE) x86 6.0 Update 14
http://down.tech.sina.com.cn/content/13444.html
putty 64 http://www.kelley.ca/amd64/putty-0.59-x64.zip
该睡觉了先写这么多吧。
Tags: win7, 驱动
网络·技术 | 评论:0
| 阅读:3368
Post by tywtyw2002 on 2009, October 21, 2:29 AM
最近宿舍网很烂 所以就在vps 上按了个mldonkey下东西看
下面介绍一下 mldonkey是一个 服务器式的 p2p下载工具 支持bt emule ftp http
他本身没有界面 是通过3种方式进行管理的
http tentel 还有gui插件
号称mldonkey是下载最快 最节省内存的下载利器
我一般都是同时连接5个服务器 开始下emule。。。。速度基本是300kb左右 (限速了)
===========================================
mldonkey的官方主页
http://mldonkey.berlios.de/ 是一个wiki样式的
download http://sourceforge.net/projects/mldonkey/files/
下面开始介绍安装
我建议大家 下载编译好的文件
因为方便快捷 但是有个中文名bug 不过可以解决。
#wget http://sourceforge.net/projects/mldonkey/files/mldonkey/3.0.0/mldonkey-3.0.0.static.i386-Linux_glibc-2.7.tar.bz2/download
#tar jxvf mldonkey-3.0.0.static.i386-Linux_glibc-2.7.tar.bz2
#mv mldonkey-3.0.0 mldonkey
#cd mldonkey
#./mlnet &
好了mldonkey就开始后台运行了
然后会出现一堆字符。。 直接crtl +c跳过
下面开始连接 mldonkey
默认的mldonkey是只允许127.0.0.1 访问的
因为我的服务器只有内核 没法用http加auth ip 所以只能通过 telnet
#yum -y install nc
安装完nc后
#nc 127.0.0.1 4000
>set allowed_ips "127.0.0.1 你服务器的ip 你自己的ip“
最好给服务开个s5代理 这样走到哪里都可以登录了
>useradd admin 你的密码
改下密码
>save
保存下设置
>kill
关闭核心 因为一会要调设置 还有解决中文名bug问题
因为用root用户开启的 mldonkey 所以配置在root目录下
#cd
#cd /.mldonkey
# vi downloads.ini
MLdonkey默认目录分别为 ~/.mldonkey/incoming/files (BT则为~/.mldonkey/incoming/directories) 和 ~/.mldonkey/temp
可以通过修改~/.mldonkey/download.ini来变更。
在download.ini里找到"temp_directory =",然后修改temp目录路径
incoming则要找到:
{ dirname = "incoming/files"
strategy = incoming_files
priority = 0
};
{ dirname = "incoming/directories"
strategy = incoming_directories
priority = 0
};]
由于我服务器是e文的中文名会乱码
所以开启mldonkey的时候要先执行
然后开启mldonkey服务器
#./mlnet &
好了
mldonkey服务器端就配置好了
然后X掉你的ssh 注意是X 不退出root 退如果出root了mldonkey就关了
下面下载mldonkey的gui界面 调emule的配置
http://sancho-gui.sourceforge.net/
安装完了填好参数 链接服务器
调参数了
1.加大缓存大小,以保护硬盘:
浏览器的查找功能找到下列选项并设置(->左边为选项名称,右边为值):
buffer_writes->true 打开缓存写入模式
buffer_writes_delay->30.或者更高,它表示写缓存的延时单位秒
buffer_writes_threshold 4000或更高,它表示缓存,到了XXXX KB后强制写入
client_buffer_size 50 000 000或者更高,它表示缓存的总大小,单位字节
2.设置一个客户端昵称(据说是登录VeryCD的服务器需要校验,实际上没有多大效果。)
找到client_name,改为[CHN][VeryCD]xxxx的形式。
3.打开想要的协议:
ED2K <==> enable_donkey->true
BT <==> enable_bittorrent->true
DIRECTCONNECT <==> enable_directconnect -> true(不常用可关闭)
FASTTRACK <==> enable_fasttrack -> true (貌似已经停用了)
FTP/HTTP <==> enable_fileTP -> true
KAD <==> enable_kademlia -> true
OVERNET <==> enable_overnet -> true
SOULSEEK <==> enable_soulseek -> true (不常用可关闭)
4.带宽设置
max_concurrent_downloads -> 50或者更高 它表示同时下载文件数目
max_hard_download_rate -> 0 它表示下载速度限制,0表示不限制
max_hard_upload_rate -> 30或者更高, 它表示上传限制, 0表示不限制
max_indirect_connections -> 50或者70,它表示客户端允许的外来连接数为最大打开连接的百分比
max_opened_connections -> 924,它表示客户端最大打开连接,924为最大值
5.ED2K微调
ED2K-dynamic_upload_lifetime -> true
ED2K-force_client_high_id -> true 它表示强制客户端为高ID
ED2K-force_high_id -> true 它表示强制自己为高ID(当高ID可用的时候)
ED2K-good_client_rank -> 800 (数值自便),它表示需要维持连接的队列长度,这里表示的是队列800以内的连接会维持,大于800将断开,等待下一次访问
ED2K-max_connected_servers -> 40 它表示最大服务器的数目。
差不多主要的就这些 输入几个ed2k 链接让他下吧
文件下载到本地问题
由于linux是utf8编码的而win是gbk所以必然会乱码
用winscp的话请选择强制utf8编码 下载到本地就正常了
用vsftp的也一样 最好用filezilla 他支持强制utf8 编码
我基本下完文件就del 防止麻烦 本人的统计
| eDonkey |
Session Uptime: 11h 31m 18s |
41478 seconds |
|
| Brand |
: |
Seen |
% |
| |
Reqs |
% |
| |
B |
% |
| |
UL |
% |
KB/s |
| |
DL |
% |
KB/s |
| |
U:DL |
| unknown |
: |
13 |
(1%) |
| |
0 |
(0%) |
| |
0 |
(0%) |
| |
0 |
(0%) |
0.0 |
| |
396.4k |
(0%) |
0.0 |
| |
1:0.00 |
| eMule |
: |
1247 |
(98%) |
| |
62 |
(100%) |
| |
1 |
(100%) |
| |
67.8M |
(100%) |
1.7 |
| |
198.7M |
(98%) |
4.9 |
| |
1:2.93 |
| trusted mld |
: |
15 |
(1%) |
| |
0 |
(0%) |
| |
0 |
(0%) |
| |
0 |
(0%) |
0.0 |
| |
3.6M |
(2%) |
0.1 |
| |
1:0.00 |
| Total |
: |
1275 |
(100%) |
| |
62 |
(100%) |
| |
1 |
(100%) |
| |
67.8M |
(100%) |
1.7 |
| |
202.7M |
(100%) |
5.0 |
| |
1:2.99 |
|
| |
eDonkey |
Total Uptime: 23d 13h 3m 45s |
2034225 seconds |
|
| Brand |
: |
Seen |
% |
| |
Reqs |
% |
| |
B |
% |
| |
UL |
% |
KB/s |
| |
DL |
% |
KB/s |
| |
U:DL |
| unknown |
: |
8074 |
(1%) |
| |
6868 |
(1%) |
| |
65 |
(1%) |
| |
334.8M |
(1%) |
0.2 |
| |
81.8M |
(1%) |
0.0 |
| |
1:0.24 |
| eDonkey |
: |
474 |
(0%) |
| |
35 |
(0%) |
| |
0 |
(0%) |
| |
9.4M |
(0%) |
0.0 |
| |
6.8M |
(0%) |
0.0 |
| |
1:0.73 |
| eMule |
: |
750142 |
(96%) |
| |
630120 |
(96%) |
| |
7874 |
(99%) |
| |
34.71G |
(93%) |
17.9 |
| |
8.81G |
(93%) |
4.5 |
| |
1:0.25 |
| trusted mld |
: |
11262 |
(1%) |
| |
11392 |
(2%) |
| |
0 |
(0%) |
| |
1001.2M |
(3%) |
0.5 |
| |
251.5M |
(3%) |
0.1 |
| |
1:0.25 |
| shareaza |
: |
1206 |
(0%) |
| |
566 |
(0%) |
| |
0 |
(0%) |
| |
20.3M |
(0%) |
0.0 |
| |
192.5M |
(2%) |
0.1 |
| |
1:9.47 |
| aMule |
: |
6545 |
(1%) |
| |
4217 |
(1%) |
| |
0 |
(0%) |
| |
491.1M |
(1%) |
0.2 |
| |
95.2M |
(1%) |
0.0 |
| |
1:0.19 |
| lPhant |
: |
1809 |
(0%) |
| |
1466 |
(0%) |
| |
0 |
(0%) |
| |
136.2M |
(0%) |
0.1 |
| |
85.3M |
(1%) |
0.0 |
| |
1:0.63 |
| ePlus |
: |
5275 |
(1%) |
| |
4275 |
(1%) |
| |
0 |
(0%) |
| |
522.1M |
(1%) |
0.3 |
| |
40.0k |
(0%) |
0.0 |
| |
1:0.00 |
| Total |
: |
784787 |
(100%) |
| |
658939 |
(100%) |
| |
7939 |
(100%) |
| |
37.17G |
(100%) |
19.2 |
| |
9.51G |
(100%) |
4.9 |
| |
1:0.26 |
|
最后加入一句http管理地址是http://yourip:4080/
Tags: linux, emule, mldonkey
网络·技术 | 评论:0
| 阅读:1546
Post by tywtyw2002 on 2009, October 17, 12:10 PM
---------- Forwarded message ----------
From: Luke S Crawford <lsc@prgmr.com>
Date: Sat, Oct 17, 2009 at 6:02 AM
Subject: Re: [ABUSE ~DZT-881520]: Case ID 957546089 - Notice of
Claimed Infringement
To: zzh@rashost.com
can you deal with this?
"EGIHosting.com - Support" <support@egihosting.com> writes:
> Hello,
>
> You have received an abuse complaint from one of our upstream providers!
> We consider all abuse complaints very important and require you to respond to us
> and the third party within 48 hours. Failure to respond and to remedy this issue
> may result in impacted service.
>
>
> Abuse Department
> Energy Group Networks LLC
> http://www.egihosting.com
>
>
> MediaSentryCopyrightInfringement Posted on: 16 Oct 2009 08:43 AM
> ================================================================
> Friday, October 16, 2009
>
>
> EGIHosting
> 830 Hillview Court
> Suite 255
> Milpitas, CA 95035 US
>
>
> RE: Unauthorized Distribution of the Copyrighted Motion Picture Entitled
> Harry Potter and the Half-Blood Prince
>
>
> Dear Abuse Department:
>
> We are writing this letter on behalf of Warner Bros. Entertainment Inc. ("Warner Bros.").
>
> We have received information that an individual has utilized the below-referenced IP address at the noted date and time to offer downloads of copyrighted motion picture(s) through a "peer-to-peer" service, including such title(s) as:
>
> Harry Potter and the Half-Blood Prince
>
> The distribution of unauthorized copies of copyrighted motion pictures constitutes copyright infringement under the Copyright Act, Title 17 United States Code Section 106(3). This conduct may also violate the laws of other countries, international law, and/or treaty obligations.
>
> Since you own this IP address (72.13.95.173), we request that you immediately do the following:
>
> 1) Disable access to the individual who has engaged in the conduct described above; and
> 2) Take appropriate action against the account holder under your Abuse Policy/Terms of Service Agreement.
>
> On behalf of Warner Bros., owner of the exclusive rights to the copyrighted material at issue in this notice, we hereby state, that we have a good faith belief that use of the material in the manner complained of is not authorized by Warner Bros., its respective agents, or the law.
>
> Also, we hereby state, under penalty of perjury, under the laws of the State of California and under the laws of the United States, that the information in this notification is accurate and that we are authorized to act on behalf of the owner of the exclusive rights being infringed as set forth in this notification.
>
> Please direct any end user queries the following.
>
> Warner Bros. Entertainment Inc.
> Attn: Worldwide Anti-Piracy
> 4000 Warner Blvd.
> Burbank, CA 91522
> 818.954.3091 – phone
> infringements@warnerbros.com – email
>
>
> Kindly include the Case ID 957546089, also noted above, in the subject line of all future correspondence regarding this matter.
>
> We appreciate your assistance and thank you for your cooperation in this matter. Your prompt response is requested.
>
> Respectfully,
>
> A Kempe
> Enforcement Coordinator
> MediaSentry
>
>
>
> ------------------------------
>
> INFRINGEMENT DETAIL
> --------------------
>
> Infringing Work: Harry Potter and the Half-Blood Prince
> Filename: 哈利·波特与混血王子.Harry.Potter.and.the.Half.Blood.Prince.2009.DVD-RMVB-CD1-人人影视调整校对-极地熊.rmvb
> First Found: 15 Oct 2009 11:20:29 EDT (GMT -0400)
> Last Found: 15 Oct 2009 11:20:29 EDT (GMT -0400)
> Filesize: 358,112k
> IP Address: 72.13.95.173
> IP Port: 6575
> Protocol: eDonkey
> Username: [CHN][veryCD:334288][KTXP][popgo][eDtoon][TLF]tyw
>
>
> Infringing Work: Harry Potter and the Half-Blood Prince
> Filename: 哈利·波特与混血王子.Harry.Potter.and.the.Half.Blood.Prince.2009.DVD-RMVB-CD2-人人影视调整校对-极地熊.rmvb
> First Found: 15 Oct 2009 09:29:36 EDT (GMT -0400)
> Last Found: 15 Oct 2009 09:29:36 EDT (GMT -0400)
> Filesize: 408,836k
> IP Address: 72.13.95.173
> IP Port: 6575
> Protocol: eDonkey
> Username: [CHN][veryCD:334288][KTXP][popgo][eDtoon][TLF]tyw
>
>
>
>
>
>
> Regards,
>
> Ramesh Babu C.
> Support Tech
> Energy Group Networks LLC
> http://www.egihosting.com/
> Support: 888.808.8806
>
> Ticket Details
> ===================
> Ticket ID: DZT-881520
> Department: Support
> Priority: Critical
> Status: Open
>
>
Tags: fuck
心情·随笔 | 评论:2
| 阅读:1721
Post by tywtyw2002 on 2009, October 16, 6:42 PM
上次写到一半由于吃饭就耽搁下来了 回来后又因为做海报就没有再写 然后就拖到了现在
我们这里flg的报纸 报刊是漫天飞 天天都在介绍一些中央做错了的一些事情
其实报纸出的没错 仔细看来并没有从反party 的角度去写
报道的就是事实 而事实中的party 就是这样
比如 最近的×首事情 很早以前的64 蚁力神问题 ==
官霸一方 这事很明显的 地方官有着至高无上的权利 这样人不免会有一种 官+公安=黑社会的联想
这个等式就是成立的 中国官员的子弟 有多少是混的。。 答案会是80+%
所以说 对于某些事情还是不要管为好
我并不是消极 的对待民运 而是在中国这个国家民运是完全没有用的 或者说实在这几年没有用的
用鲁迅的一句话说 就是大家不求甚解 心理面没有那种最求 民主的思想
思想上不追求开放 ,自由 以为着跟着别人走 不去考虑事实是否如此。只是最求安逸
如果人们思想得不到改变 任何民运都是徒劳的 1亿人 运动 12亿人反运动 呵呵 会成功吗?
下面批判一下 学校 尤其是北京八一中学
老师天天说 你入团吧 入团就是思想先进 ×××× 还有以前我办班主任 跟个猴子似的 据说还是个积极的党员。。。
首先说 入团思想先进 入团思想有什么可先进的 什么叫思想先进 跟着party走就叫先进?
我操 要是party 让你死你去死吗 不去死就别说先进
你去死 你就去死吧
你可以说是团员学习都好 是入团的一项是要看学习成绩 但是也有学习差的入团呀? 网吧少年等等
什么是先进呢 5毛?
天天说鸡巴party好?
这不就是5毛吗。。。。。。。。
所以说 先进完全是瞎扯。
再说说团员 党员学习。。
找个度假村 然后找个辅导员。。。 然后上课开聊 晚上洗澡 打麻将 第二天上课睡觉 晚上接着玩 这就是 学习。。。。
真的是很悲哀呀 难道这样的现象不值得人们去反思吗? 或者说人们已经习惯了。。。。
哪天中国人民能够觉醒呢?
八一 每周升级都鸡巴提什么什么党呀 团呀 还鸡巴红十字学校 学你妈鸡巴呀。。。操
我这3年都没见过红十字培训。。。。 算了懒得骂八一
骂了也是那样。。。
Tags: 蛋疼
心情·随笔 | 评论:0
| 阅读:1035
Post by tywtyw2002 on 2009, October 10, 5:07 AM
如果无法访问请Https!
最近把flg 那个6.4的视频看了一下
感处很深
李*志 除了淡逼就是吹牛,跟本山哥有一拼。
虽然说李×× 很傻逼 但是flg的本质并不是邪教 如果说白了就是一个社会的群体, 这个集体因为中南海事件可能会威胁到中国party 的存在
所以老江头下令灭掉了他
中南海事件 1999年4月25日,简称425 万人上访 大概是何祚庥又在天津教育学院的《青少年博览》杂志上发表文章攻击法××
然后一些一些法轮功学员前往教育学院反映实情 4月23 日,天津公安动用300多名防暴警察殴打法**,并抓捕了45人。
学员要求放人,天津公安称是执行上级命令,让学员到北京上访解决问题。
所以就有了后来的425 运动。
以上是真相
算了 关于法** 还是不要多说 ccav1的报道不要相信 新糖人的报道也不要相信 他们都不是中立的 多多少少都带有自己的政治倾向 大家就当看个乐呵算了 关于ccav 报道那个天安门 紫焚 肯定是有问题 到底是谁干的不知道 肯定不是当是人自愿的 是完全被政治所操控的。
吃饭去 回来再写 总觉得这篇文章不像是文章
Tags: 蛋疼
心情·随笔 | 评论:0
| 阅读:2148
Post by tywtyw2002 on 2009, September 22, 4:08 AM
404 Not Found
/404.htm was not found on this server.
Resin Professional 3.0.21 (built Thu, 10 Aug 2006 12:17:46 PDT)
http://app.renren.com/profile/23163
报错
Resin是CAUCHO公司(http://www.caucho.com/)的产品,是一个非常流行的支持servlets 和jsp的引擎
看来校内改技术了 记得最早校内还是php呢
^_^
不知道现在数据库还是mysql了吗
好久没看见数据库错误的页面了。
Tags: 校内
网络·技术 | 评论:6
| 阅读:3980
Post by tywtyw2002 on 2009, September 22, 4:03 AM
我发现这个东西 vnstat是在vpser.com 还是net我也记不得了
按照他的教程思路大致装了一下
发现他写的东西里面出现了不少的错误
下面我结合自己的实践给大家写个完整版的教程吧
vnstat--一款简单监测指定网卡每日的传输流量软件
vnStat是一个Linux下的网络流量监控软件,它记录指定网卡每日的传输流量日志.
它并非基于网络包的过滤,而是分析文件系统- /proc, 所以vnStat无需root的权限就可使用
vnstat 有多个*nix版本:
vnstat 官网 : http://humdi.net/vnstat/
目前最新的是 vnstat-1.9.tar.gz
代码
- # wget http://humdi.net/vnstat/vnstat-1.9.tar.gz //下载
- # tar xvzf vnstat-1.9.tar.gz //解压
- # cd vnstat-1.9
- # make
- # make install
这样就安装完成了
本人系统为centos 5.3 64bit
建立流量数据库:
ifconfig 指令查看需要监控的网卡,假设只有eth0
然后生成数据库:
/usr/bin/vnstat -u -i eth0
然后做下计划任务
crontab -e
然后再最后加入
*/05 * * * * /usr/bin/vnstat --dumpdb -i eth0 >/data0/vnstat/vnstat_dump_eth0
*/05 * * * * if [ -x /usr/bin/vnstat ] && [ `ls /var/lib/vnstat/ | wc -l` -ge 1 ]; then /usr/bin/vnstat -u;fi
/data0/vnstat/vnstat_dump_eth0 为dump数据的位置可以自己定义 但是要跟php 文件匹配
把http://www.sqweek.com/sqweek/files/vnstat_php_frontend-1.4.1.tar.gz解压到http的目录里就ok了
然后调下config。php
$data_dir = ’/data0/vnstat/‘;要跟前面输出的目录一样
将要监控的网卡指定为1个:
// list of network interfaces monitored by vnStat
//$iface_list = array(’eth0′, ‘eth1′, ’sixxs’);
$iface_list = array(’eth0′,);
// will be displayed instead
//
$iface_title['eth0'] = ‘Internal’;
//$iface_title['eth1'] = ‘Internet’;
//$iface_title['sixxs'] = ‘SixXS IPv6′;
$graph_format='svg';要改成png 如 $graph_format='png';
否则你看不见图 svg 的ie插件很恶心 我试过svg的图 每次一进去ie就死。。。
效果:http://landon.v70.us/vnstat
Tags: vnstat, linux, 教程
网络·技术 | 评论:0
| 阅读:1762
Post by tywtyw2002 on 2009, September 21, 2:56 PM
由于最及网络卡的很 ssl连接基本连不上所以改用ftp了。下面就是在64位操作系统上安装vsftp
下载地址是ftp://vsftpd.beasts.org/users/cevans/
目前最新版本是2。20 吧
我习惯2.04 所以就用2.04了
[root@v70.us software]#wget ftp://vsftpd.beasts.org/users/cevans/vsftpd-2.0.4.tar.gz
[root@v70.us software]#tar zxvf vsftpd-2.0.4.tar.gz
[root@v70.us software]#cd vsftpd-2.0.4
因为实在64位操作系统上安装 所以要打个补丁 2.20是不用2.04是一定要 其他版本不详
如果编译到sysdeputil文件时出现如下错误
specified for parameter 'sendfile'
sysdeputil.c:186: error: storage class specified for parameter 'environ'
sysdeputil.c:187: error: storage class specified for parameter 's_proctitle_space'
sysdeputil.c:187: error: parameter 's_proctitle_space' is initialized
sysdeputil.c:188: error: storage class specified for parameter 's_proctitle_inited'
sysdeputil.c:188: error: parameter 's_proctitle_inited' is initialized
sysdeputil.c:189: error: storage class specified for parameter 's_p_proctitle'
sysdeputil.c:189: error: parameter 's_p_proctitle' is initialized
sysdeputil.c:201: error: storage class specified for parameter 'do_sendfile'
sysdeputil.c:202: error: storage class specified for parameter 'vsf_sysutil_setproctitle_internal'
sysdeputil.c:203: error: storage class specified for parameter 's_proctitle_prefix_str'
sysdeputil.c:278: error: storage class specified for parameter 's_pamh'
sysdeputil.c:279: error: storage class specified for parameter 's_pword_str'
sysdeputil.c:281: error: storage class specified for parameter 'pam_conv_func'
sysdeputil.c:282: error: storage class specified for parameter 'vsf_auth_shutdown'
sysdeputil.c:288: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
sysdeputil.c:383: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
sysdeputil.c:398: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
sysdeputil.c:436: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
sysdeputil.c:474: error: storage class specified for parameter 'do_checkcap'
sysdeputil.c:478: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
sysdeputil.c:497: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
sysdeputil.c:514: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
sysdeputil.c:527: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
sysdeputil.c:604: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
sysdeputil.c:641: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
sysdeputil.c:796: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
sysdeputil.c:803: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
sysdeputil.c:809: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
sysdeputil.c:856: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
sysdeputil.c:889: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
sysdeputil.c:930: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
sysdeputil.c:935: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
sysdeputil.c:976: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
sysdeputil.c:1012: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
sysdeputil.c:1128: error: storage class specified for parameter 's_uwtmp_inserted'
sysdeputil.c:1129: error: storage class specified for parameter 's_utent'
sysdeputil.c:1134: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
sysdeputil.c:1173: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
sysdeputil.c:1189: error: old-style parameter declarations in prototyped function definition
sysdeputil.c:162: error: parameter name omitted
sysdeputil.c:162: error: parameter name omitted
sysdeputil.c:162: error: parameter name omitted
sysdeputil.c:1189: error: expected '{' at end of input
make: *** [sysdeputil.o] Error 1
就需要打补丁了
不打补丁的跳过这步
=========================================
[root@v70.us vsftpd-2.0.4]#wget http://linuxfromscratch.org/pipermail/lfs-dev/attachments/20061019/fd9b9f56/attachment.bin
[root@v70.us vsftpd-2.0.4]#patch sysdeputil.c attachment.bin
====================================================
64位的话make 还会出错是找不到 /lib/libpam.so,这个需要更改文件vsf_findlibs.sh
把第15行(我的文件是15行)locate_library /lib/libpam.so.0 && echo "/lib/libpam.so.0";中的lib 改成 lib64
如locate_library /lib64/libpam.so.0 && echo "/lib64/libpam.so.0";
[root@v70.us vsftpd-2.0.4]#make &&make install
安装完成 最后如果出现man config无法安装不用管了
反正用的也是自己的配置
安装到这里就结束了
下面该是配置了
一般都是pam+db数据库吧 然后使用虚拟用户映射到本地用户
添加ftp 用户 useradd -d /data0/ftp -s /sbin/nologin vsftpd
mkdir /data0/ftp
chown /data0/ftp ftp
然后编写pam文件
如果是32位系统就用 example里面的就ok了
如下 vi / etc/pam.d/vsftpd.pam
auth required /lib/security/pam_userdb.so db=/etc/vsftp/vsftpd_login
account required /lib/security/pam_userdb.so db=/etc/vsftp/vsftpd_login
如果是64位的加个64就ok了 如下
auth required /lib64/security/pam_userdb.so db=/etc/vsftp/vsftpd_login
account required /lib64/security/pam_userdb.so db=/etc/vsftp/vsftpd_login
这样pam就ok了
然后配置vsftp的配置文件
vsftp的配置目录在/etc/vsftp/
建议一个vsftpd.conf
vi /etc/vsftp/vsftpd.conf
必须写入
guest_username=ftp 这句是用户映射 使用ftp作为虚拟用户
pam_service_name=vsftpd.pam 这句是调用pma
其他的就按自己实际情况来写了
具体的看。。。
下面的是我自己用的 具体的先不解释了 最好别用我的 我的是如果不在user_list.ftp1加入用户名的话是不能登陆的
加了用户名后还要在/etc/vsftp/ftp1_userconf/ 建立一个是用户名的文件设置具体的权限
guest_enable=YES
pam_service_name=vsftpd.pam
anonymous_enable=NO
local_enable=YES
write_enable=no
local_umask=022
dirmessage_enable=YES
xferlog_enable=no
connect_from_port_20=YES
chroot_local_user=YES
guest_username=ftp
userlist_enable=YES
userlist_deny=no
userlist_file=/etc/vsftp/user_list.ftp1
listen=yes
listen_port=21
tcp_wrappers=no
virtual_use_local_privs=YES
chroot_local_user=YES
chroot_list_enable=yes
chroot_list_file=/etc/vsftp/chroot_list.ftp1
ascii_download_enable=yes
ascii_upload_enable=yes
pasv_max_port=6000
pasv_min_port=5000
user_config_dir=/etc/vsftp/ftp1_userconf/
ftpd_banner=welcome to coshim
用虚拟用的话还有建立db数据库下面开始建立db数据库
先安装
yum -y install db4 db4-utils
然后 进入目录/etc/vsftp/
cd /etc/vsftp/
添加用户名文件
单行为用户名,双行为密码,例如
#vi userpass
xuchen
12345
然后把文本转换成db4
# db_load -T -t hash -f userpass vsftpd_login.db
# chmod 600 vsftpd_login.db
这样配置就完成了
启动vsftpd /etc/vsftp/vsftpd.conf &就可以了
如果要自动启动就 vi /etc/rc.local
加入vsftpd /etc/vsftp/vsftpd.conf &就可以了
每台服务器的状况都不一样
本文只作为一个大致参考的文章
我也没有太认真的写,但是基本思路及做法肯定都是没问题的。有什么问题可以留言 我会帮你解决。
Tags: linux, vsftp, 教程
网络·技术 | 评论:0
| 阅读:2490