Philipp's Computing Blog

Success is about speed and efficiency

Posts from 2011-11

Install NX Server NeatX on Ubuntu 11.10

sudo apt-get install python-software-properties
sudo add-apt-repository ppa:freenx-team

As long as oneiric is not in the list of http://ppa.launchpad.net/freenx-team/ppa/ubuntu/dists/ you have to tell your packages sources to download and install the packages for lucid 10.04:
sudo sed -i 's/oneiric/lucid/g' /etc/apt/sources.list.d/freenx-team-ppa-oneiric.list

sudo vi /etc/apt/sources.list.d/freenx-team-ppa-oneiric.list
sudo apt-get update
sudo apt-get install neatx-server

Resources

  • This is a...

Read on

Install ROOT CERN on Mac OS X 10.7 Lion

Prerequisites

First, you need to install XCode 4 which can be found in the Mac App Store. You need it because it's providing the compiler and the git binary. Then install Homebrew using ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)".

ROOT Installation

Installing ROOT using configure and make is fairly easy. I recommend the...

Read on

Install Pandoc on Mac OS X

Installing Pandoc is easy when you have Homebrew installed:

brew install haskell-platform
cabal update
cabal install pandoc

Alternatively use the way described in its installation instructions.

Resources

...

Read on

Sort Installed .deb Packages by Size

GUI options

The easy GUI way is to use Synaptic and enable the "Installed Size" column by going to Settings → Preferences → Columns and Fonts.

You can then go to the "Status" filters and select the "Installed" filter then click on the column you want to sort by. It's interestingly...

Read on

Solve a problem with USB HDDs on Ubuntu 11.10

[ 3.086754] scsi 16:0:0:1: CD-ROM Virtual CDROM PQ: 0 ANSI: 0
[ 3.282066] sr 16:0:0:1: Attached scsi...

Read on

Data Recovery on Linux using TestDisk

Recover Files using TestDisk

Mount the partition with the lost files read only:

sudo mount -o remount,ro /dev/sdX

Install the requirements, the TestDisk suite:

sudo apt-get install testdisk

Start analysing:

sudo testdisk /dev/sdX
  1. Select your disk and enter Proceed.
  2. TeskDisk tries to find the correct partition type. If you are sure, the...

Read on

Update the Firmware of an OCZ Agility 3 SSD via the Linux Command Line

Boot a Linux system (not from the SSD itself!). For example a Ubuntu Live distribution. Run the following commands in your terminal (consider choosing a later firmware version if available from OCZ):

cd ~/Downloads
wget http://www.ocztechnology.com/files/ssd_tools/fwupd_v2.12.05.tar.gz
tar -xf fwupd_v2.12.05.tar.gz
sudo su
### The next step is flashing the SSD:
~/Downloads/fwupd_v2.12.05/linux64/fwupd –log /dev/sd?
# ( ↑...

Read on

Install Brother DCP-7054DN on Ubuntu Connected via Ethernet

Scanning

These instructions are for 64-bit Ubuntu. (If you're using 32bit, download the i386 .deb package and you also don't have to copy the three files from /usr/lib64 then...)

sudo apt-get install xsane sane-utils xsane-common
cd ~/Downloads
wget http://pub.brother.com/pub/com/bsc/linux/dlf/brscan4-0.3.0-2.amd64.deb
sudo dpkg -i brscan4-0.3.0-2.amd64.deb
sudo cp /usr/lib64/sane/libsane-brother4.so.1.0.7 /usr/lib/sane/
sudo cp /usr/lib64/sane/libsane-brother4.so /usr/lib/sane/
sudo cp /usr/lib64/sane/libsane-brother4.so.1 /usr/lib/sane/
brsaneconfig4 -a...

Read on

AutoFS with SSHFS on Ubuntu 11.10

AutoFS is a convenient tool to mount remote filesystems automagically.

Installation:

sudo apt-get install autofs sshfs
ssh-keygen

Entire content of my /etc/auto.master:

/net    /etc/auto.sshfs --timeout=120 --ghost

Entire content of my /etc/auto.sshfs

Documents   fstype=fuse,rw,allow_other,IdentityFile=/home

Read on