Das MySQL User Passwort ändern – Das MySQL Root Passwort ändern

Das Passwort eines MySQL Users oder von Root in der Kommandozeile zu ändern ist eigentlich ein ziemlich simpler Vorgang. Wer sein root Passwort vergessen hat – hier eine Anleitung zum zurücksetzen des MySQL root Passwort. MySQL User Passwort ändern MySQL User Passwort ändern – Variante 1) mysqladmin: In der Linux Shell folgenden Befehl eingeben um … Read more

Redirect the robots.txt in a multiple Domain used server path

In Order to use multiple domains on the same server path one solution is, to modify the apache mod_rewrite module and the .htaccess. Add the following code to your .htaccess:

Block google to read your contact site – Meta Tag robots noindex

in Order to block crawlers of the search engines like google from reading and indexing sites of your wordpress installation you may use the slug. If you want to block the site www.yourdomain.com/impressum/ for example you put the following code into your header:

if you use your own robots.txt, your may add the following … Read more

The Open Graph Viz Platform (Gephi)

Gephi is an interactive visualization and exploration platform for all kinds of networks and complex systems, dynamic and hierarchical graphs. Runs on Windows, Linux and Mac OS X. Gephi is open-source and free. Gephi is a tool for people that have to explore and understand graphs. Like Photoshop but for data, the user interacts with … Read more

HowTo: Tune your wordpress – these .htaccess tricks speed up your website!

Google PageSpeed Insights told you, that your wordpress website is too slow? Need better performance? These .htaccess settings for your apache speed up your website! What you have to do is simply tune up your htaccess, inject gzip and discard ballast. Gzip and Deflate Compression shrink overweight pounds of the website, as well as serve … Read more

Howto: Show and install php extensions on Ubuntu/Debian

You may review the available PHP extensions on your Debian/Ubuntu system by tipping in:

your output on a standard Ubuntu/Debian could looks like this:

To install new php modules on your Ubuntu/Debian, all you need to type in is:

If you need to check what is installed php-wise you can:

this … Read more

Linux: Count open socket connections

Get the process ID using ps faux:

Now you may count the open socket connections of the process (including child processes):

You may also want to count all socket connections with state: CLOSE_WAIT


How to size up PHP Upload Maximum via .htaccess

How to size up PHP Upload Maximum via .htaccess is pretty easy. This is very usefull for example if you run into your wordpress foto upload limit. Just add the following code to your .htaccess file in the web directory. (In this case up to 40 Megabyte)

the corresponding settings in the php.ini would … Read more