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

IBM WebSphere System z Software Podcasts

I’m developer with focus on Java platform, however I’m studying in my Master Business Administration course, high available enterprise server architecture. I already studied mainframe architecture then I realized that there are a lot of technologies in our UNIX servers nowadays that already had in mainframe environment a long time ago. I was googling about System Z and I found out IBM WebSphere System z Software Podcasts.
Take a look on this podcast series, I listened some episodes and I really enjoy it.

Kleber Rodrigo de Carvalho

Studying zlinux with RedBooks

Lately I’ve been studying mainframe architecture because I’m responsible for production operations of an application and since August/2008 it is running over zLinux architecture. I’m listing below some useful source about zlinux. It’s in order by year.

Redbook – Achieving High Availability on Linux for System z with Linux-HA Release 2 – 2009

As Linux® on System z® becomes more prevalent and mainstream in the industry, the need for it to deliver higher levels of availability is also increasing. IBM® supports the Linux High Availability (HA) project (see http://www.linux-ha.org/) which provides high availability functions to the open source community. One component of the Linux HA project is a program known as Heartbeat. Heartbeat runs on every known Linux platform. Heartbeat is part of the framework of the Linux High Availability project.

Redbook – z/VM and Linux on IBM System z The Virtualization Cookbook for SLES 10 SP2 – 2008

This IBM Redbooks publication describes how to roll your own Linux virtual servers on IBM System z hardware under z/VM. This edition applies to Version 5, Release 4, Modification 0 of z/VM (product number 5741-A05) and Novell SUSE Linux Enterprise Server (SLES) Version 10, Service Pack 2 (SP2).

Redbook – Problem Determination for Linux on System z – 2008

This IBM Redbooks publication addresses some of the common problems that customers have experienced on the Linux® on System z™ platform. This book provides a problem determination methodology and tools to help the reader diagnose the problem in an easy-to-read self-help manual.

Redbook – z/VM and Linux Operations for z/OS System Programmers – 2008
This IBM Redbooks publication discusses z/VM and Linux operations from the perspective of the z/OS programmer or system programmer. Although other books have been written about many of these topics, this book gives enough information about each topic to describe z/VM and Linux on IBM System z operations to somebody who is new to both environments. This book is intended for z/OS programmers and system programmers who are transitioning to the z/VM and Linux on System z environments and who want a translation guide for assistance. We base this book on our experiences using System z10 Enterprise Edition, z/VM version 5.3 RSU 0701, and Novell SUSE Linux Enterprise Server (SLES) 10 on System z.

Redpaper – Sharing and maintaining Linux under z/VM – 2008

Large operating systems, such as z/OS , have, for several decades, taken advantage of shared file structures. The benefits of a shared file structure are reduced disk space, simplified maintenance, and simplified systems management. This IBM Redpaper describes how to create a Linux solution with shared file systems on IBM System z hardware (the mainframe) running under z/VM. It also describes a
maintenance system where the same Linux image exists on a test, maintenance and gold virtual servers.

Redpaper – A Shared WebSphere Application Server Installation for Linux on zSeries – 2005

This IBM Redpaper describes a process to enable sharing one WebSphere Application Server installation among many Linux guests running under z/VM.

Redbook – Linux on IBM eServer zSeries and S/390: Best Security Practices – 2004
This IBM Redbook discusses best security practices for running Linux as a z/VM guest on IBM eServer zSeries and S/390 machines. This publication is intended for system administrators and IT architects responsible for deploying secure Linux servers running under z/VM. We consider both z/VM and Linux security topics.

Redbook – DB2 for Linux on iSeries: Implementation Guide – 2004

This IBM Redbook discusses DB2 UDB for Linux on iSeries. We provide the installation and configuration steps for DB2 UDB for Linux on iSeries. We also present connectivity scenarios between OS/400 resources and Linux resources.

Redbook – WebSphere for Linux on iSeries: Implementation Guide – 2004

This IBM Redbook is about WebSphere Application Server V5.0.2 for Linux on iSeries. It begins with a brief discussion of WebSphere Application Server V5.0.2, then provides details about product positioning on the OS/400 versus Linux for iSeries platforms, and about the features included in various packaging options.

Redpaper – Linux on IBM eServer zSeries and S/390: z/VM Configuration for WebSphere Deployments – 20003

This tip details how to configure gcc on Linux for IBM eServer zSeries to act as a cross-compiler.

Redpapaper – Linux on IBM eServer zSeries and S/390: z/VM Configuration for WebSphere Deployments – 2003

In this Redpaper, we introduce a method to determine an efficient infrastructure for WebSphere deployment on Linux for zSeries. The infrastructure consists of LPARs running multiple Linux guests under VM. Each Linux guest runs WebSphere, which in turn runs Web applications. In this paper, we describe steps to configure z/VM Linux guests intended to run WebSphere applications. Specifically, we outline a method to calculate the memory required to deploy WebSphere applications, and describe how that memory should be allocated to the LPAR, z/VM, and Linux guests.

Redbook – Linux on IBM eServer zSeries and S/390: Application Development – 2002

This IBM Redbook describes application development for Linux on the IBM eServer zSeries platform. The target audience is application developers writing primarily in C/C++ and Java. The Linux development environment for zSeries is quite similar to the development environment on other platforms running Linux since the operating system services and development tools share a common code base. We note differences and optimizations specific to the zSeries platform where applicable.

Technote – Linux on IBM eServer zSeries: Configuring gcc as a cross-compiler – 2002

This tip details how to configure gcc on Linux for IBM eServer zSeries to act as a cross-compiler.
If you wanna add some new source above, leave me a comment. Thank you.

Kleber Rodrigo de Carvalho

Tipos de hardwares que rodam um servidor Linux

Estou fazendo MBA em Sistemas Corporativos de Alto Desempenho na FIAP. O objetivo do cursos e estudar arquitetura do servidores que possuem alta disponibilidade no mercado. Basicamente vamos estudar arquitetura CISC (mainframe) e seus principais sistemas Operacionais tal como Z/OS e Z/VM.

Na arquitetura RISC, estamos estudando os UNIX da IBM (AIX) da HP (HP-UX), SUN (Solaris) e o Linux.

Quando se fala em Linux no server side duas distribuições linux dominam o mercado, sendo a Red Hat e o Open SUSE da Novell.

Mas que tipo de Hardware em se tratando do server side hoje rodam linux. Foi dai que encontrei um pesquisa feita por clientes do Canonical que é a empresa por trás do Ubuntu Linux. Ubuntu Linux é uma distribuição lider para desktop linux, e também existe a distribuição Ubuntu Server, que ainda está conquistando mercado.

O gráfico acima é baseado em uma pesquisa feita pela Canonical chamada popularity of the Ubuntu server system. Embora o estudo tenha sido feito como base os clientes da Canonical, podemos ver quais tipos de hardware e vendors que hoje usam o Linux.

Realmente recomendo fazer o download da pesquisa feita pela Canonical, onde além dessa informações contém outras informações interessantes sobre o uso do Linux.

Kleber Rodrigo de Carvalho

An introduction to what’s new in versions 2.6.28 and 2.6.29

Life’s certainties include death and taxes but also the advancement of the GNU/Linux® operating system, and the last two kernel releases did not disappoint. The 2.6.28 and 2.6.29 releases contain an amazing amount of new functionality, such as a cutting-edge enterprise storage protocol, two new file systems, WiMAX broadband networking support, and storage integrity checking. Discover why it’s time to upgrade.

Continue reading here.

Kleber Rodrigo de Carvalho

Linux founder Linus Torvalds talks about open-source identity

Linus Torvalds is a regular visitor to Australia in January. He comes out for some sunshine and to attend the annual Linux.conf.au organized by Linux Australia. He took some time out to speak to Rodney Gedda about a host of topics, including point releases, file systems and what it’s like switching to GNOME. He also puts Windows 7 in perspective.

Q&A: Linux founder Linus Torvalds talks about open-source identity

Kleber Rodrigo de Carvalho

Ubuntu and its creator

In December, hundreds of these controversial software developers gathered for one week at the Google headquarters in Mountain View, California.

They came from all over the world, sporting many of the usual signs of software mercenaries: jeans, ponytails, unruly facial hair and bloodshot eyes.

All the fuss at the meeting centered on something called Ubuntu and a man named Mark Shuttleworth, the charismatic 35-year-old billionaire from South Africa who functions as the spiritual and financial leader of this coding clan.

Created just over four years ago, Ubuntu (pronounced oo-BOON-too) has emerged as the fastest-growing and most celebrated version of the Linux operating system, which competes with Windows primarily through its low, low price: $0.

Continue reading A Software Populist Who Doesn’t Do Windows on New York Times.

Kleber Rodrigo de Carvalho

Operating systems for IBM System Z

Operating systems for IBM System Z

z/OS

z/OS is a 64-bit operating system for mainframe computers, created by IBM. It is the successor to OS/390, which in turn followed MVS and combined a number of formerly separate, related products. z/OS offers the attributes of modern operating systems but also retains much of the functionality originating in the 1960s and each subsequent decade that is still found in daily use. (Extreme backward compatibility is one of z/OS’s central design philosophies.)

z/OS supports mainframe staple technologies such as CICS, IMS, DB2, RACF, SNA, WebSphere MQ, record-oriented data access methods, REXX, SMP/E, JCL, TSO/E, and ISPF. However, z/OS also supports 64-bit Java, C/C++, and UNIX (Single UNIX Specification) APIs and applications, with UNIX/Linux-style hierarchical HFS and zFS file systems. z/OS can communicate directly via TCP/IP, including IPv6, and includes a standard HTTP server along with other common services such as FTP, NFS, and CIFS/SMB. Another central design philosophy is support for extremely high qualities of service (QoS), even with a single operating system instance, although z/OS has built-in support for Parallel Sysplex clustering.

z/OS on Wikipedia

z/OS on IBM

z/VM

z/VM is the current version in IBM’s VM family of virtual machine operating systems. z/VM was first released in October 2000[1] and remains in active use and development as of 2008. It is directly based on technology and concepts dating back to the 1960s, with IBM’s CP/CMS on the IBM System/360-67 (see article History of CP/CMS for historical details). z/VM runs on IBM’s zSeries, System z9 and System z10 computers. It can be used to support large numbers (thousands) of Linux virtual machines.

z/VM on Wikipedia

Z/VM on IBM

Linux on System z

Linux on System z is the collective term for the Linux operating system compiled to run on IBM mainframes, especially System z machines. Other terms with the same meaning include Linux/390, Linux on zSeries, Linux for zSeries, Linux on System z9, zLinux, z/Linux, etc.

Linux on System Z on Wikipedia

Linux on System Z on IBM

Linux on System Z on IBM (Dev site)

Kleber Rodrigo de Carvalho