注册 登录  
 加关注
   显示下一条  |  关闭
温馨提示!由于新浪微博认证机制调整,您的新浪微博帐号绑定已过期,请重新绑定!立即重新绑定新浪微博》  |  关闭

Q超越兔子的蜗牛O--逸云沙鸥Linux

飘飘何所似,天地一沙鸥;落霞与孤鹜齐飞,秋水共长天一色~~

 
 
 

日志

 
 

ubuntu install mingle(an angile development manage system)  

2011-04-15 02:50:15|  分类: Ubuntu笔记 |  标签: |举报 |字号 订阅

  下载LOFTER 我的照片书  |
Part 01. set mingle path and start for web install :
1. Ensure that you are not running as a root user. We recommend setting up a service account for the Mingle process.不许要超级用户权限。

2. Move the downloaded unix installer file into the directory where you want to install Mingle.直接放到需要安装的目的目录。

3. Unzip and untar, using 'tar -xzvf mingle_unix_X_X_XXXX.tar.gz' 解压之

4. Create 2 directories, one used as a data directory, the other as a config directory. The data directory is where Mingle writes attachments and other application data. The config directory is where Mingle stores its configuration files. Both these directories must be writable by the user that is going to be running the MingleServer process. 建立两个目录备用,比如:
mkdir -p /media/GoldenResources/DATA/MINGLE/data #存放数据
mkdir -p /media/GoldenResources/DATA/MINGLE/conf #存放配置文件

    THESE DIRECTORIES SHOULD NOT BE THE SAME.
    THESE DIRECTORIES SHOULD NOT BE WITHIN THE MINGLE INSTALLATION FOLDER.

5. Copy the mingle.properties.example file located in base install directory to the config directory, and rename it to mingle.properties. 复制配置文件,放到上面设置的配置文件存放目录

6. Edit the mingle.properties file in your config directory, to specify the port on which the server will run, as well as the mingle swap directory, which is the a space for Mingle to store transient data. The default location for the swap directory is a folder called tmp inside your data directory. e.g., if your data directory is /var/mingle,按照mingle.properties中的说明编辑相关的项目。
 
  Example configuration:
    -Dmingle.port=8033
    -Dmingle.swapDir=/media/GoldenResources/DATA/MINGLE/data/tmp

7. Start the Mingle server by navigating to the Mingle installation directory, and run './MingleServer --mingle.dataDir=/path/to/data/dir --mingle.configDir=/path/to/config/dir start'.启动之,我的命令如下:
cd /media/GoldenResources/localSoft/mingle_3_3/;
./MingleServer --mingle.dataDir=/media/GoldenResources/DATA/MINGLE/data --mingle.configDir=/media/GoldenResources/DATA/MINGLE/conf start

8. Open a browser and navigate to http://qnr.work.com:8033/install/ . You will be walked through the installation steps.设置自己的域名,在前面设置好的端口打开网页继续。

Part 02 :参考网页设置要求,设置postgresql:
1、安装postgresql服务器
sudo apt-get install postgresql

2、Ubuntu 下需要修改配置文件权限!
直接启动服务错误如下:
2011-04-15 01:17:16 CST FATAL:  private key file "server.key" has group or world access
2011-04-15 01:17:16 CST DETAIL:  File must be owned by the database user or root, must have no write permission for "group", and must have no permissions for "other".
---解决办法-可以直接su成root完成操作--
1) sudo cd /var/lib/postgresql/8.4/main/
2) sudo mv server.key server.key-0 #备份原来的连接
3) sudo cp /etc/ssl/private/ssl-cert-snakeoil.key server.key
4) sudo chown postgres server.key
5) sudo chgrp postgres server.key
6) sudo chmod 740 server.key

7) sudo /etc/init.d/postgres-8.4 start  或者: sudo service postgresql start
-------------ok---------------

3、建立用户和数据库mingle
su - postgres #只有postgres才有权限啊!
createdb mingle #建立数据库
createuser -P mingle #建立用户,并且指定密码

 4、继续配置 http://qnr.work.com:8033/install/页面
按照提示一直到激活就可以使用了。

5、注意:激活!
激活的时候需要使用license和相应的用户名
--- License key starts below this line---
***你的注册号码***

--- License key ends above this line--- 

This License is valid for the following terms:

* Licensee =  名字
需要把这个地方的名字填在激活的Licensed to:窗口
  评论这张
 
阅读(1175)| 评论(0)
推荐 转载

历史上的今天

评论

<#--最新日志,群博日志--> <#--推荐日志--> <#--引用记录--> <#--博主推荐--> <#--随机阅读--> <#--首页推荐--> <#--历史上的今天--> <#--被推荐日志--> <#--上一篇,下一篇--> <#-- 热度 --> <#-- 网易新闻广告 --> <#--右边模块结构--> <#--评论模块结构--> <#--引用模块结构--> <#--博主发起的投票-->
 
 
 
 
 
 
 
 
 
 
 
 
 
 

页脚

网易公司版权所有 ©1997-2017