Debian on Webby... Debby!
12 anni fa
grub-install --no-floppy --root-directory=/media/E7E0-092F/ /dev/sdb
cp ubuntu-12.04-desktop-i386.iso /media/E7E0-092F
Edit /media/E7E0-092F/boot/grub/grub.cfg
menuentry "Ubuntu 12.04 ISO" {
set isofile="/ubuntu-12.04-desktop-i386.iso"
loopback loop (hd0,msdos1)$isofile
linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=$isofile noprompt noeject
initrd (loop)/casper/initrd.lz
}
debootstrap lenny armchroot
mount none -t proc armchroot/proc
chroot armchroot
@armchroot: apt-get update && apt-get install locales&& dpkg-reconfigure locales && apt-get install localepurge
@armchroot: apt-get install emdebian-tools
@armchroot: apt-get update && apt-get upgrade
targetsuite: lenny
@armchroot: emsetup -a armel
apt-get install lighttpd gitweb git-core
server.modules += ( "mod_cgi" )
url.redirect = ( "^/git$" => "/git/" )
alias.url += ( "/git/" => "/usr/lib/cgi-bin/" )
$HTTP["url"] =~ "^/git/" {
cgi.assign = ( ".cgi" => "" )
index-file.names = ( "gitweb.cgi" )
}
$projectroot = "/your/directory/git";
lighttpd-enable-mod gitweb
invoke-rc.d lighttpd force-reload
root@thelemasys:~# aptitude install python-virtualenv
And then as user:
denever@thelemasys:~$ virtualenv gaphor
denever@thelemasys:~$ cd gaphor
denever@thelemasys:~/gaphor$ source bin/activate
(gaphor)denever@thelemasys:~/gaphor$ easy_install gaphor
(gaphor)denever@thelemasys:~/gaphor$ gaphor
denever@tuscio:~/tmp/src$ cd Canon_UFRII_Linux_V1.90_IT/
denever@tuscio:~/tmp/src/Canon_UFRII_Linux_V1.90_IT$ cd 64-bit_Driver/
denever@tuscio:~/tmp/src/Canon_UFRII_Linux_V1.90_IT/64-bit_Driver$ cd RPM/
denever@tuscio:~/tmp/src/Canon_UFRII_Linux_V1.90_IT/64-bit_Driver/RPM$
denever@tuscio:~/tmp/src/Canon_UFRII_Linux_V1.90_IT/64-bit_Driver/RPM$ ls
cndrvcups-common-1.90-1.x86_64.rpm cndrvcups-ufr2-uk-1.90-1.x86_64.rpm
sudo apt-get install alien
alien cndrvcups-common-1.90-1.x86_64.rpm
alien cndrvcups-ufr2-uk-1.90-1.x86_64.rpm
sudo apt-get install ia32-libs
sudo dpkg -i cndrvcups-common_1.90-1_amd64.deb
sudo dpkg -i cndrvcups-ufr2-uk_1.90-1_amd64.deb
root@evans:~# apt-get install swftools
denever@evans:~$ swfextract file.swf
Objects in file file.swf:
[-i] 3 Shapes: ID(s) 2, 4, 6
[-j] 3 JPEGs: ID(s) 1, 3, 5
[-f] 1 Frame: ID(s) 0
denever@evans:~$ swfextract -j 1 -o image1.jpg
denever@evans:~$ swfextract -j 3 -o image3.jpg
denever@evans:~$ swfextract -j 5 -o image5.jpg