Freitag, 6. September 2013

Baboonstack-Deutsch

Node.js + Mongo DB + RedisIO = Baboonstack!

Baboonstack bietet für die drei gängisten Betriebssysteme Linux, MacOS und Windows eine schnelle und unkomplizierte Alternative zur mühseligen manuellen Installation und Konfiguration von Node.js, Mongo DB und RedisIO.
So einfach startet man die Baboonstack Installation unter Linux und MacOS:
curl http://packages.litixsoft.de/installer.sh | sudo sh
Unter Windows benötigt man die Setup Routine. Diese kann man sich von der Seite http://litixsoft.de/products-baboonstack herunterladen.
Natürlich ist man nicht gezwungen, alle Komponenten zu installieren. Im Windows Installer lassen sich diese einfach abwählen. Unter Linux und MacOS gibt es den Parameter —without-. Dazu muss das Installations-Script einfach mit diesem Parameter aufgerufen werden.
curl http://packages.litixsoft.de/installer.sh > installer.sh
chmod +x installer.sh
sudo ./installer.sh --without-mongodb

MongoDB

Die Installation von MongoDB ist auf allen Systemen nicht sonderlich schwierig, jedoch kann man sich schnell in der Vielfältigkeit der Konfigurationsmöglichkeiten verlieren. Dank Baboonstack erhält man eine vorkonfigurierte und Ready-to-use Installation von MongoDB, welche als als Dienst/Daemon läuft.

RedisIO

Während es unter Linux und MacOS noch relativ einfach ist, RedisIO zu installieren, steht man unter Windows Betriebsystemen schnell vor einem großen Problem. Möchte man dann noch RedisIO unter Windows als Dienst betreiben, sucht man fast vergeblich nach einer funktionierenden Lösung. Auch hier bietet Baboonstack die Lösung. Auf allen Systemen lässt sich RedisIO bequem als Dienst/Daemon installieren und ist nach der Installation fertig zur Benutzung.

Node.js Versions Chaos bändigen

Node.js entwickelt sich rasant und erscheint fast wöchentlich eine neue Version. Schon kann man schnell vor der Hürde stehen, das Projekt A nur unter Node.js 0.8.X und Projekt B eben nur mit einer Version 0.10.X läuft. Problematisch ist es zwar nicht, verschiedene Node.js Versionen auf einem System zu betreiben. Jedoch verliert man dann auch schnell den Überblick. Dann wünscht man sich einen praktischen Manager, der die Verwaltung übernimmt. Das übernimmt das zum Baboonstack gehörende Tool lxManager (lxm).
lxm node switch 0.10.8
Schon wechselt man Systemweit auf die Node.js Version 0.10.8. Sollte mal eine Version nicht lokal vorhanden sein, kann man einfach mit
lxm node install 0.10.8
diese direkt vom Node.js Distributionsserver für alle Plattformen installieren. Hilfreich ist auch die Möglichkeit, seine Node.js Applikation direkt mit einer bestimmten Versionen zu starten.
lxm node run 0.10.8 app.js

Node.js Applikation als Dienst

lxm service install lxApplication 0.10.12 D:\Projects\lxApp1\app.js
So einfach kann es sein unter Windows und Debian basierenden Linux Systemen eine Node.js Applikation als Dienst zu registrieren. Auch dies ist möglich mit Baboonstack.

Immer auf dem neusten Stand

Baboonstack bietet ebenfalls die bequeme Möglichkeit eines Updates auf die neuste Version.
lxm update
startet den Download und die Installation der neuesten Version. Die vorhandenen Daten bleiben natürlich vorhanden.

BaboonStack-English

Node.js + Mongo DB + RedisIO = Baboonstack!

Baboonstack offers a fast and uncomplicated alternative to the troublesome manual installation and configuration of Node.js, MongoDB and RedisIO for the three well-established operating systems Linux, MacOS and Windows.
curl http://packages.litixsoft.de/installer.sh | sudo sh
That’s all to be done to easily start the Baboonstack installation for Linux and MacOS. The installation on a Windows based system is not much more of a challenge: just download the setup binary from http://litixsoft.de/products-baboonstack and start it.
You won’t be forced to install all of the stack’s components. The Windows installer let’s you chose during installation process, in Linux or MacOS the —without- parameter is used. Run it as shown below.
curl http://packages.litixsoft.de/installer.sh > installer.sh
chmod +x installer.sh
sudo ./installer.sh --without-mongodb

MongoDB

The MongoDB installation as it is not much of a hassle on all of the three operation systems. With using Baboonstack you still get the advantage of directly starting off with a pre-configured ready-to-use MongoDB installation without getting lost in configurability. It’s also installed as a service/ daemon.

RedisIO

Without running into too much trouble installing and running RedisIO on a Linux or MacOS system, you often step into problems on a Windows based systems e.g. when trying to run it as a service. This is where Baboonstack comes to your aid: it lets you install and run RedisIO as a service/ daemon in a simple and comfortable way on all three systems. And again ready-to-use directly after installation.

Node.js - taming the version chaos

Node.js is evolving very fast and with it lots of new versions appear. Soon you will face the situation to have project A work with Node 0.8.X only and projekt B with version 0.10.X. Though it’s not problematic to install different Versions of Node.js at the same time on the same system, you still can lose track of all the different versions very easily. Again Baboonstack comes in handy beeing a very easy to use manager. As part of Baboonstack the lxManager tool with it’s integrated Node.js version manager is the answer to your questions.
lxm node switch 0.10.8
Easy system-wide changing to Node.js version 0.10.8. If you are locally missing a certain version simply install it with
lxm node install 0.10.8
directly from the original Node.js distribution server - no matter if you are using Windows, Linux or MacOS. It might be necessary to run your application straight from a certain Node.js version, too.
lxm node run 0.10.8 app.js

Node.js applications as a service

lxm service install lxApplication 0.10.12 D:\Projects\lxApp1\app.js
That’s all to register your Node.js application as a service on Windows or a Debian based linux distributions - again easily done with Baboonstack.

Always up-to-date

Baboonstack comes with a comfortable way to update to the cutting-edge version. If existing,
lxm update
starts the download and installation of the newest version. Needless to say that your local data remains untouched.