Thursday, December 4, 2014

cs Sept 3, 2014



qemu -hda tinycore.img -hdb texlive.img

(two creaed sda1 and sdb1)


two hard drives. one that has tools on it and one that we are doing the work on


documentation -> latex >> pdflatex (pdf), src2latex

metapost for diagrams.


tinycore loaded onto a virtual machine.

qemu -hda tinycore.img -hdb texlive.img

winscp  (allows to transfer files) scp client to scp server

src

Downloaded the qemu.img and ran the qemu command to create hard disks..

to start the dropbear server (after installing this app)
to start the server : /etc/init.d/dropbear start

ctrl alt 2 to get to qemu monitor..

(qemu)  hostfwd_add  tcp::2222-:22

password ( to change password for tc in the shell
download winscp login and run it inside it modify the following parameters and login
 winscp for login  (tc - login, server localhost, scp , 2222 port)

download src2latex and then upload it into the unix server using winscp. 

unzip and run the make command.

PATH=$PATH:/mnt/sdb1/texlive/bin/i386-linux

create a .cpp file
src2latex .cpp will create a .tex file of it.

pdflatex lap1.tex

pdfreader : evince  ghostscript

postscript

tce-load -wi ghostscript

write c++ code
screen capture of it running
diagram of it

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home