Tuesday, January 11, 2011

Connecting Broadband Internet in Open Suse

Open Suse is one of the flavor of the Linux operating system.

This is small tutorial for connecting Broadband internet in Open Suse. For connecting Internet, you need to configure your DSL setting and you will need to install kinternet through yast. In this tutorial, you will find all the steps required for configuration and installation of Kinternet.

Configuring DSL :

  • Launch Yast control center.

  • Go to Network Devices, You will get the following window: 

  •  If you do not have any DSL connections, click on add to create a new connection.

  •  Setup ppp mode to “ppp over Ethernet” and click on next.

  • In providert Name text box, give the desired name for connection ex: connection 1.  
  • Provide you broadband’s username in username text box. If you want kinternet to ask password everytime you connect internet, thn check “always ask for password” otherwise uncheck that checkbox and enter you password and click next button. 

  • After clicking on next button, the system will write all the details onto the disk file. 

  • Now you have successfully configured DSL network settings. Now you need to install kinternet software.
 Installing Kinternet software :

  • Again go to yast software control system.

  
  • Select Software from left column and select “software management” from right hand side. 

  • In search bar, type “kinternet” and click on search.
  • Now check on Kinternet package and click on accept button. The sytem will now install kinternet software. Note : you need to have open suse disk for installing this software. So you will be asked to insert the disk while installation.
  • After installation, you need to start the kinternet service. Right click on desktop and select “run command” option type kinternet and then click on run.

  • After kinternet is started, you will see its icon on task bar.
     
  • Now to connect internet, double click on tht kinternet icon,



  •  You will be asked for the password. Enter you broadband connection’s password and click on ok. Now you are successfully connected to the internet. On successful connection to the internet, the kinternet icon will change to the following :

  • This signifies that you are successfully connected to internet. 

Sunday, January 9, 2011

Net Connection in RedHat

Hi friends, In my previous post, I told you how to connect net in Open SUSE system. In this post I’ll tell you how to connect net in RedHat OS. following steps are needed for connecting net.

  • Goto  system -> administration -> Network Configurations, you will see following window : 
 

In this window you will find the list of Ethernets and connections (if any) . If you do not find any devices here, do add the devices.
  • Now in order to setup dsl settings for broadband connection, click on new.
 

  • Select “xDSL connection” option and click on forward. 
 


  • Now here in the provider name, enter the desired name. ex : bsnl or connection1
  • Enter the username and password given by ISP. And click  forward.


  • You will be given summary about the connection you configured now. Click on apply to finish the configuration steps.
  • By performing above steps, you have done the required configuration. You need to activate this configuration to connect to the internet.
Now again go to system -> administration -> Network Configurations.



  • Now you will see the list of Ethernet device along with all the connection configurations link.
  • Click on the bsnl connection we configured just now and click on activate to invoke the connection.
  • You will be notified on successful connection.

Enjoy!.. :)

Monday, December 13, 2010

Filing Bugs in Bugzilla

Hi friends,
I Recently tested TS_65_Appisupport_Sanity Test specifications for netbeans 7.0 beta version. While performing these test cases, I encountered few bugs. So inorder to report these bugs to the netbeans developers, we need to enter these bugs to the bugzilla.

Following steps can be taken to report a bug :
  • Login to netbeans site.
  • Go to Enter bug page.
  • Click on appropriate module. For example, since I am testing for api support, i will click on apisupport  link. 
  • Select the appropriate component from the component list. Component specify a NetBeans module in which the error occurred.

  • Then select the version of the netbeans in which bug occurred.
  • Then select the platform and OS.
  • Select the priority of the bug. If u are not sure of the priority of the bug, then select P3.
  • The CC option is optional which is a space-separated list of netbeans.org login names who are notified about subsequent changes of an issue.
  • In summary field, just enter the brief title which shortly describes the type of bug. The summary should be 1 line title and not more than that.
  • Now Enter description of the bug. Description is a detailed description of the problem. The description should possibly include all information needed to reproduce the problem
  •  If you have taken any snap shot of the bug or have log files of the bug, then click on "Add an attachment" button.
  •  browse for the attachment file, enter its brief description and then provide the type of the attachment by selecting one of the 3 radio buttons. If the attachment is Image/ HTML / XML / Binary file then select on "select from list : " radio button and from the combo box, select an appropriate type of attachment.
  •   Click on Commit when done.  :)
Bugs Filed By me :

Useful Tips for Reporting a bug :
  • Always take a snapshot of the bug which may act as a proof of the bug and attach the snap shot while reporting a bug.
  • Mention the link of the test cases : The link of the test cases you followed.
  • Mention the build number of the netbeans IDE.
  • Add [70CAT] in the bug name . This will signify that the bug is filed for the 7.0 version of the IDE.
  • Add lots of information about the bug so that anyone can reproduce that bug.

Thursday, December 9, 2010

WordPress Installation Under Windows

It is always beneficial for installing the wordpress locally under windows. This is useful to prepare your blog easily before you put it live and most important thing is that it can be prepared locally. Another advantage of the same is for making your blog look more beautiful and install more plugins for your blog.
Here I will tell you the steps which will be helpful for you to install wordpress under windows.  For installation you will require different tools such as wordpress and XAMPP server. This setup will hardly require 10 minutes.

  • Get yourself a XAMPP server and download the exe version of it. Double click on the installation and extract it to c drive.


          After extraction, in a dos window, you would be asked for setup, perform that.

    • Once installation is complete, then run XAMPP server, double click xampp-control.exe . It will look like following :

              Start Apache and MySql services by clicking on start button.

    • After starting the services, Click on Admin button (next to Apache’s service start button) select your preferred language.

    • After selection of the language, click on phpMyAdmin(on the left column).


    • In create new database text box, enter wordpress and select utf8_unicode_ci in theMySql connection collation drop down box. Click on create button. Your XAMPP setup is now complete.

    Wordpress Installation :
    • Download Wordpress and extract it under c:\xampplite\htdocs.

    • Make sure that you have a wordpress folder under c:\xampplite\htdocs.  Browse to this folder, searh for a file named wp-config-sample.php. Open it in any text editor and replace the default values by the ones you see under this paragraph. After making changes, save the file


    // ** MySQL settings ** //
    define('DB_NAME', 'wordpress'); // The name of the database
    define('DB_USER', 'root'); // Your MySQL username
    define('DB_PASSWORD', ''); // enter your mysql password, and if you haven’t installed any                          before than do not change anything.
    ('DB_HOST', 'localhost'); // do not change anything here



    • Enter all the details setup during XAMPP installation such as database name, uname and password and then click on submit.
    •   Congratulations you are done with the installation of the wordpress.

    Wednesday, December 1, 2010

    Oracle Netbeans Platform Training

    Oracle conducted NetBeans Platform training on 27th and 28th nov at Infospectrum, nagpur. There were total 17  developers who attended the meet from nagpur, India.

    The training was given by Geertjan Wielenga, Principal Product Manager, Oracle Inc through skype and webex. The training was being conducted simultaneously in India, Canada and TOGO. It was the awesome training we had for two days to get familiar with the netbeans platform.

    I am really thankful to sir Tushar Joshi, founder and leader of NUG nagpur group for organizing this wonderful training and also sir Geertjan Wielenga, who spent his valuable time for this training in-spite of the busy schedule in weekend.

    The day 1 of training was about netbeans platform introduction and architecture with some of the examples. The next day we learned the basics about other apis which can be used in netbeans platform for enhancing the application functionality and also how modular our application can be made using the netbeans.
    This training for me was really awesome. Even though I attended the training late, but whatever i attended was really a great help for me to carry on and explore the platform more. And i understood the concepts told by sir.

    Here you can find the experience of other members on this training.
    Ameya, AtulHrushikesh,


    here are the pics of the training :




    Group Photo


    My next goal is to be a netbeans certified engineer. This can be done by creating a small plugin in the netbeans platform.
    :)

    Guys if you are really passionate about the netbeans platform and want training on this platform,  join NUG Nagpur group and be active on our mailing list.
    Nugnagpur is ready to welcome all the passionate users for the netbeans.

    Monday, November 8, 2010

    NetCAT

    NetBeans Community Acceptance Testing program (NetCAT)  




    Is a testing initiative by Netbeans IDE community. The goal of this program is to get active NetBeans community members involved in testing the NetBeans IDE development builds. We just have to provide feedback on product usability, quality and performance. In return, these volunteers are given an opportunity to significantly influence the quality of NetBeans IDE.

    For more information, visit the Netcat site

    It is a good opportunity for us to actually get through the Netbeans code and work on it to improve the quality of the Netbeans IDE.

    Reading on this netcat program, I was attracted with this testing program and decided to contribute in netcat. I dint know how to and where to start from and I am really thankful to Tushar Joshi sir, who helped me and guided me for this program.

    So to start with the testing program, we first need to know the test cases which are given to us for testing . The test cases for all the versions of Netbeans are given here : Test cases for all Netbeans versions. But All the testcases specific for Netbeans 7.0 are here.

    Now the question arises that how to test netbeans? You can test netbeans for the given test specifications and other than those test specifications on the daily nightly build version of netbeans.

    You can find and download the nightly build version of netbeans from www.netbeans.org site. Here is the link : Nightly Build Netbeans.

    I’ll keep on telling you my experience on it soon as I come across a new things.

    Friday, October 22, 2010

    Code Templates in Netbeans


    The code template feature of netbeans allows us to quickly write the frequently used code.

    It is like the abbreviation that gets expanded to its long form on using that abbreviation. So in this article I will tell you some of the code templates that are already defined in the Netbeans, which are frequently used and the one which are useful and I will also tell you how to create our own code templates.

    Before knowing the default code templates in Netbeans, we should first know how to use the code templates.
    So suppose we want to use the code template for Boolean.  The abbreviation used is bl. So to write Boolean we just need to write bl and then press TAB. So as soon as TAB is pressed, the Netbeans will write the complete Boolean word for you.  

    Netbeans is an intelligent editor which on expanding automatically identifies the variable on which the code is to be written. For example for the” for each” loop, the abbreviation used is fore. So whenever fore and TAB is pressed, it will automatically write the for each loop for you and it will automatically find the the variables for which you are writing that loop. So it is an intelligent  editor.

    Here are some of the code templates :
    • en = Enumeration
    • ex =Exception
    • ob = object
    • pf = public final
    •  
    • pfm = this will write the method structure as :
                Public final void method()
    {
    }
    • pm = this expand the abbreviation as
                    Public void method
                    {
                    }
    • ps=public static
    • psf public static final
    • st = String
    • al = to create a new array list.
    • bl = Boolean
    • br =break
    • dowhile = it will expand this abbreviation for do while loop
    • for = for loop
    • fore = for each loop
    • trycatch = it will expand it to try catch block
    • psvm= this will write main method.
    • sout = this will expand to “System.out.println(“”);
    • soutv=this is used when we want to print the values of variables. So this will be expanded to
                    System.out.println(“variableName=”+variableName);
                    So this will automatically take the variable name and will write the code as above.

    So these were the templates already present in Netbeans. Now suppose we want to create our own templates. So how to do? How to create our own templates.
    I will show you how to create it.

    Go to Tools->options.
    No go to editor tab and then select code template.
    The window will look like :

             (click on image to enlarge)

    This will show you the list of all the code templates present.
    Now to add the new template, click on new and enter the abbreviation. And click on OK. Now in the expanded text area, write the code you want to be expand on writing that abbreviation.
     Below you can see a combo box named “Expand template on”. This combo box lets you decide when to expand the text. Here default tab is selected. This means that whenever you will press TAB, your abbreviated code will be expanded.
    Click on Ok to save the newly created template.