Skip to main content

Posts

Showing posts from August, 2013

Installing Ubuntu using USB drive

Sources :  http://www.youtube.com/watch?v=27V2jFubDag (Creating live usb) http://www.linuxbsdos.com/2011/05/04/manual-disk-partitioning-guide-for-ubuntu-11-04/ (Manual disk partitioning guide) Creating live usb Download Ubuntu from here Format the usb drive to NTFS (Use Disk utility ) Unmount the usb device (Don't remove it from pc) Use the following command in Linux terminal to copy the .iso file into the usb device dd if=/location/of/.iso/file of=/location/of/usb/device b s=1024 Finding /location/of/usb/device Remove the usb drive Type cd /dev in Terminal Type ls Plug in usb device Again type ls Now it will display the usb device's location (Eg: If two extra items sdc and sdc1 are displayed in the second case /location/of/usb/device =  /dev/sdc (and NOT /dev/sdc1 ). See the example below dd if=/home/vineeshvs/Downloads/ubuntu-12.04.2-desktop-i386.iso of=/dev/sdc bs=1024 status=prog ress Installation Restart the system and enter BIOS

Copying files from my remote linux machine

 Copying file Source:  File vs.txt in the location /home/vineeshvs_logged_in/Desktop from the pc I have logged in. Destination: /home/vineeshvs_remote_pc/Desktop in a remote pc in the same network with ip 10.107.104.1 scp /home/vineeshvs_logged_in/Desktop vineeshvs@10.107.104.1:/home/vineeshvs_remote_pc/Desktop Copying folder Source:  Folder vs in the location /home/vineeshvs_logged_in/Desktop/vs from the pc I have logged in. Destination: /home/vineeshvs_remote_pc/Desktop in a remote pc in the same network with ip 10.107.104.1 scp -r /home/vineeshvs_logged_in/Desktop/vs vineeshvs@10.107.104.1:/home/vineeshvs_remote_pc/Desktop

Installing Python in Windows

Courtesy : http://stackoverflow.com/questions/4750806/how-to-install-pip-on-windows http://www.calazan.com/how-to-set-the-proxy-settings-in-windows-via-command-line/ http://docs.python-guide.org/en/latest/starting/install/win.html http://zetcode.com/tutorials/pyqt4/firstprograms/ http://www.ee.iitb.ac.in/student/~amaldev/contact.html   Verified with : OS: Windows 7 (32 bit) Python version: 2.7.5 (32 bit) 1. start -> cmd 2. Go to command prompt 3. Set the http proxy environment (if your network use proxy)     set HTTP_PROXY=http://user:password@proxy.domain.com:port 4. Go to http://www.python.org/getit/ and select the version of python and download (I used ' Python 2.7.5 Windows Installer ') 5. Click on the (.msi) file and install in default directory (C:\Pytho27) 6. Go to http://docs.python-guide.org/en/latest/starting/install/win.html (It will istall the latest version of Distribute for Windows) 7. Go to http://www.lfd.uci.edu/~gohlke/pythonlibs/#setuptools and inst