camscape - for excellent IT solutions itkb.ro - IT knowledge base

knowledge base linux




Python setuptools

Dupa upgrade Python de la 2.6 la 2.7 , orice incercare de instalare cu easy_install va returna   ImportError: No module named pkg_resources   sau alte erori specifice. Trebuie reinstalat setuptools dar evident nu merge cu easy_install . Solutia:   [...] »detalii Python setuptools

Python install PIL

Incercand instalarea modului PIL din Python :   easy_install PIL Searching for PIL Reading http://www.pythonware.com/products/pil No local packages or download links found for PIL error: Could not find suitable distribution for Requirement.parse(''PIL'')     Rezolvarea este:   easy_install --find-links http://www.pythonware.com/products/pil/ [...] »detalii Python install PIL

MySQL Master-Master Error 1062

Aveti un setup cu mai multe servere MySQL in replicare, mai ales un sistem MySQL Master-Master. Si primiti in logul de eroare ceva asemanator cu:   [ERROR] Slave SQL: Error Duplicate entry xxx for key PRIMARY on query Error_code: [...] »detalii MySQL Master-Master Error 1062

MySQL Master-Slave sau Master-Master

Avem doua servere:   SRV1 IP: 1.1.1.1 SRV2 IP: 2.2.2.2   si dorim sa avem un sistem de replicare a bazelor de date MySQL, folosind SRV1 ca master, SRV2 ca slave.     Pe SRV1 (MySQL MASTER), se modifica my.cnf [...] »detalii MySQL Master-Slave sau Master-Master