Netboot server

apt-get install dnsmasq nfs-common nfs-kernel-server /etc/dnsmasq.conf interface=eth1 dhcp-range=195.176.254.201,195.176.254.210,12h enable-tftp tftp-root=/tftpboot dhcp-boot=pxelinux.0 /etc/exports /livecd 195.176.254.0/255.255.255.0(async,no_root_squash,no_subtree_check,ro) /liveiso1 195.176.254.0/255.255.255.0(async,no_root_squash,no_subtree_check,ro) mount images command: mount -o loop /mnt/vz2/images/ubuntu-10.10-desktop-i386.iso /livecd mount -o loop /mnt/vz2/images/clonezilla-live-1.2.8-46-i686.iso /liveiso1 files2010:/tftpboot# ls -ltr total 12212 drwxr-xr-x 2 root root 4096 2011-09-09 15:43 casper drwxr-xr-x 2 root root 4096 2011-09-09 15:43 boot drwxr-xr-x 3 root root 4096 […]

apache ssl setup

framework4:/# mkdir /etc/apache2/ssl framework4:/# openssl req -new -x509 -nodes -out /etc/apache2/ssl/apache.pem -keyout /etc/apache2/ssl/apache.pem Generating a 1024 bit RSA private key ….++++++ …………++++++ writing new private key to ‘/etc/apache2/ssl/apache.pem’ —– You are about to be asked to enter information that will be incorporated into your certificate request. What you are about to enter is what is […]

Media Artist Netbook content

We install on our Netbooks: Partition 1: xubuntu 10.10 Additional window managers (see also http://en.wikipedia.org/wiki/Comparison_of_X_Window_System_desktop_environments) ubuntu-desktop (GNOME) kubuntu (KDE) openbox (OpenBox) Multimedia supercollider-emacs/gedit puredata audacity ardour jack vlc mplayer mencoder ffmpeg freej IDE QT Creator Eclipse Arduino processing Publishing gimp inkscape scribus mypaint OpenOffice

Setup SuperCollider in Ubuntu

1. Add these lines to sources.list, replace <your dist> with your value, eg. karmic, lucid, maverick deb http://ppa.launchpad.net/puredyne-team/ppa/ubuntu <your dist> main deb-src http://ppa.launchpad.net/puredyne-team/ppa/ubuntu <your dist> main Then execute these commands: sudo apt-key adv –keyserver keyserver.ubuntu.com –recv-keys 79696851 sudo apt-get update sudo apt-get install supercollider-vim supercollider-doc  supercollider

Partitioning with parted example

parted /dev/sdb (parted) print Model: AMCC 9550SXU-12 DISK (scsi) Disk /dev/sdb: 2880GB Sector size (logical/physical): 512B/512B Partition Table: gpt Number  Start   End     Size   File system  Name  Flags 1      17.4kB  750GB   750GB  ext3         ext4 2      750GB   1500GB  750GB               ext3 (parted) rm 2 (parted) rm 1 (parted) print Model: AMCC 9550SXU-12 DISK (scsi) Disk /dev/sdb: 2880GB Sector […]

Upload openwrt to Linksys router

1. Turn router off, hold reset, turn it on… or something similar, depending on the model (read the manual!) 2. atftp –trace –option “timeout 1” –option “mode octet” –put –local-file ‘/images/openwrt-wrt54g-2.4-squashfs-7.09.bin’ 192.168.1.1 3. it is a question of the timing. Sometimes I had to repeat this several times.