Archive for the 服务器 Category

优化低内存VPS

Posted on 五月 19, 2010 by 荒野无灯

由于VPS 内存只有512M ,不得不采取一些方法来优化下了。 对于OpenVZ的VPS,由于不支持swap,只能省着点用内存了。 只有Xen的VPS可以,OpenVZ不支持添加swap 《VPS优化之添加swap交换分区》  1、进... Continue Reading

vps 编译程序时virtual memory exhausted: Cannot allocate memory错误

Posted on 五月 16, 2010 by 荒野无灯

http://wiki.vpslink.com/Prevent:_Compiling_Yields_%27Cannot_allocate_memory%27 产生这个错误的原因是 gcc 编译器把整个服务器的物理内存当作目前服务器拥有的内存了,而不是VPS 的内存,因此,当它试图使用... Continue Reading

折腾VPS:LNMP+VSFTPD的搭建

Posted on 五月 16, 2010 by 荒野无灯

VPS 我用的是ubuntu 9.10 server x86的,因为个人对ubuntu 更熟悉一些,至于CentOS,没有折腾过。有时间再折腾吧。 先安装 vsftpd ,这是为了便于传文件,我可以在本地修改好配置文件,然后通过ftp传过... Continue Reading

安装vsftpd再次遇到530 login incorrect

Posted on 五月 15, 2010 by 荒野无灯

发现登录不成功,提示 530 login incorrect 可是明明我用户名和密码都正确,配置也正确啊 123456789root@vps:/etc# ldd /usr/local/sbin/vsftpd         libcrypt.so.1 => /lib/tls/i686/cmov/libcrypt.so.1 (... Continue Reading

PHP编译出错:error while loading shared libraries: libfreetype.so.6

Posted on 五月 15, 2010 by 荒野无灯

12/home/soft/php_5_3_fpm/sapi/cli/php: error while loading shared libraries: libfreetype.so.6: cannot open shared object file: No such file or directory make: *** [ext/phar/phar.php] Error 127 12/home/soft/php_5_3_fpm/sapi/cli/php: error while... Continue Reading

编译安装PHP出错configure: error: GD build test failed.

Posted on 五月 15, 2010 by 荒野无灯

123456789101112131415161718checking pcre install prefix… no checking whether to enable FTP support… no checking OpenSSL dir for FTP… no checking for GD support… yes checking for the location of libjpeg… /usr/local checkin... Continue Reading

vsftpd 530 login incorrect

Posted on 五月 1, 2010 by 荒野无灯

今天重新安装和配置vsftpd,遇到到启动服务后登录遇到vsftpd 530 login incorrect这个错误提示。 /etc/vsftpd.conf 文件中已经设置好了 123guest_enable=YES guest_username=ftpuser user_config_dir=/etc/vsftpd/vsftpd_user_conf ... Continue Reading

Windows下安装BIND作为DNS缓存服务器

Posted on 四月 10, 2010 by 荒野无灯

以前写过一篇文章,也是关于windows下面的dns 缓存服务器的,叫《Acrylic:让你在win一分钟建立DNS缓存服务器》 , Acrylic的确够小巧的,这次要介绍的是大名鼎鼎的bind啦。 由于我以前在LINUX下架... Continue Reading

Cannot load C:/php/php5apache2_2.dll into server错误的解决办法

Posted on 十一月 9, 2009 by 荒野无灯

以前一直用wamp ,这个东西方便是方便, 但是稳定性和兼容性都不如自己配置的要好,所以还是自己弄一个好,毛主席说:“自己动手,丰衣足食”。说得好啊。 好久没有弄win了,现在又回过... Continue Reading

当你的Ubuntu Linux服务器死机了该怎么处理[转]

Posted on 十一月 7, 2009 by 荒野无灯

本文转载自:永远的乌班图 在Windows系统下摸爬滚打了这么多年,对系统死机这种情况,都已经是家常便饭了,特别是在早期的Windows98时代,每天电脑不死几回机,都感觉少点什么!现在转到... Continue Reading