201212090900


Recreating eth0 on Ubuntu-Turnkey-1204

  1. exit configuration console, if any.

  2. remove network module (this cleans eth1 device from /proc)

      rmmod e1000

  3. delete detected NIC info from 

      /etc/udev/rules.d/70-persistent-net-rules

  4. restart udev

      service udev restart

  5. insert module

      modprobe e1000
      
  6. reboot appliance and configure network via configuration console (DHCP), if any.

Or scripted

  #!/bin/sh
  # /usr/local/bin/net-recovery

  UDEVFN=/etc/udev/rules.d/70-persistent-net-rules

  cat $(UDEVFN) | head -n 6 > $(UDEVFN).temp
  mv $(UDEVFN).temp $(UDEVFN)
  rm -f $(UDEVFN)
  rmmod e1000
  service udev restart
  modprobe e1000
  init 6
  
----------

Useful packages for TurnKey JeOS.

python3 ruby1.9.1-full vim wget adduser build-essential linux-headers-$(uname -r)
 
----------

Openbox install packages for TurnKey JeOS.

xserver-xorg xfonts-base xinit xterm openbox obconf feh fbpanel rox-filer gnome-icon-theme iceweasel

in .config/fbpanel/default (should be started with errors once) replace x-filemanager with rox, comment out loudness plugin

----------

Xfce4 install packages for TurnKey JeOS.

xserver-xorg xfonts-base xinit xfce4 thunar xfce4 xfce4-panel xfce4-terminal mousepad iceweasel

----------

RoR Turnkey appliance on Oracle VirtualBox (install from iso):

  Ports to forward:
  
       22 - openssh
     3000 - rails
     3306 - mysql
    12320 - web console
    12321 - webmin

1. Install kernel headers

     apt-get install linux-headers-$(uname -r)
  
2. Install VirtualBox Guest additions for the installed version of VirtualBox.
  
3. Go

     Start -> Settings -> Display -> Resolution
    
     set 1280 x 960
