How to install CollabVM/2.x

From Computernewb Wiki
Jump to navigation Jump to search

< How to install CollabVM 1.x

CollabVM 2.0 is the world's most unstable version of the server, If you like memory leaks and crashes then you'll like this version. You should be using CollabVM Server 1.x instead. Here's a guide on how to install it anyway.

Installation

Linux

The easy way

  • Requirements: An x64 Linux distribution with at least kernel 2.6.0

This will currently work with any amd64/x64 Linux distribution with at least kernel 2.6.0. This includes all versions of Ubuntu, Debian versions starting from version 3, and basically all versions of Arch Linux, Gentoo, and CentOS versions starting from version 4. There is no need to download any dependencies since they are all included with the executable. It will also work on 32-bit (i686) and ARM versions, but compatible binaries are not currently included.

Download the latest stable build for Linux from the Computernewb website:

wget http://computernewb.com/cvm-2/releases/latest/linux64/collab-vm-linux64.tar.gz

You can also download it from GitHub:

wget https://github.com/Cosmic-Sans/collab-vm-server/releases/download/prerelease/collab-vm-linux64.tar.gz

Then extract the archive:

tar -xf collab-vm-linux64.tar.gz

Start the server. If you want a random port, erase the --port argument. For a full list of arguments, please read this guide for more information.

./collab-vm-server --port (Your port goes here.)

Windows

The easy way

  • Requirements: At least Windows Vista SP2 x64

This will work on versions of Windows starting from Windows Vista SP2. The pre-built executable does not run on Windows XP or Server 2003, but the server itself is compatible with it. If you want to use server 2.0 on XP or Server 2003, you must build it yourself with the Visual Studio 2017 XP Toolset. It will also work on 32-bit and ARM versions, but compatible binaries are not currently included.

Download the pre-built executable for Windows from the Computernewb website (using PowerShell):

Invoke-WebRequest -Uri http://computernewb.com/cvm-2/releases/latest/win64/collab-vm-win64.zip -OutFile "collab-vm-win64.zip"

You can also download it from GitHub:

Invoke-WebRequest -Uri https://github.com/Cosmic-Sans/collab-vm-server/releases/download/prerelease/collab-vm-win64.zip -OutFile "collab-vm-win64.zip"

Either extract the archive using Windows Explorer, or use PowerShell's Expand-Archive command to extract it, or install 7-Zip or any good archiver and extract it with that.

Expand-Archive c:\collab-vm-win64.zip -DestinationPath c:\collab-vm-server

Start the server. If you want a random port, erase the --port argument. For a full list of arguments, please read this guide for more information.

collab-vm-server --port (Your port goes here.)

Problems

  • Server crashes/leaks memory often, you can easily fix this with a restart service
  • Some stuff doesn't happen/appear when they should be