alromero’s posterous

Open Source Software & More 

Working with Templates in Apache Roller 4.0

Hi, this three-part article is an excerpt from the Apache Roller 4.0 Beginner's Guide, where you will learn to create a custom template for your Roller blog:

http://www.packtpub.com/article/working-with-templates-in-apache-roller-4

If you haven't used Apache Roller before, give it a try, I guarantee you won't regret it!

Loading mentions Retweet
Filed under  //   Apache Roller   blogs   Custom Templates   Velocity  

Comments [0]

Apache Roller 4.0 Beginner's Guide Book Announced in Packt Publishing Web Site

Comments [0]

Introduction to the Struts Web Framework - NetBeans IDE 6.7 Tutorial

Introduction to the Struts Web Framework

This document takes you through the basics of using NetBeans IDE to develop web applications using the Struts web framework. Struts is an open source framework that extends the Java Servlet API and employs a Model, View, Controller (MVC) architecture. It enables you to create maintainable, extensible, and flexible web applications based on standard technologies, such as JSP pages, JavaBeans, resource bundles, and XML.

This tutorial teaches you how to build a simple MVC application that displays a login page and returns a success page upon submitting data that passes validation. You learn several basic features provided by Struts, as well as how these features are implemented using the IDE. Specifically, you use Struts tags in JSP pages, maintain user data with a Struts ActionForm bean, and implement forwarding logic using a Struts Action object. You are also shown how to implement simple validation to your application, including setting up warning message for a failed login attempt.

Excellent tutorial if you want a quick intro to Struts & NetBeans...

Loading mentions Retweet

Comments [0]

Develop PHP Web Applications with NetBeans, VirtualBox and Turnkey LAMP Appliance

Develop PHP Web Applications with NetBeans, VirtualBox and Turnkey LAMP Appliance

In this article by Alfonso Romero, we will learn how to configure NetBeans, VirtualBox and the Turnkey LAMP Appliance to develop complex PHP applications in a virtual environment. This article explains the process of creating a virtual machine, configuring the NetBeans PHP IDE, and managing a WordPress project with NetBeans in a step wise manner.

I hope this article helps to promote TurnKey Linux appliances, VirtualBox and NetBeans as a powerful way to develop Web apps...

Loading mentions Retweet

Comments [1]

UNetbootin - Homepage and Downloads

The other day I ran out of CDs to create a KUbuntu Live CD, and after googling to find another way to install this Linux distro, I found this excellent piece of software to create bootable Live USB drives of Ubuntu, KUbuntu and a bunch of other Linux distros!

Loading mentions Retweet
Filed under  //   bootable Live USB   KUbuntu   Ubuntu   UNetbootin  

Comments [1]

Widgetbox › Edit Widget: alromero's posterous - Open Source Software & More

If you haven't visited the WidgetBox Web site yet (http://www.widgetbox.com), go and take a look! You can make your own widgets, like the one I made to show my recent posts from Posterous!

Loading mentions Retweet

Comments [0]

Using X11vnc instead of vino, tightvncserver or vnc4server

I've been having a lot of trouble lately, using vino and vnc with my Ubuntu Linux PC. The bottom line is I need to use a remote desktop application to manage my Ubuntu PC from my Windows desktop. The first thing I tried was the Remote Desktop feature included in Ubuntu. This feature uses a package called vino, and the problem with vino is that I can't see the Ubuntu cursor correctly and the connection is a bit jerky.

Then I decided to install tightvncserver, but the keyboard was a mess and some icons and colors didn't display correctly on the remote desktop. After that I tried vnc4server, but got the same results. Then I stumbled upon No Machine NX (http://www.nomachine.com/) and decided to install it. To my surpirse it worked well the first time, but then Ubuntu updated some packages and NX started to behave exactly like tightvncserver and vnc4server!!

But today, after a week of frustration, I finally found something that works, at least for the time being! This fabulous package is called Xvnc, and you can download it from Ubuntu's repository. Just install it, open a terminal window and type x11vnc. Then you can connect from another PC using any vnc client like vncviewer:

The screenshot above shows a session on my Ubuntu PC using vncviewer from TighVNC on my Windows XP desktop. There are some settings to take care of, like adding a password to my X11vnc configuration, but right now I just wanted to let you know that this is the best vnc solution I've seen so far. I'll keep posting about all the new findings on vnc servers...

Loading mentions Retweet
Filed under  //   remote desktops   tightvncserver   ubuntu   vino   vnc   vnc4server   x11vnc  

Comments [4]

Problem with keyboard, TightVNC and Gnome in Ubuntu 9.04

Check out this website I found at bugs.launchpad.net

I followed the instructions and it worked on my Ubuntu Linux 9.04 (Jaunty) installation, hope it works for others with the same problem, too...

Loading mentions Retweet
Filed under  //   gnome   keyboard problem   tightvnc   ubuntu  

Comments [1]

Enabling SSH on Ubuntu Linux 9.04 (Jaunty)

I just finished installing Ubuntu Linux 9.04 (Jaunty) on one of my PCs, and wanted to connect through SSH from another Windows XP PC. I haven't worked with SSH in a long time since my last server, so I forgot that the Live CD Ubuntu installation doesn't have SSH enabled by default. But to my surprise, I just went to the Synaptic Package Manager, typed SSH in the Quick Search box and selected the ssh metapackage (it installs the OpenSSH client and server). I marked this package for installation and then clicked on Apply. After a few seconds, the OpenSSH package was installed! Then I went to the Windows XP PC and tested the connection:

Voila! Another good reason to use Ubuntu!

Loading mentions Retweet
Filed under  //   Jaunty   Linux   OpenSSH   SSH   Ubuntu  

Comments [0]

Running Rise of Nations on VirtualBox 3

Well, I finally managed to play Rise of Nations on my Windows XP virtual machine, thanks to VirtualBox 3.0 and its Direct3D support! For those of you who haven't tried it yet, you  just need to install Windows XP like a regular virtual machine. Then, when installing the VirtualBox Guest Additions, make sure you reboot your virtual machine, press F8 to enter "safe mode" and install the Guest Additions when in safe mode, because if you try to install Guest Additions in normal mode, Windows' file protection mechanism will not let you install some DLLs VirtualBox needs to replace to use the 3D hardware directly from the host computer.

Here's a screenshot of Rise of Nations on my WinXP virtual machine:

One final consideration: I used the Spanish version, because I live in Mexico and I bought the game in Spanish, but the result is the same, no matter what language you use. Version 3 of VirtualBox has definitely improved its support for using 3D graphics hardware inside a virtual machine! The only tiny detail is that I noticed the game doesn't run as smooth as in my real Windows XP machine, but since I have an AMD Sempron w/ 2GB of RAM, I can't really say my hardware is helping VirtualBox! If you have better hardware and want to try VirtualBox 3 with a game like Rise of Nations, Age of Empires III, or some of the more recent titles, I'll appreciate if you keep me informed of your findings...

Loading mentions Retweet
Filed under  //   3d   directx   games   games virtualbox 3 directx rise of nations   rise of nations   virtualbox 3   virtualbox games 3d rise of nations directx  

Comments [2]