domenica 17 novembre 2013

OpenBSD e un vecchio Imac (parte prima)

 Avete presente questo?












Imac "Ilamp" g4 1ghz, (con schermo da 17") Un Apple vecchia maniera, quelli che ancora erano "internamente" diversi dai comuni pc. Processore "Powerpc g4", una scheda grafica Nvidia geforce 4mx e ben 384 mb di ram.. Insomma una bestia (per i tempi).








 L'ultimo MacosX disponibile per questo "bel pc-degno-di-essere-un-bell'-oggetto-di-design" è stato Leopard (ovvero mac os 10.5, e siamo nel 2005). L'ho usato pochissimo (all'epoca ero già un linuxiano convinto) e ricordo che come prima distribuzione installai mandriva/mi-alto-designandrake (ai tempi un casino, perchè il kernel di installazione, di default non permetteva di riconoscere il controller ata dell'Hard disk).
Purtroppo, le scelte strategiche di Apple, l'hanno portata ad abbandonare questa architettura e pian pianino l'interesse è andato scemando, compreso il numero di distribuzioni disponibili (al momento le principali sono debian, lubuntu e yellowdoglinux).
A livello di problematiche, l'accellerazione 2d-3d è sempre stata quella principale anche se recentemente con lo sviluppo di Noveau qualcosa ha cominciato a muoversi (sull'ultima lubuntu ho avuto una buona esperienza nell'ambito 2d).
 Ma volevo provare qualcosa di nuovo...
Cosi ho pensato a  OpenBsd, un sistema operativo che dalla pagina specifica per i powerpc apple sembrava promettere molto bene (i neretti sono i miei):

Currently, all the hardware listed in the supported hardware section below boots multi-user, supports most, if not all, of the on-board devices, and is generally usable.
After the 4.0 release basic support for "Old World" machines was committed. Most machines are able to netboot and completing bootloader support is in progress.
The X Window System is supported on all MacPPC systems. Most ATI graphics adapters and some NVIDIA graphics adapters are supported by accelerated X servers. The graphics adapters not supported by an accelerated driver can be used by X in frame buffer (unaccelerated) mode, at the boot resolution and color depth using the wsfb driver (installed by default).
Directions on enabling the accelerated X server can be found in the /usr/X11R6/README file on the installed system.


 Dunque "ben supportato" e adatto per questi miei scopi:

1)Sistema desktop leggero (navigazione web, elaborazione testi)
2)Programmazione web
3)web-server  (apache + mysql-mariadb+php)

 Openbsd, però è un sistema che non nasce per essere usato come desktop, in fatti, nella sua homepage, svetta (in rosso bella evidente) la scritta:

Only two remote holes in the default install, in a heck of a long time!

Che più esplicitamente, vuol dire (nel buon libro su OpenBSD, disponibile anche per kindle
Absolute Openbsd: Unix for the Practical Paranoid ):
 

OpenBSD strives to be the most secure operating system in the world.
While it can reasonably make that claim today, maintaining that position requires constant effort. Intruders constantly try new ways to penetrate computers, which means that today’s feature might be tomorrow’s security problem. As OpenBSD developers learn of new classes of programming errors and security holes, they scan the entire source tree for that type of problem and make fixes before anyone even knows how these issues might be exploited.
Additionally, OpenBSD takes advantage of any security features offered by hardware. For example, AMD’s 64-bit Intel-compatible CPUs can mark a page of memory as either executable or writable, but not both. (Intel later copied this feature.) This alleviates many buffer overflow attacks, but the operating system must use this facility. OpenBSD supported this feature in 2003, shortly after the hardware was released. In fact, OpenBSD generally supports all hardware security features offered on a platform.The history of computing shows that users cannot be expected to patch or maintain their own systems. Systems must be secure against existing and future attacks out of the box. OpenBSD’s goal is to eliminate problems before they exist.


Diciamo che questi aspetti non saranno primari per la personalizzazione "per i miei usi" del sistema, ma sarà utile nel caso in cui volessi approfondire successivamente queste tematiche.
Purtroppo, poi, nel recupero del pc è sorto un  problema non previsto e che mi ha bloccato un paio di giorni con l'installazione: la rottura del lettore cd e dunque la necessità di installare il sistema operativo da una chiavetta usb. In apparenza non sembra una problematica di difficile soluzione, ma qua si sta parlando di un hardware vecchio di 10 anni e abbastanza esotico, con un utenza relativamente modestae dunque con scarsa documentazione presente su forum, faq e mailing-list.

 Nei prossimi post vedremo come son riuscito a risolvere questo problema, a configurarlo per la rete e come configurarlo per essere "un discreto" sistema multifunzionale. 

Nessun commento:

Posta un commento