os/linux/ HomePage


FilePermissions PosixThreads RawInput UsefulX11Utils SecurityStuff

Linux

I have been using Linux in some form or another since early 1996 (Slackware 3.1 if I recall correctly, came on a cover Cd, with only enough instructions to create a boot disk). These days I use UbuntuServer on the headless server machines at home, and the Xubuntu flavour of Ubuntu on my Linux desktops or laptops. I also use VMs of Fedora and Debian. I use all three of Linux, Windows and macos, tending to whichever makes a given task more straightforward.

Virtualisation

To see if hardware vms are enabled:

cat /proc/cpuinfo

and look for lm (for 64-bit cpu), vmx for intel or svm for amd.

To install kvm on ubuntu:

sudo apt-get install qemu-system

For the virtual machine manager

sudo apt-get install virt-manager

To make a qcow2 hard drive image:

qemu-img create -f qcow2 disk.img 4G

Examples to boot an image using qemu:

# From a floppy img
qemu-system-i386 -fda floppy.img -boot a
# Install to hard drive from cd image
qemu-system-i386 -cdrom cd.iso -hda myhdd.img -boot d -m 256 -localtime

Kernel Hacking

Shell Resources

EssentialCommandsToKnow[c]

I love Tmux as a shell multiplexer. MyShellStartupScripts

Some Random Scripts

tidypath

Configuration

SMB TmpFs Apache2Httpd

Installing stuff

MonoDevelop

Debian/Ubuntu Resources

AptPackageManagement[a]

My previous wikis are over here and I am gradually migrating the content over. But it is something I need to do by hand since I want to sort through things as I go.

– John