最近看了SINA的开源项目xbaydns,,非常心动,所以装了一个试试看,虽然现在还不支持LINUX,安步骤写下了,下次可能用的上
1、安装python2.5.1
wget
tar -zxvf Python-2.5.1.tgz
cd Python-2.5.1
./configure
make;make install
2、安装Django setuptool dnspython
wget
tar -xzvf Django-0.96.1.tar.gz
cd Django-0.96.1
python setup.py install
tar -zxvf setuptools-0.6c8.tar.gz
cd setuptools-0.6c8
python setup.py install
tar -zxvf dnspython-1.6.0.tar.gz
cd dnspython-1.6.0
python setup.py install
3、这些安装都很简单,因为xbaydns要用到sqlite,,所以还要安装sqlite和pysqlite
wget
tar -zxvf sqlite-3.5.6.tar.gz
cd sqlite-3.5.6
./configure
make;make install
tar -zxvf pysqlite-2.4.1.tar.gz
cd pysqlite-2.4.1
python setup.py install
4、安装xbaydns
wget
tar -zxvf xbaydns1.0.0.tar.gz
cd xbaydns1.0.0
因为现在还不完整,所以只能是试一下他的WEB页面,Django的WEB页面
cd xbaydnsweb
[root@localhost xbaydnsweb]# cat run.sh
python manage.py runserver 0.0.0.0:80
[root@localhost xbaydnsweb]# ./run.sh
Validating models...
0 errors found.
Django version 0.96.1, using settings ''
Development server is running at
Quit the server with CONTROL-C.
好了,现在就可以打开网页了 看两个截图
阅读(3137) | 评论(0) | 转发(0) |