^_^

2010年2月1日星期一

为 Murmur 安装配置 Web 管理界面

上次我们已经介绍过 Ubuntu 下 Murmur 的安装、配置过程了,今天在看看 Murmur 的维护及管理。官方文档《Running Murmur》推荐了几中方案,对比下来,以“Mumble-Django”兼容性最好,我们也就选它了。

首先设定 Web Server,详细参见文档《Webserver Setup》。

安装 Django
root001@ubuntu001:~$ tar xzvf Django-1.1.1.tar.gz
...
root001@ubuntu001:~$ cd Django-1.1.1
root001@ubuntu001:~/Django-1.1.1$ sudo python setup.py install
...
安装 django-registration
root001@ubuntu001:~$ sudo easy_install django-registration
...
安装 Python Imaging Library
root001@ubuntu001:~$ tar zxvf Imaging-1.1.7.tar.gz
...
root001@ubuntu001:~$  cd Imaging-1.1.7/
root001@ubuntu001:~/Imaging-1.1.7$ sudo python setup.py install
...
安装 python-zeroc-ice
root001@ubuntu001:~$ sudo dpkg -i python-zeroc-ice_3.3.1-6_amd64.deb
...
安装、配置 Mumble-Django
root001@ubuntu001:~$ sudo hg clone http://bitbucket.org/Svedrin/mumble-django/
...
设定 SLICE_VERSION = (1, 2, 0) in mumble-django/pyweb/settings.py
root001@ubuntu001:~/mumble-django/pyweb$ sudo python manage.py syncdb
/usr/local/lib/python2.6/dist-packages/django_registration-0.7-py2.6.egg/registration/models.py:4: DeprecationWarning: the sha module is deprecated; use the hashlib module instead
Creating table auth_permission
Creating table auth_group
Creating table auth_user
Creating table auth_message
Creating table django_admin_log
Creating table django_content_type
Creating table django_session
Creating table django_site
Creating table registration_registrationprofile
Creating table mumble_mumble
Creating table mumble_mumbleuser

You just installed Django's auth system, which means you don't have any superusers defined.
Would you like to create one now? (yes/no): yes
Username (Leave blank to use 'root'):
E-mail address: greatfoolbear@gmail.com
Password:
Password (again):
Superuser created successfully.
--- Murmur connection info ---
  1) DBus -- net.sourceforge.mumble.murmur
  2) ICE  -- Meta:tcp -h 127.0.0.1 -p 6502
Enter 1 or 2 for the defaults above, nothing to skip Server detection,
and if the defaults do not fit your needs, enter the correct string.
Whether to use DBus or ICE will be detected automatically from the
string's format.

Service string:
Be sure to run "python manage.py syncdb" with Murmur running before trying to use this app! Otherwise, existing Murmur servers won't be configurable!
Installing index for auth.Permission model
Installing index for auth.Message model
Installing index for admin.LogEntry model
Installing index for mumble.MumbleUser model
root001@ubuntu001:~/mumble-django/pyweb$ python manage.py runserver 0.0.0.0:8000
Validating models...
/usr/local/lib/python2.6/dist-packages/django_registration-0.7-py2.6.egg/registration/models.py:4: DeprecationWarning: the sha module is deprecated; use the hashlib module instead
0 errors found

Django version 1.1.1, using settings 'pyweb.settings'
Development server is running at http://0.0.0.0:8000/
Quit the server with CONTROL-C.
本站文章除注明外,均为本站原创
转载请注明文章转载自: 大笨熊乐园 [ https://blog.foolbear.com/ ]
文章标题: 为 Murmur 安装配置 Web 管理界面
文章地址: https://blog.foolbear.com/2010/02/murmur-web.html

没有评论 :

发表评论

Related Posts with Thumbnails