Tag: debian

Rubygems on Debian "one-click installer"

Posted by on 29-Mar-2007

Rubygems on Debian “one-click installer”

Before I mentioned Rails on Debian ‘one-click installer’ . Seems there is also a way to install ruby gems with apt-get on debian-like systems . It’s in japanese, so just a short translation:

Add to your /etc/apt/sources.list :

deb http://backports.mithril-linux.org sarge-backports main contrib non-free
deb-src http://backports.mithril-linux.org sarge-backports main contrib non-free

Add to your /etc/apt/preferences :

Package: rubygems
Pin: release a=sarge-backports
Pin-Priority: 900

Install rubygems:

apt-get update
apt-get install rubygems

The rubygems are installed in /var/lib/gems so we need to change the PATH environment variable in order to access gem command. Inside /etc/profile :

export PATH="/var/lib/gems/1.8/bin:$PATH"

Install rails

gem install rails -y

Offtopic: …No longer will we have to use RESTful URLs such as article/1;edit. We’re going back to the more normal-looking article/1/edit …

Rails "one-click" installer for Debian Sarge

Posted by on 16-Jun-2006

- Add to your /etc/apt/sources.list :

deb http://rails.netlab.jp/debian sarge rails

- Install Rails

$ sudo apt-get update
$ sudo apt-get install rails

- There is no step 3 ;)

And if your question is “who the hack made this package?”, it’s NaCl – the company where Matz is working :)

Xen 3.0 on Debian

Posted by on 22-Mar-2006

We are using Xen 3.0.1 on Debian Sarge from several months. Working great. Finally there is an upgraded manual on HowtoForge – The Perfect Xen 3.0 Setup For Debian . Good. Also something else bring my attention: Setting Up A Highly Available NFS Server . We need this for live migrations – Xen need to get the OS filesystem image from the NFS, but it becoming a single point of failure. Anoter solution can be MogileFS – open source distributed filesystem.

Like a long time shot Parallax (cluster storage system under development by the Xen team with COW and snapshot features) seems pretty atractive.

_Update 28-03-2006: the last missing part from the setup was reliable database backend, found: Load-Balanced MySQL Cluster _

Adamantix support for Debian

Posted by on 06-Feb-2006

From Peter Busser’s email to the RSBAC ML:

I have compiled a number of RSBAC and Adamantix packages for Debian Sarge . This allows Debian Sarge users to benefit from some of the Adamantix features…

Adamantix started like Hardened Debian. Using well tested and stable Debian base, they added a lot of modern security stuff: PaX , SSP , RSBAC , making the distro one of the best choices for servers. I was involved in the early stages of the project but stopped contributing, because I was short of time. Still I’m following their progress and I’m happy to see good stuff going to the mainstream Debian also.

For homework: Chicken – Scheme-to-C compilerCHICKEN is a compiler that translates R5RS Scheme into portable C using a technique developed by Henry Baker (“Cheney on the M.T.A.”).

Lighttpd on Debian and Ubuntu

Posted by on 06-Dec-2005

In the latest lighttpd-1.4.8 release, they removed the debian/ support (from the changelog):
removed debian/ dir from source package on request by packager

Sad :( For me i solved the problem with copying the directory from the old 1.4.7 release and fixing the changelog file. If you need better support, use bougyman’s repository. In your debian or ubuntu /etc/apt/sources.list add:

deb http://debian.bougyman.com/ unstable main

Bougyman is a very interesting person. He is working for some US goverment organization and supporting a huge Ruby On Rails system (something like a paperless office) – PostgreSQL, linux virtual server powered FastCGI listeners etc. I learned a lot from him about using RoR in production environments. Thanks. Recently I found his typo blog – All-Purpose Log for Rubyists , full with useful information. Just to mention:

Rails on Xen

Posted by on 17-Nov-2005

Recently installed Xen-based system. Have already working Debian, Gentoo and Slackware domU-s. Helpful pointers: