Nxl67002 - Ubuntu: Difference between revisions

From miki
Jump to navigation Jump to search
(→‎Simple Settings: cron + proxy)
(→‎Simple Settings: grub - no more default to windows xp)
Line 53: Line 53:


== Simple Settings ==
== Simple Settings ==
*'''GRUB''' &mdash; Added to file <tt>/etc/grub.d/40_custom</tt>: <source lang="bash" enclose="prevalid">set default="Microsoft Windows XP Professional (on /dev/sda2)"</source>
* <s>'''GRUB''' &mdash; Added to file <tt>/etc/grub.d/40_custom</tt>: </s>(Not needed anymore since VirtualBox boots Windows directly, so no risk of booting host again)<s><source lang="bash" enclose="prevalid">set default="Microsoft Windows XP Professional (on /dev/sda2)"</source></s>
* '''CRON''' - cron script for automatic '''backup''' of wikis on Noekeon's (see [[{{PAGENAME}} - Files|config files]].
* '''CRON''' - cron script for automatic '''backup''' of wikis on Noekeon's (see [[{{PAGENAME}} - Files|config files]].
* '''PROXY''' - script for automatic setup of network environment (proxy, ssh...) (see [[{{PAGENAME}} - Files|config files]].
* '''PROXY''' - script for automatic setup of network environment (proxy, ssh...) (see [[{{PAGENAME}} - Files|config files]].

Revision as of 00:06, 28 May 2010

Introduction

This is the configuration page for the Ubuntu Lucid Lynx 10.04 LTS (amd64) partition on NXL67002.

Configuration Files

All configuration files can be found here.

Installed Applications

[2010-05-03] Gnome DO (gnome-do)
[2010-05-10] Midnight Commander (mc) see reference page
[2010-05-10] Vim (vim)
[2010-05-10] Opera 10.53 beta
[2010-05-10] VirtualBox 3.2.0 (virtualbox-3.2) [2010-05-26] Updated! — See VirtualBox
[2010-05-10] Samba (smbclient smbfs)
[2010-05-10] KeePassX (keepassx)
[2010-05-11] Privoxy (privoxy)
[2010-05-11] AutoSSH (autossh)
[2010-05-11] apt-file (apt-file)
[2010-05-11] SSH Tunnel script (sshtunnel.pl, libssl-dev) Thierry Walrant's Perl script sshtunnel.pl
[2010-05-11] GNU C/C++ compiler (g++)
[2010-05-26] UltraEdit 1.2.0.7 (uex)
[2010-05-27] MBR (mbr) To create VirtualBox rawdisk
[2009-05-27] Courier IMAP (courier-imap courier-doc courier-imap-ssl) Install instructions and local settings
[2009-05-28] SSH (ssh)
[2009-05-28] p7zip (p7zip-full p7zip-rar)
[2009-05-28] dlocate (dlocate)


Un-installed applications (by uninstall date): none

Automatic Updates

  • [2010-05-03]Kernel — (linux-image-2.6.32-22-generic, replacing original linux-image-2.6.32-21-generic)

Simple Settings

  • GRUB — Added to file /etc/grub.d/40_custom: (Not needed anymore since VirtualBox boots Windows directly, so no risk of booting host again)
    set default="Microsoft Windows XP Professional (on /dev/sda2)"
    
  • CRON - cron script for automatic backup of wikis on Noekeon's (see config files.
  • PROXY - script for automatic setup of network environment (proxy, ssh...) (see config files.

Detailed System Settings

1st install

  • 1st install on [2010-05-03]
  • Distribution: Ubuntu 10.04 LTS amd64
  • Installation method: Net boot install from Internet using GRUB
  • Language: English
  • Location: Europe, Belgium Time
  • Computer name: NXL67002UX
  • Keyboard layout: USA, USA
  • Name: beq06659
  • Login name: beq06659
  • Update: Install security updates automatically
  • Software to install: Ubuntu Desktop
  • Partition: see main page

File System

  • For details, see /etc/fstab.
  • Windows partition:
    • C: → do not mount automatically. Risk of corruption if mounted while VirtualBox is running!
    • D: → mount as /windows/d.
  • File system structure:
/:                                        # /dev/sda7
  drwxr-xr-x root      root      windows/
  lrwxrwxrwx root      root      data -> /mnt/data/
  lrwxrwxrwx root      root      sage -> /data/sage-4.2.1/
/home/beq06659:
  lrwxrwxrwx beq06659  beq06659  Maildir -> /data/beq06659/Maildir/
  lrwxrwxrwx beq06659  beq06659  backup -> /data/beq06659/backup/
/mnt:
  drwxr-xr-x root      root      data/    # /windows/d/andlinux/Drives/data.reiserfs.10G.dvi
  drwxr-xr-x root      root      winc/    # /dev/sda2
  drwxr-xr-x root      root      wind/    # /dev/sda5
/windows:
  lrwxrwxrwx root      root      d -> /mnt/wind/
/data:
  drwxr-xr-x altran    altran    altran/
  drwxr-xr-x beq06659  beq06659  beq06659/
  drwxr-xr-x beq06659  beq06659  sage-4.2.1/
  drwxr-xr-x www-data  root      www/
/var:
  lrwxrwxrwx root      root      www -> /data/www/

Network

To be completed

Preferences

  • Appearance
    • Fonts: All font size set to 8, except Title → 9.
  • Keyboard Layout (System-Wide)
    • Layout: Belgium (default) + USA, no separate layout
    • Options: capslock affects all keys, shift+capslock switch layout (because shift-alt conflicts with ctrl-alt-shift shortcuts), right alt chooses 3rd level
  • Keyboard Shortcuts
  • Action Shortcut Remark
    Home Folder Win-E (Mod4-E) Hack Super is mapped to Win keys not needed anymore it seems
    Expo key Shift-Win-E (Shift-Mod4-E)
    Activate the window menu Shift-Alt-Space was conflicting with Gnome DO shortcut
  • Window List Panel (see here)
    • Window List Content → Show windows from all workspace
    • Restoring Minimized Windows → Restore to native workspace

Detailed Application Settings

Courier IMAP

  • Install:
    • Create directories for web-based administration
    • SSL Certificate: /etc/courier/pop3d.pem, /etc/courier/imapd.pem
    • Postfix configuration: local only
    • System mail name: nxl67002ux.wbi.nxp.com

Gnome DO

  • Autostart, Quiet mode, notification icon, Glass theme
  • Launch key: <alt>+space (! disable first Gnome global shortcut for Activate the window menu)

Nautilus

  • Default view: List View
  • Display, date format: YYYY-MM-DD hh:mm:ss
  • List View: zoom 33%

Terminal

  • Set default window size (system-wide) to 150x43
  • Disabled menu shortcut key (F10) (conflicts with midnight commander)
  • Set scrollback to 5120 lines

VirtualBox

  • Installed with apt, version 3.2.0
  • We are booting Windows directly from the partition /dev/sda2. For this we create a raw disk, and update the MBR code to remove GRUB (requires package mbr):
sudo dd if=/dev/sda of=opensource.mbr bs=512 count=1
sudo install-mbr -i n -p D -t 0 opensource.mbr                     # Requires package "mbr"
VBoxManage internalcommands createrawvmdk -filename nxl67002-sda2-mbr.vmdk -rawdisk /dev/sda -partitions 2 -relative -mbr opensource.mbr
See section Advanced storage configuration in Ch. 9 Advanced topics.
NOTE! The raw disk might need to be updated every time the partitioning change on the host drive. But may be this is not required since we used -relative.
  • VirtualBox must be booted as root:
gksudo VirtualBox&
  • Virtual machine NXL67002
    • Base Memory 1536 MB, 2 cpus, VT-x/AMD-V enabled, Nested Paging enabled
    • Video memory 48 MB, 2 monitors, 3D accel enabled, 2D accel enabled
    • Audio host driver PulseAudio, controller ICH AC97
    • Network PCnet-FAST III, bridged, eth0
    • Machine folder: permanent, full access, /windows/d as d
    • Default layount: seamless mode, extended desktop (windows taskbar on external monitor, gnome taskbar on primary monitor, workspace switcher panel on top bar)

To Do

Nothing so far...