Skip to content
Labdoo's main source code
PHP Shell Other
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


All of Labdoo’s source code is released under GPL version 3 or later.

Installation in development mode

The recommended way of installation is to build a new server from scratch, inside a chroot environment. The following instructions have been verified to work on Ubuntu.

  • Get a copy of the project from GitHub:
    mkdir /var/chroot
    cd /var/chroot/
    git clone labdoo
  • If you intend to build the master branch, skip the following step:
    cd labdoo/
    git checkout $NAME_OF_THE_BRANCH
    cd ../
  • Modify and customize the settings:
    cp labdoo/install/ labdoo/
    vim labdoo/ # Make any necessary changes
  • Install the project inside a chroot system:
    time nohup nice labdoo/install/ labdoo/ &
    tail -f nohup.out
    less -r nohup.out

    The above process can take some time, depending on bandwidth and your computer speed. On an Intel(R) Xeon(R) CPU E5-2670 v2 @ 2.50GHz it takes about 12 minutes:

    real 11m9.292s
    user 6m31.217s
    sys  0m59.728s
  • Make sure to include the following lines in your /etc/hosts file (outside the chroot): localhost
  • Start the Labdoo social network:
    service chroot-lbd start
  • And that’s it! You can now access your Labdoo installation by opening your web browser and opening the URL Please use https protocol (instead of http) since currently the theme only works properly on https. (Notice that you will need to confirm the security exception on your browser the first time you access
  • If you need to stop Labdoo you can do: service chroot-lbd stop
  • If you need to start again Labdoo you can do: service chroot-lbd start

Installation in production mode

A development Labdoo node can be converted into a production node by following the next steps:

  • Drop (1) the server certificate, (2) the intermediate certificate (chain certificate) and (3) private key to the folders etc/ssl/certs and etc/ssl/private, respectively.
  • Modify the file /etc/apache2/sites-enabled/lbd-ssl.conf so that SSLCertificateFile, SSLCertificateChainFile and SSLCertificateKeyFile point to the certificate, chain certificate and private key, respectively.
  • Modify both /etc/apache2/sites-enabled/lbd-ssl.conf and /etc/apache2/sites-enabled/lbd.conf so that all URL and email address information points to and (or to your chosen values for these parameters), respectively.
  • If you want to disable the SSL password prompt upon restarting apache, add the following two lines to the beginning of the file /usr/share/apache2/ask-for-passphrase:
  • Modify /etc/hosts so that the localhost points to
  • Modify the file /var/www/lbd/sites/default/settings.php so that $base_url points to

Installation in a docker container

This is almost the same as the installation above, except that instead of install/ you call install/

nohup time nice labdoo/install/ labdoo/ &

Then to stop and start Labdoo you do: stop lbd and start lbd.

Building with docker

Another way is to use the command docker build to build an image and then docker run to create a container from this image:

vim labdoo/install/ build --tag=labdoo labdoo/ run -d --name=lbd -p 80:80 -p 443:443 labdoo


You can’t perform that action at this time.