Skip to main content

How to start using and developing on Ubuntu Linux?



I am a newbie Linux user who came from 10 years using windows OS, and developing in Microsoft languages.








I want to have a good experience in Linux world and developing on it.


First, I want to learn how to use this new OS, then how to start developing on it, I am interested in web applications, specially using Java/PHP because I have some experience in both and it will be a good start.





Second, I want to learn how to develop on it.


Are there any video tutorials to give me a good starting push?


any recommended books or references?



Source: Tips4all

Comments

  1. Suggestions

    Environment Setup


    I would recommend you install a the JDK if you are doing Java development. Look here for instructions on using apt to install the sun JRE.
    Then, get yourself a decent IDE setup. Try Netbeans or Eclipse - both can be configured to work with php as well.
    Also make sure you install php and Apache, here are some instructions.
    Since it sounds like you are going for the classic LAMP setup, you may as well install PostgreSQL or MySQL.


    That should get you running far enough to make videos, etc useful.

    Development Resources

    IDE Resources


    Guided Video Tour of Netbeans 6.5
    Eclipse and Java Video Tutorials


    Java


    Java Antipatterns - Learn what not to do in Java.
    Apache Commons - Get libraries for common tasks in Java.


    PHP


    PEAR - Get libraries for common tasks in PHP.
    ADODB - Get a decent db backend for PHP and learn how to prevent SQL injection attacks from the start.
    Start to play around with a web dev framework.

    ReplyDelete
  2. Since both Java and PHP are cross platform, it seems your biggest task would be to familiarize yourself with GNU/Linux and tools related to web development, apache web server in particular. Here are a few things google gave me:


    http://www.micahcarrick.com/09-28-2007/web-development-linux.html

    http://httpd.apache.org/docs/2.2/


    Have fun.

    ReplyDelete
  3. Another option is Lazarus, which is based on Free Pascal, which itself is based on Delphi.

    Lazarus allows you to develop using Object Oriented Pascal, across Linux, Windows and MacOSX and produces natively compiled executables on each target platform.

    Natively compiled executables are generally much faster than interpreter based apps (i.e. Java, C#, PHP).

    Lazarus use a component and event based approach to development which allows you to design GUI by dragging and dropping components on a Form Designer, which then are hooked through events.

    Good luck with your programming adventures!

    ReplyDelete
  4. Ubuntu Pocket Guide

    If you're new to Linux, I'd suggest you look at the Ubuntu Pocket Guide. It goes through basic stuff that any user would want to know - window management, system configuration, etc, as well as some historical background on Linux and Ubuntu. You can skim through that and learn a bit.

    Bash Basics

    Towards the end, it also explains the basics of bash, which is the Linux command line. That part is interesting - you can do a lot more in bash than you can do in the Windows command line. For example, you may be familiar with this Windows idiom:

    dir > directorylist.txt


    ...which means, "list the contents of this folder, and instead of showing the output, put it in this file."

    In Linux, you can do that, and you can also do piping, where you direct the output of one command into another. For example:

    ls | grep foo


    means "list the contents of this folder, and search through the output for the regular expression foo." You can add as many pipes as you want and use a variety of commands.

    You can also use brace expansion to run multiple commands in sequence. For example,

    mkdir photos_{france,spain,italy}


    will create directories called photos_france, photos_spain, and photos_italy.

    If you're going to be developing in Linux, you should invest the time to read some tutorials on bash to take full advantage of it.

    ReplyDelete
  5. Ubuntu Kung Fu might be a good start.

    ReplyDelete
  6. Java development is something you can do with ease using Eclipse on Linux. PHP development is more or less the same as on Windows. Use a good text editor to write the PHP scripts.

    Installing the required tools might differ from how it's done on Windows, but both PHP and Eclipse are available as packages in Ubuntu.

    ReplyDelete
  7. If I was to recommend one thing, it would be that you must learn to love the shell. It takes time to feel at home in, but it's well worth it.

    On a related theme - You might want to consider using emacs or vim as your editor, but that's more of a personal preference thing. Some people just like IDE's better.

    You should probably focus on PHP, rather than Java. It's easier to get started with and it's much more true to the Linux tradition (Whatever that means) than Java is.

    ReplyDelete
  8. Eclipse should run fine in Ubuntu.

    Try some Java development in it to get yourself started.

    ReplyDelete
  9. If you want to get your lamp setup pretty easily, you can take a look at Zend Server Community Edition. http://www.zend.com/products/server/downloads-all

    For development eclipse (as suggested above) with PDT (Php development tools) is pretty good http://www.eclipse.org/pdt/. I prefer Netbeans though. You could also use gedit with some plugins see this

    ReplyDelete

Post a Comment

Popular posts from this blog

[韓日関係] 首相含む大幅な内閣改造の可能性…早ければ来月10日ごろ=韓国

div not scrolling properly with slimScroll plugin

I am using the slimScroll plugin for jQuery by Piotr Rochala Which is a great plugin for nice scrollbars on most browsers but I am stuck because I am using it for a chat box and whenever the user appends new text to the boxit does scroll using the .scrollTop() method however the plugin's scrollbar doesnt scroll with it and when the user wants to look though the chat history it will start scrolling from near the top. I have made a quick demo of my situation http://jsfiddle.net/DY9CT/2/ Does anyone know how to solve this problem?

Why does this javascript based printing cause Safari to refresh the page?

The page I am working on has a javascript function executed to print parts of the page. For some reason, printing in Safari, causes the window to somehow update. I say somehow, because it does not really refresh as in reload the page, but rather it starts the "rendering" of the page from start, i.e. scroll to top, flash animations start from 0, and so forth. The effect is reproduced by this fiddle: http://jsfiddle.net/fYmnB/ Clicking the print button and finishing or cancelling a print in Safari causes the screen to "go white" for a sec, which in my real website manifests itself as something "like" a reload. While running print button with, let's say, Firefox, just opens and closes the print dialogue without affecting the fiddle page in any way. Is there something with my way of calling the browsers print method that causes this, or how can it be explained - and preferably, avoided? P.S.: On my real site the same occurs with Chrome. In the ex