Get the Core temp with lm-sensors

install sensors with:

for the average core temp use this:

and max core temp:

Important is in sed to escape the ‘|’ in regex like ‘|’

Mysql Cache tuning

For tuning the mysql server you could use the MySQL Tuning Primer Script to tune you cache.

get the script from here.

then run the script with:

the result could look like this:

and edit your config:

Watching logs with Logwatch

For monitoring your logs you can use logwatch, to install use this:

and if you want to change the config this:

to run use this :

the result look like this :

Static IP in Linux

To make a static IP in Linux use this :

to change this:

to this:

then restart the network service:

Benchmark Your System (CPU, HDD, RAM) with sysbench/hdparm

At first install sysbench :

 

CPU

for CPU bench run :

Result:

 

HDD-Test1

prepare:

then test:

Result:

clean up:

 

HDD-Test2

Result:

 

RAM

Result: