jueves, 26 de junio de 2008

Instalar FreeNX en Ubuntu 8.04 Hardy Heron


Necesitas acceder a un PC con Linux de forma remota, porque con consola te “lias” un poco. Pues con FreeNX lo tienes fácil, porque conseguirás, en pocos pasos, acceder al PC de forma gráfica a tu sesión. Tan solo necesitarás seguir los pasos siguientes, y tener el puerto 22 abierto (El puerto del PC donde instalarás FreeNX).

En Guia-Ubuntu tenemos el tutorial para instalarlo desde los repositorios de ubuntulinux.nl, pero con este solo podremos hasta Ubuntu 7.10 .

Para instalarlo en Ubuntu 8.04 Hardy Heron haríamos lo siguiente:

1. Editamos el sources.list:

sudo gedit /etc/apt/sources.list

También puedes usar nano si no tienes interfaz gráfica..

sudo nano /etc/apt/sources.list

2. Con sources.list abierto, añadimos estas dos líneas al final del todo:

deb http://ppa.launchpad.net/marceloshima/ubuntu hardy main
deb-src http://ppa.launchpad.net/marceloshima/ubuntu hardy main

3. Le damos a guardar, y ejecutamos los siguientes comandos:

sudo apt-get update

sudo apt-get upgrade

4. Si todo a ido bien, continuamos. Ejecutamos el siguiente comando en la consola:

sudo apt-get install expect openssh-server nxlibs nxagent nxproxy freenx-server

5. Lo siguiente sería crear el usuario en Ubuntu, en Sistema -> Administración -> Usuarios y Grupos.

Con esto ya tendríamos el server funcionando a la perfección. Ahora para la instalación del cliente haríamos lo siguiente..:

1. Descargamos el paquete:

wget http://64.34.161.181/download/3.2.0/Linux/nxclient_3.2.0-9_i386.deb

2. Y lo instalamos:

sudo dpkg -i nxclient_3.2.0-9_i386.deb

Así de fácil. Para acceder al cliente iríamos a Aplicaciones -> Internet -> NX Client for Linux, introduciríamos los datos, y voilá.

Quizás te preguntes…que qué diferencia hay entre el servidor de NoMachine y el FreeNX. Pues que FreeNX permite un número de usuarios indefinido, y NoMachine solo permite un máximo de 2. Para más usuarios necesitarías comprar una licencia.

tomado de http://inf-o.no-ip.org/2008/05/18/instalar-freenx-en-ubuntu-804-hardy-heron/

miércoles, 4 de junio de 2008

HowTo: Install Oracle Application Server 10g Release 3 Hardy Heron

I had a little bit of trouble installing the oracle application server release 2 so I thought that I would share my install process.

1. Create an 'oracle' user and 'oracle' group.
2. For user 'oracle' add 'root' to secondary list of groups
3.
Code:

sudo chmod 775 /opt

4. Log out and log back in as oracle user
5. To fix a missing 'ntcontab.o', do the following:
Code:

sudo apt-get install gcc make manpages-dev autoconf automake libtool flex bison gdb gcc-2.95-doc binutils

6.
Code:

sudo apt-get install libdb1-compat

7. Download the Oracle Application file 'as_linux_x86_core_101202.cpio' from oracle
8. Extract in local user directory
Code:

cpio -i --file=as_linux_x.....cpio -d


10.
Code:

./runInstaller -ignoreSysPrereqs

11. At the end of the install near 95% if is says that it cannot verify that the instance is running(message: /opmn/bin/opmnctl start), hit continue.
12. That's it. Let it do it's initialization process. When it is finished exit.
13. Go to http://localhost:1156 for the admin console.
14. There still needs to be an entry in /etc/intit.d but I have not done that yet. Soon, I will update the post with the file.