disco在ubuntu上的安装(原创)
2009-05-08 13:13
267 查看
disco在ubuntu上的安装
首先转换成超级用户root进行安装 sudo -s
opt安装
lightTPD安装
注意:在用disco的配置文件启动lighttpd时,当前用户的UID和GID都不能为0,否则报错!无法启动LIGHTTPD!!
python2.5的安装
python2.5的安装 官网说明
Unpack the archive with tar -zxvf Python-2.5.4.tgz (or bzcat Python-2.5.4.tar.bz2 | tar -xf -). Change to the Python- 2.5.4 directory and run the "./configure", make", "make install" commands to compile and install Python. The source archive is also suitable for Windows users who feel the need to build their own version
setuptools-0.6c9-py2.5.egg安装
注意:如果用apt-get install 安装的话,在安装disco是会出现python 导入steuptools出错
setuptools-0.6c9-py2.5.egg安装 官网说明
Download the appropriate egg for your version of Python (e.g. setuptools-0.6c9-py2.5.egg). Do NOT rename it. Run it as if it were a shell script, e.g. sh setuptools-0.6c9-py2.5.egg. Setuptools will install itself using the matching version of Python (e.g. python2.5), and will place the easy_install executable in the default location for installing Python scripts (as determined by the standard distutils configuration files, or by the Python installation).
python-cjson 1.0.5安装
DISCO安装
接下来就可以安装disco了,根据官网来就可以了
如果在一台机子上模拟则要把/etc/disco/disco.conf中的master端口打开
建立下面的目录,并改变权限使disco用户可读写
在用SSH时先把~/.ssh下的文件权限改为700
之后,根据官网上的步骤用SSH LOCALHOST无密码登入后 运行count_words.py就可以了!!
首先转换成超级用户root进行安装 sudo -s
opt安装
tar -zxvf opt_src.... |
cd otp_src... |
./configure |
make |
make install |
# apt-get install lighttpd |
python2.5的安装
tar -zxvf Python-2.5.4.tgz |
./configure |
make |
make install |
Unpack the archive with tar -zxvf Python-2.5.4.tgz (or bzcat Python-2.5.4.tar.bz2 | tar -xf -). Change to the Python- 2.5.4 directory and run the "./configure", make", "make install" commands to compile and install Python. The source archive is also suitable for Windows users who feel the need to build their own version
setuptools-0.6c9-py2.5.egg安装
sh setuptools-0.6c9-py2.5.egg |
setuptools-0.6c9-py2.5.egg安装 官网说明
Download the appropriate egg for your version of Python (e.g. setuptools-0.6c9-py2.5.egg). Do NOT rename it. Run it as if it were a shell script, e.g. sh setuptools-0.6c9-py2.5.egg. Setuptools will install itself using the matching version of Python (e.g. python2.5), and will place the easy_install executable in the default location for installing Python scripts (as determined by the standard distutils configuration files, or by the Python installation).
python-cjson 1.0.5安装
tar xzf *.tar.gz |
python setup.py install |
接下来就可以安装disco了,根据官网来就可以了
如果在一台机子上模拟则要把/etc/disco/disco.conf中的master端口打开
建立下面的目录,并改变权限使disco用户可读写
*DISCO_ROOT=/srv/disco/ |
DISCO_HOME=/usr/lib/disco/(安装时已自动建好,更改一下权限) |
*DISCO_LOG=/var/log/disco/ |
*DISCO_PID_DIR=/var/run/disco/ |
之后,根据官网上的步骤用SSH LOCALHOST无密码登入后 运行count_words.py就可以了!!
相关文章推荐
- [原创]迄今为止最详细的ubuntu无盘工作站安装指南
- (原创)ubuntu 12.04 安装 apache ant
- Ubuntu 12.04 64bit 安装编译GCC 4.1.2 绝对原创
- [原创][10.11日更新]Ubuntu下从源安装最新版Compiz fusion (0.7.6 & 0.7.8) !!
- [原创]Ubuntu 14.04安装搜狗输入法
- 【原创】在旧的台式机上安装Ubuntu14.04桌面版、麒麟版和服务器版
- ubuntu14.04安装OpenJDK1.8 原创 2016年12月06日 16:59:46 257406 1、sudo add-apt-repository ppa:openjdk-r/ppa
- ubuntu下安装gitlab(原创)
- 【原创】在旧的台式机上安装Ubuntu14.04桌面版、麒麟版和服务器版
- [原创]安装ubuntu全程记录
- [原创]安装Ubuntu Server 14.04后
- [原创] ubuntu下安装scrapy报错 error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
- (原创)ubuntu 10.04+ruby1.9.2+rails3 安装记录
- ubuntu(linux)下安装和调试postgresql(原创)
- 【原创】ubuntu dhcp-server 安装、配置
- 【原创】工控机安装Ubuntu系统,直接断电然后再上电时,系统停留在启动项位置等待选择的处理方法
- 【原创】Ubuntu安装和简单使用初感
- [原创]ubuntu 下vsftpd安装问题
- 【原创】用VMware 8安装Ubuntu 12.04详细过程(图解)