Tuesday, September 18, 2012

Installing Windows 7 from USB

To install Windows 7, 8, Vista from USB Key using command line
  1. Open Command line (cmd) Start -->run --> type "cmd" -->hit enter
  2. write the following commands in the opened command windows
    1. diskpart
    2. list disk
    3. selct Disk <number>
    4. clean
    5. create partition primary
    6. select partition 1
    7. active 
    8. format fs=NTFS
    9. assign
    10. exite
  3. Now the USB is bootable and ready to be used. Then copy the Windows file in to the USB either manually or using copy command. copy <sources> <destination> 
  4. Then restart the computer and boot from the usb by pressing the booting key. 
  5. Enjoy! 
Source:- Internet :-)

Thursday, September 13, 2012

Web Architecture

Project Over view

C4CE is a project that for the fulfillment of Web Architecture course.  The name C4CE stands for Cloud for Civil Engineering.
The aim of the Application is to enable civil engineers and Architects to use cloud infrastructures in their career, mainly for 3D rendering.  They use lux render engine for creating the 3D images from the auto sketch or google sketch plugins. This consume a large amount of resources of computation like memory, CPU, storage, etc. This can be easily handled using cloud computing.

I will be back on the detailed documentation. 

Sunday, August 19, 2012

Linux Giks

How to change the permission of a disk or a directory?

chown -R <user> <Directory>

eg: chown -R alemnew /media/ change the permission of  /media/ to alemnew.

Tuesday, June 19, 2012

Events I Attended

SAT'12 Trento - Italy June 19, 2012
Speaker:- Professor Donald E. Knuth from Stanford University
Topic:- SAT  and The Art of Computer Programming
He is a retired famous professor from Stanford University. Nevertheless, he is still writing books and papers in Computer Science. 

Thursday, April 26, 2012

java.lang.OutOfMemoryError

To solve this problem set the environment variable as export CATALINA_OPTS=”-Xms256m -Xmx512m” or export JAVA_OPTS=”-Xms256m -Xmx512m”

Search key word: OutOfMemoryError

More information: 
http://confluence.atlassian.com/display/DOC/Configuring+System+Properties
http://mhashem.wordpress.com/2008/08/25/set-tomcat-memory-heap-size/
http://stackoverflow.com/questions/3583757/how-to-make-sure-that-tomcat6-reads-catalina-opts-on-windows

Thursday, April 19, 2012

Setting Environment Variable in Linux

To set the environment variable for java, and other do the following

  • open /etc/bash.bashrc as root privileged 
  • put the executable application to /usr/local/bin/<appName> and copy here /install here. Also it's possible to refer the directory where ever.
  • Add the location to the opened file as follow; Examle for java: PATH=$PATH:/usr/local/java/<jdk...> and export PATH then save and exit.
Enjoy With ....