Archive

Archive for August, 2009

How to install osCommerce on OpenSolaris WebStack

My notes on how to install osCommerce (OpenSource PHP e-shop) on OpenSolaris WebStack

Can get official osC distribution or OSC pimpt (Greek customization for osCommerce with some nice addons by Internet Business Solutions)

See Netbeans article on using PHP with the OpenSolaris WebStack at a VM running in Sun Microsystems VirtualBox (especially notice the text that shows how to map the ports for services running inside the VM to local ports using “VBoxManage” command on the command line – btw its handy to copy that block of commands to the respective VM’s description at VirtualBox for reference in case you forget the port mappings you did)

May have to first do “pkg install SUNWxwplt” (dependency of PHP GD lib), then “pkg install SUNWgd2”.
See discussion at http://opensolaris.org/jive/thread.jspa?threadID=104163&tstart=0

At folder “/etc/php/5.2/conf.d”, rename “gd.ini.disabled” to “gd.ini” (may have to use “pfexec” to get elevated rights, e.g. “pfexec mv gd.ini.disabled gd.ini”). Then restart apache service using the following command at the command shell:
svcadm restart network/http:apache22

For installation need to give rights to configure.php (at includes and at admin/includes)
/var/apache2/2.2/htdocs/
ls –l
to set rwxrwxrwx rights use
chmod 777 configure.php

* warnings at 1st visit to catalog
to set rw-r—r— rights use
chmod 644 configure.php

* admin/tools/database backup: backup directory isn’t writable
chmod 776 /var/apache2/2.2/htdocs/…../admin/backups

To administer the MySQL database used by osC, it can be handy to also install phpMyAdmin on the WebStack. See my upcoming post on this…

Categories: Uncategorized Tags:

E-Book offer on virtualization from Microsoft Press

Microsoft Press is repeating a recent free E-Book offer on virtualization:

Learn how to plan, implement, and manage virtual infrastructure solutions with Understanding Microsoft Virtualization Solutions, by Mitch Tulloch with the Microsoft Virtualization Teams. The technologies covered include Windows Server 2008 Hyper-V, System Center Virtual Machine Manager 2009, Microsoft Application Virtualization 4.5, Microsoft Enterprise Desktop Virtualization, and Microsoft Virtual Desktop Infrastructure.

Register and download the e-book today.

Categories: Uncategorized Tags:

Παιδικά παιχνίδια για γέλια και για κλάματα

DSCN5608  

   Από ένα παιδικό τηλέφωνο που μας είχαν φέρει δώρο παλιότερα: η σήμανση αναγράφει “ΠΡΟΣΟΧΗ ΚΑΤΑΛΛΗΛΟ ΓΙΑ ΠΑΙΔΙΑ ΚΑΤΩ ΤΩΝ 3 ΕΤΩΝ” (μην το δώσετε σε κάποιο μεγαλύτερο δηλαδή, μπορεί να το φάει). Καλά αυτός που την τύπωσε, αυτός που την κόλλησε και αυτοί που πουλάνε το παιχνίδι ή αυτοί που τάχα μου ελέγχουν τα παιχνίδια αυτά δεν ξέρουν ελληνικά;
   Όσο για το ίδιο το παιχνίδι, παρά τη σήμανση CE που έφερε η αυτοκόλλητη ετικέτα (την οποία σήμανση μπορούν να βάζουν οι εισαγωγείς με υπεύθυνη [ή να πω ανεύθυνη;] δήλωσή τους αν είναι αληθές ότι άκουσα πρόσφατα), η ένταση του ήχου του ήταν τόσο υψηλή που αναγκάστηκα να το ανοίξω και να τοποθετήσω ένα κομμάτι λεπτό πλαστικό πάνω στο μεγάφωνο για να το κάνω να μην ακούγεται σε επικίνδυνη κατά τη γνώμη μου ένταση για τα παιδικό αυτιά (ή μάλλον για όλων μας τα αυτιά).
   Παρεμπιπτόντως, όσον αφορά επικίνδυνα προϊόντα, μπορείτε να παρακολουθείτε τις σχετικές ειδοποιήσεις της Ευρωπαϊκής Ένωσης (σύστημα RAPEX). Ειδικά για τα παιχνίδια μπορείτε να δώσετε στο πεδίο αναζήτησης του RAPEX τη λέξη “toy”.

Categories: Posts

Benefits of Cloud Computing

Ric Telford, IBM’s Vice President on Cloud Services, has published an interesting (high level) article on the benefits of Cloud Computing and the disruptive nature of cloud services.

Categories: Uncategorized Tags:

Defining regions in C/C++ for outlining (code folding) at Visual Studio code editor

Many Visual Basic.net and C# programmers have grown to like the #Region keyword which allows one to define a foldable region of code giving some text for it (name) that will be displayed in the source code editor when the region is folded (collapsed). In case you’re one of them too (like me) and miss it in Visual C++, you should look up (at the link provided below) the syntax:

#pragma region Name

#pragma endregion Optional Comment (usually same as Name)

Categories: Posts

Apples and Oranges

I was just reading a promotional e-mail from Apple on MacBook Pro. Quoting:

The Mac can even run Windows—so it’s compatible with the PC world.** With one exception: It doesn’t get PC viruses.

Pure marketing talk hiding the following facts:

1) There are antivirus products for Macs and they do have a use

2) Running Windows on the Mac (either in a VM or using BootCamp to boot directly into Windows) means that you can get PC viruses (on your Windows OS) and as a result they could damage your files or do network communication to send out your personal data etc. (spyware).

So you could eventually get the (best) viruses of both worlds :-) if you believe the marketing hype and don’t follow good administration/usage and web navigation practices with your MacBook Pro.

For Windows you could install the free AVAST Home Edition antivirus for example and also use Microsoft’s free OneCare virus scanner from Internet Explorer now and then (and maybe also Trend Micro’s free HouseCall scanner and Kaspersky’s free online virus scanner). Plus if you find a suspicious file upload it to jotti’s multiple antivirus scanning service to see what various antivirus engines say about the file.

Categories: Uncategorized Tags:

Μήνυμα από το παρελθόν

Τυχαία βρήκα πριν λίγες μέρες στο συρτάρι μου το ψήφισμα από το συλλαλητήριο της 7-5-1992 για τη Μακεδονία και μιας και δεν το βρίσκω κάπου στο Google, αποφάσισα για ιστορικούς λόγους (για το μελλοντικό μελετητή παλιών κειμένων) να το καταγράψω παρακάτω προσπαθώντας να διατηρήσω όσο γίνεται την αρχική του μορφή (πλην τυχόν συντακτικών/ορθογραφικών λαθών):

ΨΗΦΙΣΜΑ

Του Συλλαλητηρίου της 7-5-1992 για τη ΜΑΚΕΔΟΝΙΑ

     Εμείς οι Αιτωλοακαρνάνες, γεννημένοι απ’ τα ίδια χώματα των Αρχαίων Αιτωλών και Ακαρνάνων, που συνήλθαμε σήμερα, σε Παλλαϊκό Συλλαλητήριο, στην πλατεία Δημοκρατίας Αγρινίου, εγκρίνουμε ομόφωνα το ακόλουθο ψήφισμα:

     Θεωρούμε απαράδεκτο, περιφερόμενοι σφετεριστές των ιερών και οσίων του Ελληνικού Έθνους, πλαστογράφοι και παραχαράκτες της Ιστορίας, Εθνικά ανέστιοι, εν ονόματι της αρχής της αυτοδιάθεσης και αυτοπροσδιορισμού των λαών, της ευαισθησίας των Ευρωπαίων για Δημοκρατία και Ανεξαρτησία, να ιδιοποιούνται το ιερό όνομα της ΜΑΚΕΔΟΝΙΑΣ, μέρος της πολιτιστικής κληρονομιάς της Ελλάδας και αργότερα να επιδιώξουν απόσπαση εδαφών της Μακεδονικής γης.

     Στέλνουμε μήνυμα, προς τους λαούς της Ευρώπης και τον κόσμο ολόκληρο, ότι οι Αθηναίοι, οι Σπαρτιάτες, οι Θηβαίοι, οι Αιτωλοί, οι Ακαρνάνες, οι Ηπειρώτες, οι Θεσσαλοί, οι Θράκες, οι Ίωνες και άλλοι, ήταν Έλληνες. Το ίδιο ακριβώς και οι Μακεδόνες.

            Έλληνες γνήσιοι.

                  Και η ΜΑΚΕΔΟΝΙΑ Ελληνική.

     Για την Ελληνικότητα της Μακεδονίας μιλάει η Ιστορία, τα χώματα, τα σπασμένα μάρμαρα, οι Τάφοι, τα αρχαία κείμενα, η γλώσσα και προ παντός η Ελληνική συνείδηση, η θέληση και η ψυχή μας.

     Και δηλώνουμε προς τους Ευρωπαίους και άλλους φίλους μας…
ότι σύσσωμος ο Ελληνισμός δεν θα επιτρέψει λύσεις, που παραχαράσσουν την Ιστορία του και θα δημιουργήσουν μελλοντικά κινδύνους για την Εθνική του υπόσταση.

     Και προς την πολιτική και πνευματική ηγεσία του τόπου μας ότι δεν χωρούν πλέον άλλα λάθη και θα πρέπει να δομήσουμε ένα αραγές πατριωτικό μέτωπο ώστε να είμαστε σε θέση να ακυρώσουμε κάθε ξένη επιβουλή.

                  Το ψήφισμα αυτό υπογράφει η Ιστορία.
                  Προσυπογράφει ο λαός της Αιτωλοακαρνανίας και πρέπει να προσυπογράφουν και οι λαοί της Ευρώπης.

                                                                                                                            Πλατεία Δημοκρατίας Αγρινίου
                                                                                                                                  7 Μάη 1992

Categories: Posts

FlightSimLabs is building Concorde-X for Microsoft Flight Simulator X (FSX)

Categories: Uncategorized Tags:
Follow

Get every new post delivered to your Inbox.

Join 920 other followers

%d bloggers like this: