Author Archives: coder4

vps初始配置

开机,内存使用36M,好强大...

0、更改密码
[shell]
#root登陆后,先更改密码,输入passwd后,连续两次新密码即可
passwd
[/shell]

1、安装vim

[shell]
#默认只有vi,没有vim...囧
yum install vim-enhanced
[/shell]

2、修改PS1
[shell]
vi /root/.bash_profile

# .bash_profile
# Get the aliase[......]

继续阅读

PHP配置APC

APC是一个很好的PHP加速器,比起Xcache来说,速度略逊,但是省内存!

[shell]
#下载、编译
wget http://pecl.php.net/get/APC-3.1.4.tgz
tar -xzvf APC-3.1.4.tgz
cd APC-3.1.4
./configure --enable-apc --enable-apc-mmap --with-php-config=/usr/local/php/bin/php-config

#安装、设置
[/shel[......]

继续阅读

KVM中安装Windows XP Guest并使用virtio

1、下载最新的virto for win驱动

有两个:
virtio-win-xxxx.vfd
virtio-win-xxx.iso

2012.2.23更新:

我猛然发现vfd已经不提供下载了,于是把最新版本共享出来:

http://hotfile.com/dl/147534533/7d6548d/virtio-win-1.1.16.vfd.html

前者是windows安装时候加驱动用的(软盘镜像),后者是装好了再加驱动(光盘镜像)
本文主要叙述安装时候加载[......]

继续阅读