Posted by stoyan
Problem (after any package install i’ve got):
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
Solution:
$ sudo apt-get install language-pack-en
Posted by stoyan
original article
Tools: mencoder, ffmpeg, dvdauthor
### combine multiply sources
$ cat file1.avi file2.avi > ccmovie.avi
$ mencoder -o out.avi -noidx -oac copy -ovc copy ccmovie.avi
### set aspect ratio, ntsc
$ ffmpeg -i out.avi -y -target ntsc-dvd -sameq -aspect 16:9 out.mpg
$ dvdauthor --title -o dvd -f out.mpg
### create the table of contents
$ dvdauthor -o dvd -T
### burn baby, burn
$ mkisofs -dvd-video -o dvd.iso dvd/
Posted by stoyan
The new server upgrade system.
1. Install update-manager-core:
$ sudo apt-get install update-manager-core
2. Launch the upgrade tool:
$ sudo do-release-upgrade
Like usual, there is no step 3 ;)
Posted by stoyan
- 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 :)
Posted by stoyan
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 _
Posted by stoyan
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 compiler – CHICKEN is a compiler that translates R5RS Scheme into portable C using a technique developed by Henry Baker (“Cheney on the M.T.A.”).
Posted by stoyan
Via Stu’s Diary :
AccessFS from Olaf Dietsche allows the system administrator to restrict access to a network port based on uid/gui, so that daemons no longer need to run as the root user:
# mount -t accessfs none /proc/access
# chown www /proc/access/net/ip/bind/80
# chown mail /proc/access/net/ip/bind/25
Posted by stoyan
Gentoo VPS Project – better support for VServer in Gentoo. Yahoooo!
...First, we have created the Gentoo VPS project, in order to concert the development of different implementations, and provide a convenient way for use with gentoo. The project page can be found at http://dev.croup.de/proj/gentoo-vps including Documentation and anonymous SVN access to our repository. The repository contains all patches and scripts for ebuilds in portage (openvz-sources, vserver-sources, util-vserver and vzctl), an experimental overlay, vserver stage building scripts and of course baselayout-vserver…
What’s new and interesting: support for building the vservers from stages/templates :
1. build the template from stage3 tarball
# vserver-new gentoo-template \
--hostname gentoo \
--context 1253 \
--interface eth0:192.168.1.253/24 \
stage3 /path/to/stage3-tarball.tar.bz2 <arch>
# cd /vservers/gentoo-template
# tar cjvpf /templates/gentoo-template.tar.bz2 ./
2. build vserver from the template above
# cd /vservers
# vserver-new myguest \
--hostname myguest \
--context 1252 \
--interface eth0:192.168.1.252/24 \
template /templates/gentoo-template.tar.bz2
What’s still missing: mass emerge for all vservers , so i can do vemerge—sync and vemerge system. Can this be emulated by SwitchTower task?
Posted by stoyan
Fun, and not so much. Mostly scary:
Linux in a binary world
What if.. what if the linux kernel developers tomorrow (06-Dec-2005) accept that binary modules are OK and are essential for the progress of linux.
a hypothetical doomsday scenario by Arjan van de Ven
How much we already depend from the OpenSource products?
Posted by stoyan
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:
Posted by stoyan
via Ho John Lee’s Weblog :
The BlackDog server turns out to be an interesting hybrid of a putting Linux on a USB flash device and putting an embedded Linux into a USB device. The actual device is around the size and weight of a pack of cards, and runs Debian Linux on a 400MHz PowerPC, drawing power from the USB interface.
Interesting to have this with Ruby and RoR installed.
Posted by stoyan
Recently installed Xen-based system. Have already working Debian, Gentoo and Slackware domU-s. Helpful pointers:
Posted by stoyan
small CF (readonly) debians
For soekris 4801:
and the gentoo way: