Comparing comercial UNIX version

In recent years, HP, Sun, and IBM® have all released new versions of their commercial UNIX®-based operating systems. This article compares and contrasts some of the innovations in their releases. Learn the differences on how to work with certain tasks, such as networking and performance tuning. Also, see at a high level some of the virtualization differences among these big three.
AIX 6.1, Solaris 10, and HP-UX and the System p

Kleber Rodrigo de Carvalho

Apache on Ubuntu 9.04

$ sudo apt-get update
$ sudo apt-get upgrade

1) Installing Apache

To install apache 2 type the command:
$ sudo apt-get install apache2

When finished you should be able to connect with the browser at http://localhost and see the message “It works!”. Or you may verify that at the command line installing and using curl:
$ sudo apt-get install curl
$ curl http://localhost
<h1>It works!</h1>
$ gedit /etc/apache2/ports.conf

2) Configuring Apache with SSL

Now we want to configure apache to run HTTPs.
Following command will enable ssl Apache2 module with a2enmod (cryptic name for “Apache2 enable module”

$ sudo a2enmod ssl

The previous command will suggest you to restart apache to let it to reload the configuration; ignore that message for now.

We need to enable the HTTPS port (443). Edit /etc/apache2/ports.conf and ensure that port 443 is defined as follows:

$ gedit /etc/apache2/ports.conf

# If you just change the port or add more ports here, you will likely also
# have to change the VirtualHost statement in
# /etc/apache2/sites-enabled/000-default
# This is also true if you have upgraded from before 2.2.9-3 (i.e. from
# Debian etch). See /usr/share/doc/apache2.2-common/NEWS.Debian.gz and
# README.Debian.gz

NameVirtualHost *:80
Listen 80

    # SSL name based virtual hosts are not yet supported, therefore no
    # NameVirtualHost statement here
    NameVirtualHost *:443
    Listen 443

I added the clause NameVirtualHost *:443 in the for SSL; this is not strictly necessary but it will be useful later if you want to have a VirtualHost for trac and other development services.

Now we need to configure the SSL site. Fortunately we have already the configuration file for that, we just need to enable it with a2ensite (cryptic name for “apache2 enable site”)

$ sudo a2ensite default-ssl

$ sudo /etc/init.d/apache2 restart
* Restarting web server apache2 apache2: Could not reliably determine the server’s fully qualified domain name, using 127.0.1.1 for ServerName
… waiting apache2: Could not reliably determine the server’s fully

If everything went fine you should see the above warning. You can ignore it, unless you want to configure the ServerName for your server. But this is out of scope, so do a search on Google, or consult an Apache expert.

So, if everything went fine, now we should be able to connect to our server through SSL.
You can use firefox or curl, as before, but this time the URL will be https://localhost

$ curl -k https://localhost

<html><body><h1>It works!</h1></body></html>

the -k option is to ignore certification validation. Also firefox will complain that our certificate is invalid, but you can add it to exceptions and it will nomore bug you with those messages.

If everything went fine, now we should have Apache2, HTTP and HTTPs ready.

Reference:
Install Tutorial: Ubuntu 9.04, Apache with SSL, Subversion over HTTP / HTTPs, and Trac

Kleber Rodrigo de Carvalho

Bank of America touts mainframe work as a safe career

Works with IBM to help college students gain skills to run, maintain the high-end systems. BM has worked hard in recent years to keep its mainframe franchise attractive to IT managers. The company has made the high-end machines Linux and Java friendly and it has developed application-specific specialty processors. It’s also created a worldwide training program to increase the pool of students with mainframe skills. Continue reading at computerworld.

Kleber Rodrigo de Carvalho

The Future of Java Innovation

Keynote: The Future of Java Innovation Presented by Rod Johnson.

Rod is one of the world’s leading authorities on Java and J2EE development. He is a best-selling author, experienced consultant, and open source developer, as well as a popular conference speaker. Rod is the founder of the Spring Framework, which began from code published with Expert One-on-One J2EE Design and Development. Along with Juergen Hoeller, he continues to lead the development of Spring.

Kleber Rodrigo de Carvalho

Automatic migration of Cobol to maintainable Java

I was searching about Java and mainframe and I found out NACA.

NACA was about replacing an IBM mainframe under MVS/OS390 (zOS) with Intel servers on Linux. The project started in January 2003 and successfully ended on june 30, 2007. It was on purpose implemented in a 100% iso-functional way, i.e. without any functional / applicational improvement brought during the process of trans-coding itself and by the transcoding engine. 4 millions lines of COBOL were 100% automatically trans-coded toward their Java equivalent.

The savings in cash-outs amounted to a total of 3 millions euros, 85% of the initial yearly level.

Publicitas now release its homegrown tools for this transcoding in open source

For more information on the NACA project (objectives, achievements, etc…) , check this page on their blog.

For more information about the tools that have been open sourced, check this page.

Kleber Rodrigo de Carvalho

Intel core 2 duo vs Intel dual core

Do you still do a confusion between Intel core 2 duo vs Intel dual core ? We also have others kind of processors:

Pentium Dual-Core – The Pentium Dual-Core brand refers to mainstream x86-architecture microprocessors from Intel. They are based on either the 32-bit Yonah or (with quite different microarchitectures) 64-bit Merom, Allendale, and, more recently, with the launch of the model E5200, Wolfdale core, targeted at mobile or desktop computers. In terms of features, price and performance at a given clock frequency, Pentium Dual-Core processors are positioned above Celeron but below Core and Core 2 microprocessors in Intel’s product range. The Core 2 brand was introduced on July 27, 2006, comprising the Solo (single-core), Duo (dual-core), Quad (quad-core), and in 2007, the Extreme (dual- or quad-core CPUs for enthusiasts) version. Intel Core 2 processors with vPro technology (designed for businesses) include the dual-core and quad-core branches.

Intel Core – The Core brand refers to Intel’s 32-bit mobile dual-core x86 CPUs that derived from the Pentium M branded processors. The processor family used a more advanced version of the Intel P6 microarchitecture. It emerged in parallel with the NetBurst (Intel P68) microarchitecture of the Pentium 4 brand, and was a precursor of the 64-bit Core microarchitecture of Core 2 branded CPUs. The Core brand comprised two branches: the Duo (dual-core) and Solo (Duo with one disabled core, which replaced the Pentium M brand of single-core mobile processor).

Intel Core 2 – The Core 2 brand refers to a range of Intel’s consumer 64-bit x86-64 single-, dual-, and quad-core CPUs based on the Intel Core microarchitecture. The single- and dual-core models are single-die, whereas the quad-core models comprise of two dies, each containing two cores, packaged in a multi-chip module.[1] The introduction of Core 2 relegated the Pentium brand to the mid-range market, and reunified laptop and desktop CPU lines, which previously had been divided into the Pentium 4, Pentium D, and Pentium M brand.

If you read these information (from Wikipedia) and still aren’t understanding, I advised you read this article on binaryday.com.

The confusion between Intel core 2 duo and Intel dual core primarily resulted from a pointless naming convention by Intel. 2 and dual may be synonyms in English but that does not make Intel core 2 duo vs Intel dual core any more similar. The similarity of names makes even many computer geeks confused when asked to do a comparison of Intel core 2 duo and Intel dual core.

Intel Dual Core is the first dual-core CPU from Intel. The Dual core makes use of two cores on a single die i.e it has two chips in one package. It solves the problem of overheating of Intel Pentium D without compromising on the performance.

Intel Core 2 Duo processors are the next gen processors from Intel. It is developed with a new Architecture called Core. The new architecture of Intel core2 duo makes it a lot better processor that runs cool. Most importantly the Intel core2 duo is a super over clocker.

Thanks again to this article on binaryday.com

Kleber Rodrigo de Carvalho

Larry Ellison on the Future of Java

Larry Elisson spoke about Oracle acquisition of Sun and mentioned about the Future of Java.

Take a look:
Larry Ellison on the Future of Java: “Expanded Investment” – Video

Oracle ACE Director Lucas Jellema has posted a succinct summary of this appearance as well.

I already posted some links about Oracle acquisition of Sun:

What will Oracle’s Planned Acquisition of Sun Mean for Java
Java 7, What will be the future with Oracle/Sun merge
Oracle Adds New Exhibit to Java Technology Museum
Oracle Wants To Be The Apple Of The Enterprise, But It Just Became IBM
Oracle to put Java at its heart
Oracle/Sun: The end of Java as we know it?
Oracle’s Sun buy: Ellison praises Solaris, Java

Kleber Rodrigo de Carvalho