经过一段时间的折腾,抛弃了功能强大、使用复杂的kloxo,决定还是使用轻量级简单的LNMP环境来搭建。
问题又来了,nginx中不支持SVN服务器的配置,所说这些功能目前还在开发中,于是乎,决定抛开这些WEB容器,直接使用SVN,大不了不在浏览器中浏览而已。
首先下载SVN的源码包:
wget http://subversion.tigris.org/downloads/subversion-1.6.15.tar.bz2
wget http://subversion.tigris.org/downloads/subversion-deps-1.6.15.tar.bz2:这个包中包含了离开apache 安装SVN所依赖的全部组件文件。这个是必须要的。
解压源码包:
tar jxvf subversion-1.6.15.tar.bz2
tar jxvf subversion-deps-1.6.15.tar.bz2
这两个文件会解压到同一个文件夹下,接着进行文件夹进行编译安装:
./configure
make
make install
UTF8[......]
Read more
UnixBench is the original BYTE UNIX benchmark suite, updated and revised by many people over the years.
The purpose of UnixBench is to provide a basic indicator of the performance of a Unix-like system; hence, multiple tests are used to test various aspects of the system's performance. These test results are then compared to the scores from a baseline system to produce an index value, which is generally easier to handle than the raw scores. The entire set of index values is then combined to make an overall index for the system.
Some very simple graphics tests are included to measure the 2D and 3D graphics performance of the system.
Multi-CPU systems are handled. If your system has multiple CPUs, the default behaviour is to run the selected tests twice — once with one copy of each test program running at a time, and once with N copies, where N is the number of CPUs. This is designed to allow you to assess:
UTF8_EXCERPT_HAS_M[......]
Read more
apahce2+php的方式还是占用了太多的内存,现在这个VPS256M的内存根本运行不起来,打开两个页面,就内存不足了。
于是乎想到了Nginx,据说这是个轻量级的web server,系统资源占用量也少,试试吧。
每一步:安装Nginx及PHP相关软件
安装Nginx:sudo apt-g[......]
Read more
apache2的配置文件在/etc/apach2/apache2.conf,这个文件是全局配置。
在sites-enabled下可以为某个站点进行配置,可以一个站点为一个配置文件。
apache2虚拟主机的设置方式:
虚拟主机(Virtual Host)是指在一个机器上运行多个网络站点 (比如[......]
Read more
VPS服务器的操作系统安装好了,要装ftp,不然我的blog文件没有办法传到服务器上哦。
ubuntu下安装软件很简单,直接apt-get install 就行了。主要是配置方面的了。
vsftp的配置文件在/etc/vsftpd.conf
需要改动的地方:
简单配置:
#不让匿名用户使用[......]
Read more
在网上研究了近半个月关于VPS的资料,综合考虑了VPS的类型,配置参数,价格等各方面的因素,选用hellohost.net的VPS。
hellohost.net的VPS是使用OpenVZ 技术,在性能上可能比基于XEN的VPS要差点,但价格相对来说较便宜,先试用下了。使用OpenVZ 技术的VPS[......]
Read more
准备购买一台VPS,对比了多家VPS提供商,国外的、国内的,注意纠结于究竟是Openvz好还是Xen好的问题,于是查阅了一些资料,得到一些心得,分享一下。
下面的这篇翻译自hostingfu.com,Observer进行了翻译,本人进一步加了注释。
一、Openvz和Xen的技术[......]
Read more
什么是VPS
VPS是Virtual Private Server的缩写,直译为虚拟专用服务器。顾名思义,它不是一台真实的物理服务器,同时它又区别于Shared Hosting(虚拟主机),使用者对VPS拥有完全的控制权,即Root Access。
VPS的特点
1、相对独立的[......]
Read more
最近评论