How to run Virtualbox 5 on 4.4.1 kernel

Lots of people report some problems with dkms in order to run Virtualbox properly with latest 4 kernel. At the time being the latest kernel is 4.4.1.
The details below are based on Debian stable (jessie) but should work fine on other distributions as well.

How to enable JRE plugin in OpenSuSE 13.1

Even if you install the rpm or sources from Sun the JRE plugin is not enabled by default under Firefox that shipped with latest OpenSuSE 13.1.
To sort out this just follow the simple steps outlined below.

error 23 error while parsing number

I spent many hours trying to figure out why the hell the latest Debian (Squeeze) broke my boot loader. After a reboot my server has been unavailable.
I was getting the error: error 23 error while parsing number because my partitioning scheme was based on software RAID.

Mod rewrite does not work even if it is enabled

I've recently setup Apache/MySQL/PHP on my Debian Squeeze to test a few things and got confused with mod_rewrite. Even the module was properly enabled into PHP my application didn't work. I was always getting a 404 error. Apache logs showing nothing relevant.

How to install Firefox 3.6.13 on Debian

If you are reading this article you will have various reasons to use latest Firefox instead of Iceweasel. Debian does not provide any, working out of the box binary especially when you are under a 64bit Debian Squeeze (stable).

How to compress files using bzip2

Bzip2 typically compresses files to within 10% to 15% of the best available techniques (the PPM family of statistical compressors), whilst being around twice as fast at compression and six times faster at decompression. It is a must algorithm for file compression under Linux. It will save you a lot of space. In our example below we successfully compress a 404MB directory down to 229MB in a minute.

Recursively delete all .svn folders

If you are a developer or working with a developer and Subversion then you occassionaly you might need to upload your project to a ftp server ofcourse without uploading thousand of files inside those .svn folders. There is a simple command to remove all these recursively under Linux. Obviously it does not matter what Linux distribution you are using. Just do what described here.

Permissions Ownership on Linux

Permissions on Unix-like systems (like Linux) are managed in three distinct classes. These classes are known as user, group, and others. In this article we will examine the Linux permissions by using the ls command for outline our examples.The ls command is probably the one that people find themselves using the most. After all, before you can manipulate and use files in a directory, you first have to know what files are available. That's where ls comes in, as it lists the files and subdirectories found in a directory.

How to kill a user session

First find who is logged in:

stelios@amilo:~> w
 14:05:24 up  1:28,  2 users,  load average: 0.26, 0.37, 0.36
stelios  tty7      12:37     ?     1:40   0.35s /usr/bin/gnome-session
stelios  pts/0     14:01    0.00s  0.06s  0.02s w

Assume that you want to kill user stelios. Run: ps -fu stelios you will see something like:

stelios@amilo:~> ps -fu stelios
stelios   4757     1  0 12:37 ?        00:00:00 /usr/bin/gnome-keyring-daemon --
stelios   4789  3685  0 12:37 ?        00:00:00 /usr/bin/gnome-session

Just send a kill -hup pid and user will be disconnected. In our example that is kill -HUP 4757 and so on.

Items 1 - 9 of 9 displayed.

Back to Home page