Upgrade docker on CentOS 7 Fix Failed to chown socket at step GROUP: No such process

To have the latest Docker, I first start from Docker’s Official Guide: https://docs.docker.com/installation/centos/

install the two unit files (service and socket) from the github repository to /etc/systemd/system.

But hold on, it doesn’t work!

Here is the error log:

My easy fix solution, install Docker from YUM first. Then replace the docker file with the latest download:

After restart it, everything works fine.
At this moment (Dec 30, 2014), the latest stable Docker is 1.4.1

To enable the service and socket in systemd:

Thank you!

Debian 8 Jessie minimal Redmine Server with SQLite3

Debian 8 Jessie is on Beta 2, it has most package you need for 99% of my works.

Here is how it setup a Minimal Redmine Server from Debian 8 Jessie Beta2:

  1. First Insall Ruby ( version 2.1 perfect for Redmine version 2.4, 2.5 and 2.6 )
  2. Download Latest Redmine Stable 2.6.0 at this time
  3. Install Redmine follow Redmine’s official Installation document
  4. http://www.redmine.org/projects/redmine/wiki/RedmineInstall

  5. my brief installation recorders
  6. Define SQLite Database in config/database.yml

    install Bundler first

    Session store secret generation

    Database schema objects creation

    Database default data set

    Test the installation

  7. Setup Redmine init script, run WEBrick service
  8. Reference: https://gist.github.com/FeroVolar/7911366

    My /etc/init.d/redmine file:

  9. Update systemd init service:

Please notice: Redmine with SQLite3 is not for multi-user production system. Webrick server is not for high traffic site as well.

But hey, I got redmine running on a 64 MB VM in 5 mintues!