Category Archives: Unix and unixoid

Running old Ubuntu versions as chroot with proot

Currently I am working on building a modern Clang/LLVM-based toolchain for ancient Ubuntu versions. In order to do that I wrote a few helper scripts I am using in conjunction with proot to run old Ubuntu rootfs inside a chroot … Continue reading

Posted in Bash, EN, Linux, Programming, Software, Unix and unixoid | Tagged , | Leave a comment

Alacritty as default GNOME terminal application

Personally I prefer Super+T as my primary shortcut for opening the terminal from anywhere in my desktop environment. However, how can I replace the existing terminal application in GNOME so that the keyboard shortcut setting applies to an alternative terminal … Continue reading

Posted in EN, Linux, Software, Unix and unixoid | Tagged | Leave a comment

SSH reverse tunnel

With autossh you can establish an SSH reverse tunnel from a given system, provided it can reach some other machine via SSH outside its own network. You can also do that with ssh alone, but autossh comes with added features … Continue reading

Posted in Administration, EN, Linux, Software, Unix and unixoid | 2 Comments

Fully static build of tmux using libc-musl for Linux

Find a script that does the job here. It will download the source packages if they do not already exist and then unpack them into a subfolder of the current directory named tmux. Then it will one by one compile … Continue reading

Posted in C/C++, EN, Linux, Programming, Unix and unixoid | 1 Comment

Cheeky and stupid bot …

The bot with user agent Linguee Bot (http://www.linguee.com/bot; bot@linguee.com) just downloaded approximately 2 GiB of stuff from a ViewVC-listing on one of my servers. Just because it’s stupid, but also because it’s so cheeky to ignore robots.txt. So be it. … Continue reading

Posted in Administration, EN, Linux, Opinion, Software, Unix and unixoid | Tagged | 1 Comment

Tmux is great … (but how to build on Lucid Lynx?)

… only a few troubles to get it to build on Ubuntu 10.04 LTS 😉 Basically you’ll want libevent2, which doesn’t come in the package repos, so fetch it from here. Then you obviously fetch the tmux source via tmux.sourceforge.net … Continue reading

Posted in EN, Linux, Programming, Software, Unix and unixoid | Tagged | 4 Comments

Highly useful: ddrutility

During a rescue mission I encountered read errors on both hard drives of a degraded RAID. Since most commercial end-user tools limit your flexibility I went for Ubuntu Rescue Remix 12.04 in order to use ddrescue. However, to my delight … Continue reading

Posted in Administration, EN, Linux, Software, Thoughts, Unix and unixoid | Tagged , | Leave a comment

Raspberry Pi shipping …?

Seems the first batches went to Farnell and RS. I registered my interest at RS already, let’s see. Seems like the demand is way above supply, so it’s pure chance. Besides, it appears that they sell only one per person … Continue reading

Posted in EN, Linux, Programming, Software, Unix and unixoid | Tagged | Leave a comment

prune-kernels function …

If you are like me, you will have noticed on Ubuntu (and sometimes Debian) that stale old kernels remain on the disk even when they aren’t needed anymore. I wrote a little Bash function to get rid of those kernels. … Continue reading

Posted in Administration, Bash, EN, Linux, Programming, Unix and unixoid | Tagged | Leave a comment

by the way …

Convenient little snippet to get my external IP: echo $(wget -q -O – ip.assarbad.net/text)

Posted in Administration, Bash, EN, Linux, Unix and unixoid | Leave a comment

CVS and SSH on a very old machine …

Had trouble getting it to work with ancient versions of ssh (OpenSSH_3.1p1) and cvs (Concurrent Versions System (CVS) 1.11.20). Until I figured that I could write a little wrapper script to see what’s wrong. The wrapper script looked like this: … Continue reading

Posted in Bash, Linux, Software, Unix and unixoid, VCS | Tagged , | Leave a comment

Re: Oracle bought ksplice … and apparently the source was pulled

I contacted one of the good people from ksplice (I’ve got an active subscription) and got pointed to oss.oracle.com/ksplice/software/ Unfortunately the access to a distributed version control is gone for good, it seems.

Posted in Administration, EN, Linux, Software, Unix and unixoid | Leave a comment

Oracle bought ksplice … and apparently the source was pulled

The source used to be at http://www.ksplice.com/git/ksplice.git, but now they pulled it. Only the disassembler library is now left. For now, here’s the download: 221b2b27906c76ac77b375c64dce9963 ksplice-git-backup.tgz // Oliver

Posted in EN, Linux, Software, Unix and unixoid | Leave a comment

Finding the kernel command line …

Something I’ve been looking for for some time now: cat /proc/cmdline

Posted in Linux, Software, Unix and unixoid | Tagged | Leave a comment

nullmailer-queue: Could not write envelope sender

Less than obvious reason, /var ran out of disk space. And /var/spool is located on that volume.

Posted in Linux, Unix and unixoid | Tagged | Leave a comment

Vim tabs and viewports …

Two very nice articles: www.linux.com/learn/tutorials/442415-vim-tips-using-viewports www.linux.com/learn/tutorials/442422-vim-tips-using-tabs // Oliver

Posted in Linux, Software, Unix and unixoid | Tagged | Leave a comment

beroot

… don’t confuse with reboot 😉 alias beroot=”sudo su -l root -c \”$(which bash) –rcfile $HOME/.bashrc\”” I like to feel home in my environment, even when I assume root rights. Since not everyone likes my .bashrc file in scenarios where … Continue reading

Posted in EN, Linux, Unix and unixoid | Leave a comment

Installing php5 on Ubuntu requires apache2?

When I wanted to install lighttpd today I added php5 to the apt-get install. But then it would tell me that apache2 and numerous other packages would also get installed. Turns out that instead of php5 I actually wanted php5-cgi. … Continue reading

Posted in EN, Linux, Unix and unixoid | Tagged | Leave a comment

mydumper – nice alternative for mysqldump

I’m using MariaDB. Now, I had the idea for smaller DBs to use the SQL dump and store that in a version control system such as Mercurial or Git. However, the ordinary mysqldump creates quite unreadable dumps. Since the version … Continue reading

Posted in C/C++, EN, Linux, Programming, Python, Software, Unix and unixoid | 2 Comments

Peculiar problems with mc under byobu

I’m using byobu on a daily basis, but occasionally I also use mc (Midnight Commander). Midnight Commander is a terminal-based two-panel file manager as they became well known with Norton Commander. If you look for a similar solution for Windows, … Continue reading

Posted in EN, Linux, Software, Unix and unixoid | Tagged , , | Leave a comment