Linux

Unlock Encrypted USB Disk on Ubuntu

by Forrest Sheng Bao http://fsbao.net

Ubuntu is an awesome Linux distribution. I encrypted my mobile hard drive by dm-crypt. Now when I plug it onto my USB port, it will automatically prompt me to input the passphrase. After that, I can visit this hard drive through Nautilus, the File Manager of GNOME desktop environment.

LAMP from source code on Ubuntu Linux 7.10 (Linux + Apache + MySQL + PHP/Python)

Forrest Sheng Bao http://fsbao.net
LAMP is a killer application on Linux. It is a also a killer application of open source solutions.
1. Before you start, please install some required packages
         sudo apt-get install build-essential flex libncurses5-dev libxml2-dev libxml2-util 
2. Let's compile Apache.
You can download the latest source code from Apache website http://httpd.apache.org/download.cgi

Encrypt your hard drives on Linux by dm-crypt and LUKS

by Forrest Sheng Bao http://fsbao.net

dm-crypt, an encryption on a mapping device was introduced into stable Linux kernel since kernel version 2.6.4. Encryption on a mapping device means data are firstly written into a mapping device, which is virtual and mapped to a real physical devices. In this manner, you can encrypt the entire partition, including the file system journals. dm-crypt also has a good extension, LUKS, Linux Unified Key Setup.

In this article, I will introduce two options. The first one doesn't use LUKS and is suitable for internal hard drives. The second one uses LUKS and is suitable for removable storage, such as USB memory stick.

The environment is Ubuntu 9.04. But I think it should also work for other Linux distributions.

Cadence Allegro SPB 16.2 Installation on Ubuntu 8.10 64-bit

UNFINISHED, JUST A DRAFT....DON' FOLLOW MY INSTRUCTIONS UNTIL I FINISH IT.

Forrest Sheng Bao http://fsbao.net

All what we later do are performed on a Linux shell. Although Cadence provides the GUI tools to download archives and load software, I prefer the command line version. Please make sure that you have the write permission on all directories to be operated.

I am planning to use two packages now, one is SPB, the Silicon Package Board, and ADW, Allegro Design Workbench.

Cadence distributes their software as three categories, Base, Update and Hotfix. You should install Base first, and then Update, and then Hotfix.

Installing LC-2 simulator on Ubuntu Linux 7.04

Forrest Sheng Bao http://forrest.bao.googlepages.com

LC-2 is the CPU instruction set and architecture purposed in Yale Patt and Sanjay Patel's book "Introduction to Computing Systems: From Bits and Gates to C and Beyond!".

installing cups-pdf to convert everthing into PDF

Forrest Sheng Bao http://forrest.bao.googlepages.com
Many people wanna find the solution to create PDF docs on Linux as Adobe Acrobat in Windows. Actually it is very easy. You just need two things, CUPS and CUPS-PDF. They can convert anything to PDF on Linux. And they are all free software.

if Apache 2 can't display accessible pages

Forrest Sheng Bao http://fsbao.net

If you have set the privilege to some files and directories to be accessible on Linux, but Apache 2 said
403 Forbidden
Forbidden
You don't have permission to access / on this server.
That is maybe 'cause you haven't set the privilege on Apache 2 configuration file.

R X11 fonts problem on Ubuntu

Forrest Sheng Bao http://fsbao.net I installed R via apt-get on Ubuntu 6.10.
Syndicate content