dijous, 18 de juny del 2009

openSUSE: Crear un Patch CD

  Us adjunto el script per a crear un CD d'actualització amb el que podreu actualitzar qualsevol opensuse. Aquest script està pensat per a versions posteriors o iguals a la 10.1.

Pas previ:
wget http://createrepo.baseurl.org/download/createrepo-0.4.4.tar.gz
tar xzvf createrepo-0.4.1.tar.gz
cd createrepo-0.4.1
make
make install

A continuació executar el següent script:

És aconsellable que la etiqueta el CD/DVD no tingui espais en blanc, LinuxSuseUpCD.001, ja que pot donar problemes a l'automontador. per a solucionar-ho, monteu el CD/DVD en un directori sense espais abans d'iniciar l'actualització.

PatchDVD.Linux.Suse.10.2.normal.iso


Aquest CD/DVD d'actualització serveix per actualitzar tots els paquets instal·lats utilitzant la última versió completa del paquet a actualitzar.

Aventatges:
Si hi han hagut moltes actualitzacions, el tamany final del CD/DVD es relativament petit. És útil per a versions descatalogades.

Desavantages:
Si hi han hagut poques actualitzacions, el tamany final és molt gran i el procés d'actalització relativament llarg. És un mètode molt bàsic d'actualització.

Com actualitzar:
Per actualitzar el vostre sistema, obriu YaST, aneu a "Software", "Patch CD Update". Al menú superior despleguem "Package", despleguem "All packages" i cliquem a "Update if newer version avaliable". Ens mostrarà el nombre de paquets a actualitzar. Per actualitzar apretem el botó update.
Ofereix altres metodologies d'actalització.

dimecres, 17 de juny del 2009

Safari 4.0.1

El passat 8 de juny de 2009 s'ha alliberat l'actualització del navegador web Safari 4.0.1 d'apple.
Actualment aquesta versió està disponible per a Mac OS 10.4 a 10.6 i iPhone OS.

Veure novetats
Descarregar Safari 4
Pàgina principal de Safari

Aquesta nova versió de Safari incorpora la integració amb iPhoto'09.

dilluns, 15 de juny del 2009

Mac4lin

Per tots aquells que us moriu de ganes de tenir un Mac, hi ha una serie de paquets pel Linux que ens permeten configurar-lo perque tingui l'aparença d'un Mac. Ara ha sortir un script que aglutina tots aquests paquets i podrem tunejar el nostre escriptori Gnome a la semblança d'un Mac d'una manera sencilla i rapida. Mac4lin ens modificarà el dock, el tema GTK, els bordes de les finestres, la imatge de la barra de tasques, les fonts de Mac, el cursor, i fins i tot el sons entre d'altres. I tot només amb un paquet. Ara ja podreu convertir el vostre Vaio amb un Mac!!

Descarrega Mac4Lin per Linux
Fons de Pantalla Leopard

dissabte, 13 de juny del 2009

Spotify

Ja fa uns mesos que corre aquesta aplicació que ens permet escoltar tota la musica d'internet sense tenir-la que descarregar. L'aplicació està per Windows i per Mac OSX. També podeu utilitzar-la en Linux si feu servir el Wine. És una alegria que mentres que serveis com lastfm volen seguir mercantilitzar la música, surten propostes com aquesta que afavoreixen la lliure circulació musical.

Spotify per Windows

Spotify per Mac OSX

Spotify per Linux

Per Linux s'ha d'utilitzar el Wine. Per instal·lar el Wine obrirem el terminal i farem...

sudo apt-get install wine

Un cop tenim instal·lat Wine ens descarreguem la versió de Windows de Spotify i l'executem amb el Wine...

wine Escritorio/Spotify\ Installer.exe

Cal seguir tots els passos per defecte com si fos el Windows. Un cop acabat ja tenim el Spotify disponible per Linux.

PD:- Spotify només és funcional en la versió ampliada de 9$ o per invitació. Si algú necessita invitació feu-m'ho saber que us la envio.

divendres, 12 de juny del 2009

Ubuntu 9.10 Alfa 2

  El passat 12 de juny es va llançar la segona versió alfa de Ubuntu 9.10. Karmic Koala encara és una versió en desenvolupament, en principi la versió estable es pubilcará el próxim 29 d'octubre.

Podeu Col·laborar a la traducció al catalá a la pàgina web https://translations.launchpad.net/, Abans de fer-ho llegiu-vos:El wiki sobre la traducció al català de l'ubuntu https://wiki.ubuntu.com/UbuntuCatalanTranslators.

Novetats en la versió 9.10 Alfa 2:
  • Linux kernel 2.6.30
  • Servidor X.Org 1.6
  • Gnome 2.7.1
  • KDE 4.2.2
  • OpenOffice.org 3.0.1
  • Firefox 3.0.8
Es pot descarregar de:
Si ja disponeu de la versió 9.04 de l'Ubuntu, podeu actualitzar-la a la 9.10 Alfa 2:
Executant: [Alt]+[F2]
update-manager -d





Cuidado Maqueros Calents

Un nou Troja ha sortit per mac. OSX/Jahlav-C es un malware associat al web PornTube i que s'instala amb l'excusa de que es un ActiveX necessari per executar els videos. Si responen que estem d'acord d'instalar-lo, un fitxer de shell script es crearà a la carpeta /Library/Internet . El fitxer s'executarà diariament i conté un shell script amb codi Perl script incrustrat. El codi intentarà comunicar-se amb una web externa per descarregar-se merda.

Font ZdNet

dimecres, 10 de juny del 2009

Instal·lació Nagios

Nagios és una eina per monotoritzar sistemes, aquí teniu una breu explicació de com instal·lar-ho extret de ghacks.net.


Are you one of those special geeks that think there is never TMI (too much information)? If that describes you then Nagios is the monitor for you. Once installed, Nagios will keep you busy with more information about your system than you ever thought possible. But it’s not just a matter of running apt-get install nagios. No, there’s more to the installation than that.

In this article you will see how to install Nagios on a working Ubuntu Server installation. The release I used was 9.04, but you should be able to use 8.04 just as easily.

Features

You want features? Nagios is full of them. Nagios can monitor your entire network, you can handle problem remediation, you can plan network downtime, you can watch hosts, systems, services, applications..there’s very little you can’t do with Nagios.

But let’s think about this installation. The best (and really only good) way to install Nagios is from source. This means you are going to have to do some compliation. Don’t worry, it’s not hard…when you have a step-by-step guide that is.

Before you start

If you are using, as I did, a Ubuntu server installation, you will need to install a few tools first. So from the command line (on your Ubuntu server) issue the following commands:

sudo apt-get install php5-gd

sudo apt-get install gcc

sudo apt-get install make

The above commands will install the tools you need in order to get Nagios installed. If you don’t install the above, you won’t be able to complete the installation.

Installing Nagios - preflight

Before you actually run the installation you will need to take care of some user/group accounting first.

Create the user nagios:

sudo useradd -m nagios

Give the nagios user a password:

sudo passwd nagios

NOTE: You will have to enter the new password twice for the above command.

Create the group nagios:
sudo groupadd nagios

Add the user nagios to the group nagios:

sudo usermod -G nagios nagios

Create the group nagcmd:

sudo groupadd nagcmd

Add the user nagios to the group nagcmd:

sudo usermod -a -G nagcmd nagios

Add the Apache user to the group nagcmd:

sudo usermod -a -G nagcmd www-data

Installing Nagios and Nagios Plugins

The first thing to do is to download the files you need. Issue the commands:

wget http://osdn.dl.sourceforge.net/sourceforge/nagios/nagios-3.0.6.tar.gz

and

wget http://osdn.dl.sourceforge.net/sourceforge/nagiosplug/nagios-
plugins-1.4.11.tar.gz

to download the files you need.

Untar the Nagios file with:

tar xvzf nagios-3.0.6.tar.gz

Change into the newly created Nagios directory with the command:

cd nagios-3.0.6

Now run the configure script using the nagcmd defined as the command group with the command:

sudo ./configure –with-command-group=nagcmd

Time to compile:

sudo make all

Time to install everything:

make install

make install-init

make install-config

make install-commandmode

Almost ready to finalize the installation of Nagios (before moving on to installing the plugins.) There is one simple configuration to take care of (for the basic installation). Open up the /usr/local/nagios/etc/objects/contacts.cfg file and add your email address as the contact email address. That’s the only configuration to change for now.

Configuring for the Web interface

There are just a few commands to run to configure the Web interface:

make install-webconf

htpasswd -c /usr/local/nagios/etc/htpasswd.users nagiosadmin

/etc/init.d/apache2 reload

The final command above simply restarts Apache.

Install the plugins

Before you log into your Nagios installation you have to install your plugins first. Change to the directory you downloaded the Nagios files to and untar the plugins file:

tar xvzf nagios-plugins-1.4.11.tar.gz

Now change into the newly created directory:

cd nagios-plugins-1.4.11

Compile the plugins with the command:

sudo ./configure –with-nagios-user=nagios –with-nagios-group=nagios

Now install the plugins with the following commands:

make

make install

Fire it up!

Of course you want to make sure Nagios starts any time the system is restarted. Do this with the command:

sudo ln -s /etc/init.d/nagios /etc/rcS.d/S99nagios

And finally, before you start up Nagios, make sure there are no errors with the command:

sudo /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg

If you see no errors reported, it’s time to start it up. Issue the command:

sudo /etc/init.d/nagios start

Nagios is ready to go. Point your browser to:

http://ADDRESS_OF_NAGIOS_SERVER/nagios

You should be ready to enjoy all that is Nagios. Congratulations.


Sign by Danasoft - Myspace Layouts and Signs