存档

‘√文章精选’ 分类的存档

出售CACA代理

2010年5月6日 6 条评论

CACA代理请访问: http://caca.viyin.net

5月7号密码更新

提供一个测试帐号。支持PE吸附。和CACA同步更新。质量保证!每天有效代理3-8W

http://.ptcy.net/?uname=viyinnet&pwd=viyinnet2010&action=login

测试帐号不定期的更改。具体请联系本人。QQ 7676002

阅读全文…

无话可说

2010年4月26日 5 条评论
分类: √文章精选 标签:

windows server 2008安装windows media player

2010年4月22日 1 条评论

开始,/程序/服务器管理/功能/点添加/桌面体验安装完就可以用了

分类: √文章精选 标签: ,

freebsd下apache+nginx+php+mysql+eaccelerator+memcache安装配置

2010年4月19日 没有评论

freebsd下apache+nginx++++memcache安装配置
太长了。到后面没那么细心了。直接复制粘贴上来。就不加说明了。
1.安装apache

bsd1# pwd
/usr/ports/www/22
bsd1# make install clean

2.安装MYSQL
./configure –prefix=/usr/local/mysql –enable-assembler –with-charset=utf8 –enable-thread-safe-client –with-extra-charsets=all –with-big-tables –with-readline –with-ssl –with-embedded-server –enable-local-infile –with-plugins=innobase

make -j 5
make install
groupadd mysql
useradd -g mysql mysql
cp /usr/local/mysql/share/mysql/my-medium.cnf /etc/my.cnf
/usr/local/mysql/bin/mysql_install_db –user=mysql
chown -R mysql /usr/local/mysql/var
chgrp -R mysql /usr/local/mysql/.
cp /usr/local/mysql/share/mysql/mysql.server /etc/init.d/mysql
chmod 755 /etc/init.d/mysql
这是linux的安装命令。BSD照着改一下

2.安装PHP
先装组件jpeg,libpng,freetype,zlib,gd,curl,libxml2,libxslt,libmcrypt
pkg_add -r gd
pkg_add -r freetype
pkg_add -r curl
pkg_add -r libxml2
pkg_add -r libxslt
pkg_add -r libmcrypt
pkg_add -r mhash
./configure –prefix=/usr/local/php –with-config-file-path=/etc –with-apxs2=/usr/local/sbin/apxs –with-mysql=/usr/local/mysql –with-mysqli=/usr/local/mysql/bin/mysql_config –with-iconv-dir –with-freetype-dir –with-jpeg-dir –with-png-dir –with-zlib –with-libxml-dir –enable-xml –disable-rpath –enable-discard-path –enable-magic-quotes –enable-safe-mode –enable-bcmath –enable-shmop –enable-sysvsem –enable-inline-optimization –with-curl –with-curlwrappers –enable-mbregex –enable-force-cgi-redirect –enable-mbstring –with-mcrypt –enable-ftp –with-gd –enable-gd-native-ttf –with-openssl –with-mhash –enable-pcntl –enable-sockets –with-xmlrpc –enable-zip –enable-soap –without-pear –with-gettext –with-mime-magic –enable-suhosin
make &&make install
cp php.ini-dist /etc/php.ini
阅读全文…

SSH密钥配置

2010年4月15日 1 条评论

linux 创建
#-keygen -t rsa

[root@viyin.net ~]# ls ~/.ssh/
id_rsa id_rsa.pub known_hosts

CRT-工具-创建公钥-RSA

生成密钥.

上传CRT所生成的Identity.pub 到~/.ssh/

ssh-keygen -X -f Identity.pub >> /root/.ssh/ (SSH配置文件里默认文件名)

FreeBSD下的多线程命令行下载工具axel

2010年4月14日 6 条评论

cd /usr/ports/ftp/
make install distclean

修改配置
# echo num_connections = 10 >> /usr/local/etc/axelrc
设置并发线程为10(默认是4,前面不要留空格,可以用rehash刷新一下命令行)

如果ports的fetch要用axel代替,则编辑make.conf文件
#vi /etc/make.conf

增加
echo FETCH_CMD=axel >> /etc/make.conf
DISABLE_SIZE=yes >> /etc/make.conf

例子:

axel -n 50 ftp://ftp.{jp,cn,de,uk,be,nl,tw}..org/pub//ISO-IMAGES-amd64/7.1/7.1-RELEASE-amd64-dvd1.iso.gz
开50个并发连接,从jp, cn,de,uk,be,nl,tw等几个服务器多线程下载FreeBSD 7.1 release amd64的dvd镜像文件。

nginx 404 php页面

2010年4月10日 没有评论

配置文件中增加
fastcgi_intercept_errors on;