vps参考资料/收集供个人参考

【Tips】这篇文章没什么价值,请忽略吧。本站右侧栏靠上位置有VPS推荐,可以参考。

https://www.diahosting.com/index.html   中国人在美国搞的,DiaHosting旨在为广大中国站长提供自主管理的美国优质VPS,我们的所有VPS均采用Xen虚拟技术,保证了VPS的质量,同时我们也是国内首 家提供Xen-Shell管理平台的VPS供应商,加上我们二次开发的重装系统功能,Xen-Shell完全可以满足用户需求,我们也会根据客户的需要加 入更多功能。

 

国外域名主机商推荐-大海推荐

我个人推荐的域名主机服务商

 

比较便宜的3$/mo http://virpus.com/budget-vps/

http://www.yardvps.com/openvz.php  电信访问速度一般,网通超快,支付宝

http://www.burst.net/linvps.shtml  Memory: 512MB GUARANTEED IP Addresses: 2 (IPv4) + IPv6 $5.95/MONTH

不借助windows之外任何工具解压msi文件并提取其中文件

核心:

如需把f盘下test.msi文件解开到目录f:\dir,操作如下:

打开命令提示符,输入

msiexec /a "F:\test.msi" /qb TARGETDIR="F:\dir"  //注释:其中F:\test.msi是msi文件的路径,F:\dir 是解压路径。

回车,将会显示跟安装 msi文件类似的界面,但速度很快,因为只有解压而没有安装的过程。

操作日志记录:

同事拿来一张光盘,里面是一个查询系统功能,需要把其中查询出来的结果导出为电子表格。打开光盘看里面主要文件是一个msi文件,其它还有.net framwork、字体图片等文件,不用说,数据库应该在msi文件里面,一般msi要安装才能使用,但习惯上msi安装很慢,要“配置”老半天。前些天观察nod32扫描,它可以扫描msi文件的内部,也就是说msi也是一个公开的压缩格式。首先怀疑是zip格式,修改文件名后缀为.zip,打开,显示格式错误,又尝试.cab,也不对。于是上网搜索得解决之法如上。

msi文件是使用msiexec打开的。

网上有很多第三方的工具,用于解压缩提取msi文件,但其实根本没有必要,会想到解压缩msi文件的人,肯定不是菜鸟,对命令行多少都会懂得一些,使用命令行,更快捷,且不用安装乱七八糟的第三方软件。

参考:

在命令行下输入msiexec,不加任何参数,显示msiexec 文档如下

------------- msiexec 文档----------------------------------------------------

Windows (R) Installer. V 4.5.6001.22159

msiexec /Option <Required Parameter> [Optional Parameter]

安装选项
</package | /i> <Product.msi>
安装或配置产品
/a <Product.msi>
管理安装 - 在网络上安装产品
/j<u|m> <Product.msi> [/t <Transform List>] [/g <Language ID>]
公布产品 - m 公布到所有用户,u 公布到当前用户
</uninstall | /x> <Product.msi | ProductCode>
卸载产品
显示选项
/quiet
安静模式,无用户交互
/passive
无人参与模式 - 只显示进度栏
/q[n|b|r|f]
设置用户界面级别
n - 无用户界面
b - 基本界面
r - 精简界面
f - 完整界面(默认值)
/help
帮助信息
重新启动选项
/norestart
安装完成后不重新启动
/promptrestart
必要时提示用户重新启动
/forcerestart
安装后始终重新启动计算机
日志选项
/l[i|w|e|a|r|u|c|m|o|p|v|x|+|!|*] <LogFile>
i - 状态消息
w - 非致命警告
e - 所有错误消息
a - 操作的启动
r - 操作特定记录
u - 用户请求
c - 初始用户界面参数
m - 内存不足或致命退出信息
o - 磁盘空间不足消息
p - 终端属性
v - 详细输出
x - 额外调试信息
+ - 扩展到现有日志文件
! - 每一行刷新到日志
* - 记录所有信息,除了 v 和 x 选项
/log <LogFile>
与 /l* <LogFile> 相同
更新选项
/update <Update1.msp>[;Update2.msp]
应用更新
/uninstall <PatchCodeGuid>[;Update2.msp] /package <Product.msi | ProductCode>
删除产品的更新
修复选项
/f[p|e|c|m|s|o|d|a|u|v] <Product.msi | ProductCode>
修复产品
p - 仅当文件丢失时
o - 如果文件丢失或安装了更旧的版本(默认值)
e - 如果文件丢失或安装了相同或更旧的版本
d - 如果文件丢失或安装了不同版本
c - 如果文件丢失或较验和与计算的值不匹配
a - 强制重新安装所有文件
u - 所有必要的用户特定注册表项(默认值)
m - 所有必要的计算机特定注册表项(默认值)
s - 所有现有的快捷键方式(默认值)
v - 从源运行并重新缓存本地安装包
设置公共属性
[PROPERTY=PropertyValue]

请查阅 Windows (R) Installer SDK 获得有关
命令行语法的其他文档。

版权所有 (C) Microsoft Corporation. 保留所有权利。
此软件的部分内容系基于 Independent JPEG Group 的工作。

-----------------------------------------------------------------

扯淡的国产操作系统!

两大国产操作系统联手抗微软:争夺“桌面”
http://3g.163.com/ntes/10/1217/00/6O2M6KBC000915BD_1_1.html
扯淡!只是一个linux发行版,还大言不惭的说国产操作系统,恐怕又是个汉芯,红旗4 linux的配置文件里都有大量redhat的文字,这个大概好不到哪里

使用 Wordmobi 发布

windows下PHP 激活mbstring扩展及php.ini中相关基本设置

windows下PHP 激活mbstring扩展及php.ini中相关基本设置

在php.ini 里修改了如下内容
;extension=php_mbstring.dll
把分号去掉就可以了
还有php_mbstring.dll位置注意下
[mbstring]
mbstring.internal_encoding = EUC-JP
mbstring.http_input = auto
mbstring.http_output = SJIS
mbstring.detect_order = auto
mbstring.substitute_character = none;

windows下安装多个不同版本的apache+php/多版本共存

这个办法事实上有缺陷的,印象中后来实际使用中发现过问题,大概是php读取php.ini文件的目录、还有PATH环境变量的问题,具体不记得了,是好几年前的东西。windows下还是不折腾了。或者可以试试fast cgi模式。(补记于 161011 13:16)

如下几个php根目录下文件,拷到apache的/bin/目录

php5ts.dll

libmysql.dll

apache配置文件里
LoadModule php5_module "G:/Program Files/php5/php5apache2.dll"
PHPIniDir "G:/Program Files/php5"  ##这一条很重要

在命令行下运行apache/bin/Apache.exe,后面不需要带apache配置文件路径等参数就可以,如果有错误,把报错的.dll文件拷到apache/bin里,直到没有错误为止

先简单的写一下,主要的核心步骤,具体内容稍后再完善。

垃圾114的程序错误

垃圾的流氓114,劫持dns,突然它的页面上显示了一大堆出错消息。

Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of xml_parser_set_option(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file in /usr/local/apache2/htdocs/web/xml.php on line 63

Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of xml_set_object(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file in /usr/local/apache2/htdocs/web/xml.php on line 64

Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of xml_set_object(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file in /usr/local/apache2/htdocs/web/xml.php on line 64

Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of xml_set_element_handler(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file in /usr/local/apache2/htdocs/web/xml.php on line 65

Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of xml_set_character_data_handler(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file in /usr/local/apache2/htdocs/web/xml.php on line 66

Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of xml_parser_free(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file in /usr/local/apache2/htdocs/web/xml.php on line 68

Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of xml_parse(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file in /usr/local/apache2/htdocs/web/xml.php on line 73

Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of xml_parse(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file in /usr/local/apache2/htdocs/web/xml.php on line 73

TLS (Transport Layer Security)


TLS - Transport Layer Security ( 為網路 OSI 七層中的第四層加密技術,SSL - Secure Socket Layer 協定為之前身 )
SASL - Simple Authentication and Security Layer ( 簡易的安全認證,SASL 同時也提供 SMTP 認證,定義在 RFC-2554
http://www.ietf.org/rfc/rfc2554.txt )
Key - 安全連線金鑰 ( key-pair ) CA - 授權憑證 ( Certification Authority )

網路上有些獨立公正單位例如 VeriSign 及 GlobalSign 等等、、、它們就是專門販賣安全金鑰 Key 以及授權憑證 CA 的單位,我們這邊採用自行製作安全金鑰以及授權憑證,自行製作的安全金鑰與授權憑證在功能上與買來的相同只是向獨立公正單位購買來的 Key 跟 CA會讓 Client 使用者心理上覺得比較有保障因為我們不做生意所以也不需要花錢買Key 跟 CA ,這邊 Postfix + TLS 主要目的是保障我的連線加密防止帳號密碼外洩。