Login or Register

Yesterday I found two comments where people are asking how to run activeCollab on their own computer or USB stick

On Lifehacker coolbeing is asking:

Can this be installed by a noob on to a computer and not to a server? Can I run this from a USB stick or just from my computer ?

Back on Urban Workbench similar question:

This software looks great, what do I need to get it running? Can I run it on my home PC?

Here are the instructions how to set everything up and running on your home computer. We'll use XAMPP Lite to set up that environment (it can be run even from USB):

  • Go to Apache Friends and download XAMPP Lite. It's a 43MB ZIP file (whats lite about that!?)
  • Extract the content of downloaded archive on your local disk. In the readme file it is recommended to extract it on root of some drive (C:, D:, W: or whatever) so you'll end up with something like: C:/xampplite
  • Open C:/xampplite/mysql/bin/my.cnf in any text editor (Notepad will do). Find this:
  skip-innodb 
  # Uncomment the following if you are using InnoDB tables 
  #innodb_data_home_dir = /xampplite/mysql/data/
  #innodb_data_file_path = ibdata1:10M:autoextend 
  #innodb_log_group_home_dir = /xampplite/mysql/data/
  #innodb_log_arch_dir = /xampplite/mysql/data/
  # You can set .._buffer_pool_size up to 50 - 80 % 
  # of RAM but beware of setting memory usage too high 
  #set-variable = innodb_buffer_pool_size=16M 
  #set-variable = innodb_additional_mem_pool_size=2M 
  # Set .._log_file_size to 25 % of buffer pool size 
  #set-variable = innodb_log_file_size=5M 
  #set-variable = innodb_log_buffer_size=8M 
  #innodb_flush_log_at_trx_commit=1 
  #set-variable = innodb_lock_wait_timeout=50

And replace it with:

  #skip-innodb 
  # Uncomment the following if you are using InnoDB tables 
  innodb_data_home_dir = C:/xampplite/mysql/data/
  innodb_data_file_path = ibdata1:10M:autoextend 
  innodb_log_group_home_dir = C:/xampplite/mysql/data/
  innodb_log_arch_dir = C:/xampplite/mysql/data/
  # You can set .._buffer_pool_size up to 50 - 80 % 
  # of RAM but beware of setting memory usage too high 
  set-variable = innodb_buffer_pool_size=16M 
  set-variable = innodb_additional_mem_pool_size=2M 
  #Set .._log_file_size to 25 % of buffer pool size 
  set-variable = innodb_log_file_size=5M 
  set-variable = innodb_log_buffer_size=8M 
  innodb_flush_log_at_trx_commit=1 
  set-variable = innodb_lock_wait_timeout=50
  • If you are not installing on USB you should also run setup_xampp.bat file.
  • To actually run environment execute apache_start.bat and mysql_start.bat files. They will open console windows. Don't close them, that are servers you need to run activeCollab.
  • Download activeCollab 0.7 RC1 (or any other activeCollab version, it should work the same). Extract its content to C:/xampplite/htdocs/. You'll end up with folder like C:/xampplite/htdocs/activecollab/. Fell free to rename activeCollab folder to anything you like (I prefer collab for instance).
  • Open http://localhost/phpmyadmin/ and create a new database - activecollab. You'll find a small form in phpMyAdmin that lets you do this (Craete new database form).
  • Go with your browser to http://localhost/activecollab/public/install/ and follow the installation steps. Setup will require some info from you. This will do the trick:
  Host name: localhost
  Username: root
  Password: (leave empty)
  Database name: activecollab
  Absolute URL: http://localhost/activecollab/
  • Submit. Installer should set up activeCollab and let you know that everything went well.
  • Go to http://localhost/activecollab/. You will get a dialog that will let you create administrator user and insert your company name. When your done with this you'll be able to login to activeCollab and start managing your projects.

That should be it. You can find more information about setting up XAMPP Lite on XAMPP website. Please note that XAMPP is built to be development environment, not production environment. Don't for get to read a Security section of readme file!

Similar instructions apply to installation on any other platform, just use Apache + PHP + MySQL package made for your operating system (for Mac you’d us MAMP or XAMPP for Mac for instance).

Thanks to whooven for mentioning XAMPP Lite on the forum.

Posted on: 2006-09-30 6:10

Comments:

#1 avatar

Ilija Studen

2006-09-30 6:59

Eric just pointed out that you can use Uniform Server – it is made to solve the same problem as XAMPP (help you run web server on your local computer) but comes with InnoDB support turned on by default.

I don’t know if Uniform Server can be installed on USB, but if you don’t need that you could check it out.
#2 avatar

whooven

2006-09-30 8:03

I’ll have to check out Uniform Server. It is only 5 MB or so, compared with 40 MB for XAMPP Lite. It looks like you can install it on USB but it takes just a little tinkering. BTW, it does NOT come with Zend Optimizer and they’re still working on that plugin. I need a dev server for more than just ActiveCollab.
#3 avatar

Eric Batte

2006-09-30 12:39

I just checked and apparently Uniform Server can run from USB flash drives (or anywhere else):

“What makes the Uniform Server package unique is its ability to run from any folder on any hard drive this includes a USB memory drive. You can move the folder to any other location and the servers still function correctly. Let me explain why this solution is so elegant.”

From: http://center.uniformserver.com/uniserver/uniserver_intro.html

I’m not sure why I’m so hot on Uniform Server, but it was the easiest for me to use. At home on my Mac I’m using MAMP instead, and it does the same thing as XAMP and Unifirm Server, but is better integrated with the Mac OS.
#4 avatar

Jim

2006-09-30 5:30

activeCollab can be installed easily on the Uniform Server. I just did it yesterday in about 15 minutes. And it runs easily on a USB drive. The Uniform Server is completely self contained within its directory, and involves no dll’s of any sort.

But innoDB is not turned on by default. You have to uncomment the relevant lines (and comment one line) in a file called:

UniformServer\diskw\\usr\local\mysql\bin\my-small

You create your database using the phpMyAdmin tool in the server “apanel” . Call it what you want, and set all permissions open standalone use. Your database name and password have to match the one you feed to activeCollab during installation.

Active collab works great this way, and the Uniform Server is fully able to be used for production on an internet web server as well.

Happy to post more if needed.

#5 avatar

orca

2006-09-30 9:04

I’ve been using it for months (well … since v0.6 is released) on my usb, but then decided to move it all to my notebook computers. And make xampp installed as a service (automatically starts).

Basically it replaces my basecamp and backpack account. Stopped my paid backpack account, and move everything to aC.
#6 avatar

UrbanMike

2006-10-01 3:41

I’ve got a question, why do you want to run it on a USB? (Honest question, seriously seeking an answer :-)

It’s great that you guys have found a way to do it, and are posting these suggestions, but maybe a comment on why this is desirable?

Thanks,

Mike
#7 avatar

orca

2006-10-01 3:44

Mike. I works on several computer, in home, at office. It’s quite usable to have all the data, whenever you go. Plugin and you work…
#8 avatar

Ilija Studen

2006-10-01 4:31

When you use it the way Orca described activeCollab is more like personal organization tool that collaboration tool.

I never trust USB sticks though. They seem so unreliable.
#9 avatar

Hans

2006-10-14 11:39

My scenario for using my USB stick – I use SyncBack (not fully portable, but installed on each of the three machines I’m using – could set it up with XXCOPY or any other sync tool) before starting a work session to first get my local directory structures in sync with my USB. Then I run everything on the local harddrive – my USB becomes a backup of my working environment, also the last machine I worked on. Then at the end of my working session I sync everything back to the USB, making that hard drive the most recent backup.

Saves wear and tear on the USB, and I’m not dependent on any one storage device, I’m constantly backing everything up.
Comments are locked. If you have something important to say about the issues discussed in this post please write at hi@a51dev.com.

Subscribe

RSS Icon Email Icon