page_header

maandag 2 januari 2012

Ubuntu 11.10 to the rescue

I gave up on LFS after getting errors while running the test of the glibc compile. Wrong compiler flags, human errors, ... ? Time to move on


Just installed Ubuntu Server 11.10 on /dev/sda1 of NB100. Mapped /dev/sda3 to /home and included OpenSSH in the install.


Assigned a fixed IP address (process described in one of the earlier posts on this blog)


Updated Ubuntu
- sudo apt-get update
- sudo apt-get upgrade


Changed the volume labels
- sudo e2label /dev/sda2 UbuntuServer
- sudo e2label /dev/sda2 UbuntuDesk


Installed Apache
Executed: sudo apt-get install apache2

Worked like a charm, was able to access the server on http://192.168.1.249

Error message on deamon start-up: "Could not reliably determine the server's fully qualified ..."

Added servername to server configuration file;
- sudo vim /etc/apache2/apache2.conf
  added line: ServerName 192.168.1.249

Please note that the correct configuration file is httpd.conf not http.conf as noted in an earlier post.

Restart server: sudo /etc/init.d/apache2 restart

donderdag 29 december 2011

Finished LFS chapter 5

Finished LFS chapter 5. Backed up the $LFS directory;


sudo tar -cvpzf ~/lfs_chptr5.tar.gz $LFS

dinsdag 27 december 2011

Linux from scratch

Hardware chosen for building LFS 7.0: Toshiba NB 100

Host OS Ubuntu 10.04 LTS (desktop version)

Partitioning HD;
- /dev/sda1 LFS 47GB
- /dev/sda2 Ubuntu (ext3) 47GB
- /dev/sda3 Empty 58GB
- /dev/sda4 Swap 8GB

Use sudo where needed (this is Ubuntu after all)!

Started by formating /dev/sda1 (section 2.3 of the LFS book)

Labeled the partitions;
- sudo e2label /dev/sda1 LFS
- sudo e2label /dev/sda2 Ubuntu

Mounted the new partition (section 2.4)

Downloaded the source tarballs in a separate directory (section 3.1)

Used this command to download the tarballs;
wget -i http://www.linuxfromscratch.org/lfs/view/stable/wget-lis -P $LFS/sources

Created the tools directory (section 4.2)

Added user lfs and switched to this user (sections 4.3 & 4.4)

Chapter 5: Creating a temporary system
To proceed work after reboot execute the following steps;
1. Open terminal window
2. export LFS=/mnt/lfs
3. sudo mount -v -t ext3 /dev/sda1 $LFS
4. su - lfs

Notes on the general compilation instructions (section 5.3);
1. Locate the relevant package ls package*
2. Unpack the source tarball;
- untar .tar.gz: tar -zxf package.tar.gz
- untar .tar.bz2: tar -jxf package.tar.bz2
- untar .tar.xz: tar -Jxf package.tar.xz
3. Enter the newly created directory containing the source code
4. Follow the instructions in the LFS book (configure, make & make install)
5. Leave the directory and remove it; rm -rf dirname

To complete chapter 5 it was necessary to install patch and bison;
- sudo apt-get install patch
- sudo apt-get install bison

woensdag 15 december 2010

Tussenstand gewicht

Het laatste nieuwe over mijn gewicht

zondag 12 december 2010

Create the cheat solution in MonoDevelop

1. Create a new solution in MonoDevelop



2. Add project to the solution



3. Add project header and source files

4. Publish the solution on the SVN repository



5. Add the C++ projects



6. Add header and source files to the C++ projects

7. Commit the newly added projects

zaterdag 11 december 2010

MonoDevelop 2.4 install on Ubuntu 10.04

1. Followed instructions on Badgerports

2. Removed version MonoDevelop 2.2 from Ubuntu

3. Installed MonoDevelop (+ plugins) from the software center



4. Look version 2.4 in Ubuntu 10.04!



5. Registered a new Subversion repository in MonoDevelop

maandag 6 december 2010

Subversion checkout using RabbitCVS

Installed the latest verion of RabbitSVN. Followed instructions on UbuntuGeek.com

Added repository
sudo add-apt-repository ppa:rabbitvcs/ppa

Updated source list
sudo apt-get update

Installed RabbitVCS
sudo apt-get install rabbitvcs-core

Installed RabbitVCS plugins
sudo apt-get install rabbitvcs-nautilus rabbitvcs-thunar rabbitvcs-gedit rabbitvcs-cli

Checked out code