Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: XAMPP/LAMPP like stack for java and python

  1. #1
    Join Date
    May 2011
    Beans
    143
    Distro
    Ubuntu 12.04 Precise Pangolin

    XAMPP/LAMPP like stack for java and python

    I used to create web applications with XAMPP (www.apachefriends.org/en/xampp-linux.html) which has a simple whole collection of mysql, php, apache which i cam turn on/off with just simple
    Code:
    /lampp/bin/lampp <args>
    without installing anything on my whole native machine ... If i end up messing with mysql DB or some config error I just remote the whole lampp directory and reinstall by just unzipping the installer i downloaded...

    IS THERE ANY SUCH XAMPP STACK FOR JAVA AND PYTHON

    please help me ... I really need one like XAMPP

  2. #2
    Join Date
    Feb 2008
    Beans
    251
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: XAMPP/LAMPP like stack for java and python

    Hi!

    I don't think there's any direct equivalent, but for Java you can have a look at the tomcat[1] webserver, and which is in the repositories[2] and simple to set up and administer[3]. Once you have something ready, installing your webapps is easy too[4].

    For Python, you can work with Apache too, in a similar way to PHP [5], and it's not overly complicated if you're already familiar with PHP and Apache.

    Good luck!
    gp

    [1] http://tomcat.apache.org/
    [2] https://help.ubuntu.com/12.04/serverguide/tomcat.html
    [3] https://help.ubuntu.com/12.04/server...tomcat-webapps
    [4] http://www.vogella.com/articles/Apac...#tomcat_deploy
    [5] http://docs.python.org/2/howto/webservers.html

  3. #3
    Join Date
    May 2011
    Beans
    143
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: XAMPP/LAMPP like stack for java and python

    Well thanks for the reply, I have used PHP with apache for a long time, surprisingly never took the pain of configuring it myself because I was introduced to it with XAMPP, Its easy to work without touching my native os. I found this Bitnami, a bit similar to XAMPP where i can remove the whole bundle if there is some crappy configurations. I am looking for something which

    1. Can be copied simply to /opt/ directory with no need to install
    2. Previously configured with python/java so that I can kick start my programming

    (I also have to mention that i am a beginner with jsp/python CGI)

    Reference:
    This is a bundle but not 100% configured (not sure if its preconfigured)
    Code:
    http://bitnami.org/stack/lamp

  4. #4
    Join Date
    May 2011
    Beans
    143
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: XAMPP/LAMPP like stack for java and python

    Never mind, Found it myself, Bitnami's stack are preconfigured. I was trying to mess with django(without knowing about it) I just had to put my python files inside cgi-bin to et it working. The python part is fine for me, but I will leave the thread open for Java.

  5. #5
    Join Date
    Feb 2008
    Beans
    251
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: XAMPP/LAMPP like stack for java and python

    Hi,

    Not sure what's wrong with tomcat... Once it is installed (and you can see how easy that is on the links I sent) you need to do absolutely no configuration on it to have a working java servlet container.

    I haven't had to mess with the configurations on my server since installing, and uninstalling is just as simple; using apt-get.

    Then, once you have a java app written (which could be anything from your "hello world" and upwards) it's as easy as exporting a .war from your IDE, and copying that into the webapps directory (/var/lib/tomcat6/webapps/ here)... you don't need to change your "native os" beyond installing the tomcat server itself.

    There are a million tutorials online to help you kickstart your programming, and some excellent ones on the tomcat project pages themselves [1].

    Have a look at it... I'm not sure you'll find anything simpler

    Cheers
    gp

    [1] http://tomcat.apache.org/tomcat-6.0-...dev/index.html

  6. #6
    Join Date
    Apr 2007
    Beans
    617
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: XAMPP/LAMPP like stack for java and python

    for python I would look at web2py, it is 100% self contained. You can get fancy and add a real db like mysql or run it behind apache, but if you're just developing apps you really don't need anything else

  7. #7
    Join Date
    May 2011
    Beans
    143
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: XAMPP/LAMPP like stack for java and python

    Quote Originally Posted by greenpeace View Post
    Not sure what's wrong with tomcat... Once it is installed (and you can see how easy that is on the links I sent) you need to do absolutely no configuration on it to have a working java servlet container.

    Tomcat is perfectly fine, but it does not come with an database ... I need to have separate stack, I work with jsp,php and python. I make some simple optimization with the database depending on the application server. That is why i need a self contained php,jsp and python appserver with its own database.

  8. #8
    Join Date
    May 2011
    Beans
    143
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: XAMPP/LAMPP like stack for java and python

    ................
    Last edited by vikkyhacks; February 25th, 2013 at 05:18 PM. Reason: sorry, I have explained it in the next post

  9. #9
    Join Date
    May 2011
    Beans
    143
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: XAMPP/LAMPP like stack for java and python

    Quote Originally Posted by cybergalvez View Post
    for python I would look at web2py, it is 100% self contained. You can ..
    do we have it for Linux (Ubuntu)

  10. #10
    Join Date
    Feb 2008
    Beans
    251
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: XAMPP/LAMPP like stack for java and python

    Quote Originally Posted by vikkyhacks View Post
    I make some simple optimization with the database depending on the application server. That is why i need a self contained php,jsp and python appserver with its own database.
    Ok, understand now, though I'm not aware of anything along those lines.

    What optimisations are you making to the DB that means you can't use MySQL or Postgresql with it?

    Cheers,
    Gp

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •