Web Kiosk Tutorial 1
Visit
http://www.debian.org/devel/debian-installer
* Download netinst (i386 for 32 & 64 bit pcs)
* Do basic install with no graphics.
* On "Software Selection Screen" only install "Standard System Utilites"
* Make Debian Login & password: root (optional)
* After installation you should have a black screen.
* Continue Below - And text the following commands.
1)
aptitude update
aptitude install openbox python-webkit
aptitude install xorg
aptitude install vim
apt-get install bootcd
apt-get install wodim
startx
2)
Right click goto uxterm (terminal)
cd /usr/bin
vim web.py
3)
Continue Below (Create a web browser):
#!/usr/bin/env python
import gtk, webkit
def go_but(str):
web.open('http://www.supremesearch.net/Desktop Search Engin.html')
win = gtk.Window()
win.connect('destroy', lambda w: gtk. main_quit())
win.fullscreen()
box1 = gtk.VBox()
win.add(box1)
box2 = gtk.HBox()
box1.pack_start(box2, False)
gobutton = gtk.Button("HOME")
box2.pack_start(gobutton)
gobutton.connect('clicked', go_but)
scroller = gtk.ScrolledWindow()
box1.pack_start(scroller)
web = webkit.WebView()
web.open('http://www.supremesearch.net/Boot.html')
scroller.add(web)
win.show_all()
gtk.main()
Leave insert mode by hitting the Esc: Then type the following ":wq" to save then press (Enter)
4)
Continue Below:
chmod +x web.py
./web.py -To Test It
Alt F4 -To Close It
5)
Continue Below:
Go Back To uxterm (terminal) Screen may be cleared but its ok:
cd /etc/xdg/openbox/
ls
vim autostart
add "web.py &" to end of file
Leave insert mode by hitting the Esc: Then type the following ":wq" to save then press (Enter)
6)
Continue Below:
Type exit & press enter to exit uxterm (terminal)
Right Click on desktop (Select exit)
* You should be back at the black Screen
* Now make system Boot directly into startx
1) In TTY (black Screen) Enter: vim /etc/rc.local
2) Add before exit 0 Enter: su root -c startx
3) Leave insert mode by hitting the Esc: Then type the following ":wq" to save then press (Enter)
4) Enter "reboot" to restart the system
7)
Continue Below:
Press Alt-F4 to exit browser
Right Click on desktop (Select exit)
* You should be back at the black Screen
* Now its time to build an ISO image!
One of the most obvious things to do to cut down on the space of your CD-ROM is to remove the /home partition.
NOT_TO_CDROM="/home/skx /home/qemu /home/misc /home/mp3"
Once you're happy with the way the basic setup lookss execute, as root, bootcdwrite to start the build process.
bootcdwrite
Final Step)
cd /var/spool/bootcd
Find your device
wodim --devices
Now Burn Your OS
wodim -v -dev='/dev/scd0' cdimage.iso
ALL Done!
For more help visit:
http://www.youtube.com/watch?v=c1kVBCZ77U0