lunedì 22 novembre 2010

Debian installazione di phpmyadmin

Come non puo' funzionare phpmyadmin se l'installazione e cosi' diretta? il nostro sistema operativo unix-like ha il vantaggio della filosofia "everything is a file" ... e le installazioni funzionano se si fanno manualmente..
phpmyadmin e' un gestore di database, o meglio e' un software scritto in php che gestisce MySql. per installarlo abbiamo bisogno dei pacchetti seguenti:
php5, mysql-server, mysql-client, apache2.
Scarichiamo una versione di phpmyadmin da qui e posizioniamo il file nel localhost (/var/www) .
Ssspakkettiamolo e rinominiamolo in "phpmyadmin".
Ora abbiamo la directory con il software dentro. Se abbiamo fatto tutto cio' con i privilegi di root e' ok, altrimenti dobbiamo assegnare i permessi adeguati per non essere scoperti.
A proposito di permessi andiamo a configurare il programma entrando nella directory /var/www/phpmyadmin e creiamo il file di configurazione "config.inc.php" con qualsiasi editor e spariamoci lo scriptino di accesso:
$cfg['blowfish_secret'] = 'la_vostra_fottuta_password';
$i=0;
$i++;
$cfg['Servers'][$i]['auth_type'] = 'cookie';
?>
..aprite il browser per accede a phpmyadmin. Inserite l'url http://localhost/phpmyadmin connettetevi con root e password e dovreste esserci.
Se qualcosa non funge bisogna controllare l'installazione di apache2 o mysql, si puo' fare tramite
/etc/init.d/mysql status
/etc/init.d/apache2 status
e se sono fermi
/etc/init.d/mysql start
/etc/init.d/apache2 start.
Se ancora non funge si crea lo scriptino di prova in /var/www "info.php"
phpinfo();
?>
per controllare l'installazione di php5...

mercoledì 3 novembre 2010

Program Development Terminology

1. A NUMBER OF DIFFERENT APPROACHES ARE BEING TRIED - We are still pissing in the wind.

2. EXTENSIVE REPORT IS BEING PREPARED ON A FRESH APPROACH TO THE PROBLEM - We just hired three kids fresh out of college.

3. CLOSE PROJECT COORDINATION - We know who to blame.

4. MAJOR TECHNOLOGICAL BREAKTHROUGH - It works OK, but looks very hi-tech.

5. CUSTOMER SATISFACTION IS DELIVERED ASSURED - We are so far behind schedule the customer is happy to get it delivered.

6. PRELIMINARY OPERATIONAL TESTS WERE INCONCLUSIVE - The darn thing blew up when we threw the switch.

7. TEST RESULTS WERE EXTREMELY GRATIFYING - We are so surprised that the stupid thing works.

8. THE ENTIRE CONCEPT WILL HAVE TO BE ABANDONED - The only person who understood the thing quit.

9. IT IS IN THE PROCESS - It is so wrapped up in red tape that the situation is about hopeless.

10. WE WILL LOOK INTO IT - Forget it! We have enough problems for now.

11. PLEASE NOTE AND INITIAL - Let`s spread the responsibility for the screw up.

12. GIVE US THE BENEFIT OF YOUR THINKING - We`ll listen to what you have to say as long as it doesn`t interfere with what we`ve already done.

13. GIVE US YOUR INTERPRETATION - I can`t wait to hear this bull!

14. SEE ME or LET`S DISCUSS - Come into my office, I`m lonely.

15. ALL NEW - Code not interchangeable with the previous design.

16. YEARS OF DEVELOPMENT - It finally worked!

17. LOW MAINTENANCE - Impossible to fix if broken.

Run minikube with podman on Fedora

After install minikube as described in the documentation , set rootless property to true to use Podman without sudo: minikube config set roo...