Sarajevo, Bosnia and Herzegovina

Can’t start mysql – mysql respawning too fast, stopped on Ubuntu 12.04

So my server don’t want to run mysql and in syslog I can find multiple errors like miralem-ubuntu kernel: [ 882.914291] type=1400 audit(1384529343.038:33): apparmor=”STATUS” operation=”profile_replace” name=”/usr/sbin/mysqld” pid=268 Solution: Go to  /etc/mysql/my.cnf and change/or add : default-character-set = utf8 default-collation = utf8_general_ci to character_set_server = utf8 collation_server = utf8_general_ci After that you need to reconfigure your server […]

Read more

Quotes

 “Kad jedno određeno stanje počne da vas muči, da postaje neizdržljivo, nemojte stajati u mestu, jer bolje neće biti, još manje pomišljajte na bežanje natrag, jer se od toga pobeći ne može. Da biste se spasli, idite napred, terajte do vrhunca, do apsurda. Idite do kraja dok ne dotaknete dno, dok vam se ne ogadi. […]

Read more

Installing PHPUnit On Windows

Assuming you already have PHP and MySQL installed, here’s the steps you need to take. Install PEAR, a dependency for PHPUnit: Visit http://pear.php.net/go-pear.phar in your browser and save the file into your PHP directory. This is the folder where you can find php.exe. Open an administrator command prompt. On Vista or Windows 7, hit your Windows […]

Read more

Advanced Policy Firewall

Advanced Policy Firewall (APF) is an iptables(netfilter) based firewall system designed around the essential needs of today’s Linux servers. The configuration is designed to be very informative and easy to follow. The management on a day-to-day basis is conducted from the command line with the ‘apf’ command, which includes detailed usage information on all the […]

Read more